WordPress database error: [UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_options`]
UPDATE `wpf9_options` SET `option_value` = 'a:2:{s:7:\"timeout\";i:1755784758;s:5:\"value\";s:71:\"{\"success\":true,\"license\":\"valid\",\"expires\":\"01.01.2030\",\"features\":[]}\";}' WHERE `option_name` = '_elementor_pro_license_v2_data'

WordPress database error: [INSERT, UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_options`]
INSERT INTO `wpf9_options` (`option_name`, `option_value`, `autoload`) VALUES ('_site_transient_timeout_wp_theme_files_patterns-eb1c7d3ed03deb96f1a66a0911ff6daa', '1755739758', 'off') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

WordPress database error: [INSERT, UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_options`]
INSERT INTO `wpf9_options` (`option_name`, `option_value`, `autoload`) VALUES ('_site_transient_wp_theme_files_patterns-eb1c7d3ed03deb96f1a66a0911ff6daa', 'a:2:{s:7:\"version\";s:5:\"1.0.0\";s:8:\"patterns\";a:0:{}}', 'off') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

WordPress database error: [INSERT, UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_options`]
INSERT INTO `wpf9_options` (`option_name`, `option_value`, `autoload`) VALUES ('_site_transient_timeout_wp_theme_files_patterns-039e6043cc0084adc526716c8f2b5c7c', '1755739758', 'off') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

WordPress database error: [INSERT, UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_options`]
INSERT INTO `wpf9_options` (`option_name`, `option_value`, `autoload`) VALUES ('_site_transient_wp_theme_files_patterns-039e6043cc0084adc526716c8f2b5c7c', 'a:2:{s:7:\"version\";s:6:\"4.11.5\";s:8:\"patterns\";a:0:{}}', 'off') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

WordPress database error: [INSERT, UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_options`]
INSERT INTO `wpf9_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_doing_cron', '1755737958.9567210674285888671875', 'on') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

WordPress database error: [INSERT, UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_options`]
INSERT INTO `wpf9_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_timeout_astra-theme-cron-test-ok', '1755741559', 'off') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

WordPress database error: [INSERT, UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_options`]
INSERT INTO `wpf9_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_astra-theme-cron-test-ok', '1', 'off') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

Data Models II - ClassNotes.ng

WordPress database error: [UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_postmeta`]
UPDATE `wpf9_postmeta` SET `meta_value` = '{\"timeout\":1755827959,\"value\":{\"content\":\"\\t\\t<header class=\\\"elementor-section elementor-top-section elementor-element elementor-element-295c81b6 elementor-section-content-middle elementor-section-height-min-height elementor-section-boxed elementor-section-height-default elementor-section-items-middle\\\" data-id=\\\"295c81b6\\\" data-element_type=\\\"section\\\" data-settings=\\\"{&quot;background_background&quot;:&quot;classic&quot;}\\\">\\n\\t\\t\\t\\t\\t\\t<div class=\\\"elementor-container elementor-column-gap-default\\\">\\n\\t\\t\\t\\t\\t<div class=\\\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-3d9c0b7e\\\" data-id=\\\"3d9c0b7e\\\" data-element_type=\\\"column\\\">\\n\\t\\t\\t<div class=\\\"elementor-widget-wrap elementor-element-populated\\\">\\n\\t\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t<\\/div>\\n\\t\\t\\t\\t<div class=\\\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-323691f6\\\" data-id=\\\"323691f6\\\" data-element_type=\\\"column\\\">\\n\\t\\t\\t<div class=\\\"elementor-widget-wrap elementor-element-populated\\\">\\n\\t\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t<\\/div>\\n\\t\\t\\t\\t<div class=\\\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-1c40d2cc\\\" data-id=\\\"1c40d2cc\\\" data-element_type=\\\"column\\\">\\n\\t\\t\\t<div class=\\\"elementor-widget-wrap elementor-element-populated\\\">\\n\\t\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t<\\/div>\\n\\t\\t\\t\\t<div class=\\\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-44fff459\\\" data-id=\\\"44fff459\\\" data-element_type=\\\"column\\\">\\n\\t\\t\\t<div class=\\\"elementor-widget-wrap elementor-element-populated\\\">\\n\\t\\t\\t\\t\\t\\t<div class=\\\"elementor-element elementor-element-3c0ad012 elementor-align-center elementor-tablet-align-right elementor-widget__width-auto elementor-widget elementor-widget-button\\\" data-id=\\\"3c0ad012\\\" data-element_type=\\\"widget\\\" data-widget_type=\\\"button.default\\\">\\n\\t\\t\\t\\t<div class=\\\"elementor-widget-container\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"elementor-button-wrapper\\\">\\n\\t\\t\\t\\t\\t<a class=\\\"elementor-button elementor-button-link elementor-size-sm elementor-animation-shrink\\\" href=\\\"https:\\/\\/classnotes.ng\\/register\\/\\\">\\n\\t\\t\\t\\t\\t\\t<span class=\\\"elementor-button-content-wrapper\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<span class=\\\"elementor-button-text\\\">Register<\\/span>\\n\\t\\t\\t\\t\\t<\\/span>\\n\\t\\t\\t\\t\\t<\\/a>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<div class=\\\"elementor-element elementor-element-15bd4a3 elementor-align-right elementor-tablet-align-right elementor-widget__width-auto elementor-widget elementor-widget-button\\\" data-id=\\\"15bd4a3\\\" data-element_type=\\\"widget\\\" data-widget_type=\\\"button.default\\\">\\n\\t\\t\\t\\t<div class=\\\"elementor-widget-container\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"elementor-button-wrapper\\\">\\n\\t\\t\\t\\t\\t<a class=\\\"elementor-button elementor-button-link elementor-size-sm elementor-animation-shrink\\\" href=\\\"https:\\/\\/classnotes.ng\\/login\\/\\\">\\n\\t\\t\\t\\t\\t\\t<span class=\\\"elementor-button-content-wrapper\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<span class=\\\"elementor-button-text\\\">Login<\\/span>\\n\\t\\t\\t\\t\\t<\\/span>\\n\\t\\t\\t\\t\\t<\\/a>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t<\\/header>\\n\\t\\t\",\"scripts\":[],\"styles\":[]}}' WHERE `post_id` = 10597 AND `meta_key` = '_elementor_element_cache'

Data Models II

 

Welcome to class! 

In today’s class, we will be talking more about data models. Enjoy the class!

Data Models II

Data Models | classnotes.ng

Types of data modelling

Flat model:

The flat Model (or Table) model consists of a single, two-dimensional array of data elements, where all members of a given column are assumed to be similar in values, and all member of a row are assumed to be related to one another.

Flat model

Route No. Miles Activities
RECORD 1 1 – 95 12 Overlay
RECORD 2 1 -495 05 Parching
RECORD 3 SR – 301 33 Crack Seal
Hierarchical model:

In a hierarchical database, data is organized into an upside-down tree-like structure, implying a single upward link in each record to describe the nesting, and a sort field to keep the records in a particular order in each same-level list. Hierarchical structures were widely used in the early mainframe database management systems.

Hierarchical Model

Network model:

This model organizes data using two fundamental constructs, called records and sets. Records contain fields, and sets define one-to-many relationships between records: one owner, many members.

Network Model

Evaluation

  1. Differentiate between Hierarchical and Network Model.
  2. Explain Flat data model.
Relational model:

The relational model or relational database model is based on first-order predicate logic. Its core idea is to describe a database as a collection of predicates over a finite set of predicate variables, describing constraints on the possible values and combinations of values.

Object-relational model:

The object-relational model is similar to the relational database model, but objects, classes and inheritance are directly supported in database schemas and the query language. An object-relational database can be said to provide a middle ground between relational databases and object-oriented databases (OODBMS).

Star schema:

The star schema is the simplest style of data warehouse schema. The star schema consists of a few “fact table” (possibly only one, justifying the name) referencing any number of dimension tables”. The star schema is considered an important special case of the snowflake schema.

General evaluation
  1. List and explain the types of a data model.
  2. With the aid of a chart, using the school setting as a case study, explain Network model.

Reading assignment

Data Processing for Senior Secondary Education by HiiT Plc. Chapter One pages 56

Weekend assignment

  1. List and explain four types of database model
  2. Define the following; Data, Field, record, File.

 

In our next class, we will be talking about Data Modelling.  We hope you enjoyed the class.

Should you have any further question, feel free to ask in the comment section below and trust us to respond as soon as possible.

2 thoughts on “Data Models II”

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!!

WordPress database error: [INSERT, UPDATE command denied to user 'u337987201_wp440'@'localhost' for table `u337987201_wp440`.`wpf9_lifterlms_sessions`]
INSERT INTO wpf9_lifterlms_sessions ( `session_key`, `data`, `expires` ) VALUES ( '9a97893642bfba4078e3122504c4b866', 'a:1:{s:12:\"llms_notices\";s:6:\"a:0:{}\";}', 1755759551 ) ON DUPLICATE KEY UPDATE `data` = VALUES ( `data` ), `expires` = VALUES ( `expires` )