<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8918575817281442983</id><updated>2011-11-27T17:14:14.068-08:00</updated><title type='text'>Learn DBMS Free - Do it your self !</title><subtitle type='html'>Learn DBMS fast and quickly...
Self learning course...
Free of Charge...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-8114513327839949056</id><published>2009-07-30T06:02:00.000-07:00</published><updated>2009-07-30T06:16:53.673-07:00</updated><title type='text'>Physical Database Design-Purpose of the physical database design</title><content type='html'>- Process of producing a description of the implementation of the database on secondary storage; it describes the base  relations, file organizations, and indexes used to achieve efficient access to the data, and any associated integrity constraints and security measures.&lt;br /&gt;- Does not include implementing files and databases ( i.e. creating them and loading data into them)&lt;br /&gt;- It produce technical specifications use during the implementation phase&lt;br /&gt;- The database can be single centralized or multiple distributed sites (here single centralized only)&lt;br /&gt;- Physical database design is critical. Decisions made during this stage have a major impact on data accessibility, response times, securing and user friendliness&lt;br /&gt;- Database administration plays a major role in physical database design.&lt;br /&gt;- In most situations, many physical database design decisions are implicit or eliminated when you choose the database management technologies.&lt;br /&gt;- Since many organizations have standards for OS, DBMS, and data access languages, you must deal only with those choices.&lt;br /&gt;- The primary goal of physical database design is data processing efficiency.&lt;br /&gt;- With ever-decreasing costs for computer technology (both speed and space), it is important for you to design the physical database to minimize the time required by users to interact with the IS&lt;br /&gt;- Designing physical files and databases requires certain information:&lt;br /&gt;- Normalized relations, including volume estimates&lt;br /&gt;- Definitions of each attribute&lt;br /&gt;- Descriptions of where and when data are used: entered, retrieved, deleted, and updated (including frequencies)&lt;br /&gt;- expectations or requirements for response time and data security, backup, recovery, retention, and integrity&lt;br /&gt;- descriptions of the technologies (DBMS) used for implementing the database Physical database design requires several critical decisions that will affect the integrity and performance. These key decisions include:&lt;br /&gt;- Choosing the storage format (called data type) for each attribute from the logical data model. The format is chosen to minimize storage space and to minimize data integrity&lt;br /&gt;- Grouping attributes from the logical data model into physical records&lt;br /&gt;- Arranging similarly structured records in secondary memory (hard disk or any other means) so that individual or group of records (file organizations) can be stored, retrieved, and updated rapidly.&lt;br /&gt;Consideration must be given to protecting and recovering data after errors are found&lt;br /&gt;- Selecting structures (called indexes and database architectures) for storing and connecting files to make retrieving related data more efficient&lt;br /&gt;- Preparing strategies for handling queries against the database that will optimize performance and take advantage of the file organization and indexes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-8114513327839949056?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/8114513327839949056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/07/physical-database-design-purpose-of.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/8114513327839949056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/8114513327839949056'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/07/physical-database-design-purpose-of.html' title='Physical Database Design-Purpose of the physical database design'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-1290190476940647959</id><published>2009-07-19T05:08:00.000-07:00</published><updated>2009-07-19T07:03:03.595-07:00</updated><title type='text'>Relational Algebra Introduction</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Relational Query Languages&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Query languages: Allow manipulation and retrieval of data from a database.&lt;br /&gt;- Relational model supports simple, powerful QLs:&lt;br /&gt;• Strong formal foundation based on logic.&lt;br /&gt;• Allows for much optimization.&lt;br /&gt;- Query Languages != programming languages!&lt;br /&gt;• QLs not intended to be used for complex calculations.&lt;br /&gt;• QLs support easy, efficient access to large data sets.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Formal Relational Query Languages&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Two mathematical Query Languages form the basis for “real” languages (e.g. SQL), and for implementation:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Relational Algebra&lt;/span&gt;: More operational, very useful for&lt;br /&gt;representing execution plans.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Relational Calculus&lt;/span&gt;: Lets users describe what they&lt;br /&gt;want, rather than how to compute it. (Non-procedural,declarative.)&lt;br /&gt;&lt;br /&gt;Note: Understanding Algebra &amp;amp; Calculus is key to&lt;br /&gt;understanding SQL, query processing!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Preliminaries&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A query is applied to relation instances, and the&lt;br /&gt;result of a query is also a relation instance.&lt;br /&gt;• Schemas of input relations for a query are fixed (but&lt;br /&gt;query will run over any legal instance)&lt;br /&gt;• The schema for the result of a given query is also&lt;br /&gt;fixed. It is determined by the definitions of the query&lt;br /&gt;language constructs.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Relational Algebra: 5 Basic Operation&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;s&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_oQF_4HM9a0A/SmMSGYDkt1I/AAAAAAAAAwg/RR9mHhOeYY4/s1600-h/index71.gif"&gt;&lt;img style="cursor: pointer; width: 27px; height: 30px;" src="http://3.bp.blogspot.com/_oQF_4HM9a0A/SmMSGYDkt1I/AAAAAAAAAwg/RR9mHhOeYY4/s200/index71.gif" alt="" id="BLOGGER_PHOTO_ID_5360147882246977362" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oQF_4HM9a0A/SmMQtN4mPqI/AAAAAAAAAwI/H9l2W-AyHeU/s1600-h/index71.gif"&gt; &lt;/a&gt; Selection ( ): Selects a subset of rows from relation&lt;br /&gt;(horizontal).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_oQF_4HM9a0A/SmMSGcf0y9I/AAAAAAAAAwo/qANv4SLF7P8/s1600-h/index81.gif"&gt;&lt;img style="cursor: pointer; width: 34px; height: 28px;" src="http://3.bp.blogspot.com/_oQF_4HM9a0A/SmMSGcf0y9I/AAAAAAAAAwo/qANv4SLF7P8/s200/index81.gif" alt="" id="BLOGGER_PHOTO_ID_5360147883439213522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;- Projection ( ): Retains only wanted columns from relation&lt;br /&gt;(vertical).&lt;br /&gt;-&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_oQF_4HM9a0A/SmMSGvhW2xI/AAAAAAAAAww/88ybQZPfvho/s1600-h/index92.gif"&gt;&lt;img style="cursor: pointer; width: 32px; height: 35px;" src="http://2.bp.blogspot.com/_oQF_4HM9a0A/SmMSGvhW2xI/AAAAAAAAAww/88ybQZPfvho/s200/index92.gif" alt="" id="BLOGGER_PHOTO_ID_5360147888545913618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Cross-product ( ): Allows us to combine two relations.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oQF_4HM9a0A/SmMnbahJjgI/AAAAAAAAAw4/XJxvXfydp0Y/s1600-h/index15.gif"&gt;&lt;img style="cursor: pointer; width: 45px; height: 33px;" src="http://4.bp.blogspot.com/_oQF_4HM9a0A/SmMnbahJjgI/AAAAAAAAAw4/XJxvXfydp0Y/s200/index15.gif" alt="" id="BLOGGER_PHOTO_ID_5360171333429333506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;- Set-difference ( — ): Tuples in r1, but not in r2.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oQF_4HM9a0A/SmMSGG9KakI/AAAAAAAAAwY/lUVO3bLwVL0/s1600-h/index03.gif"&gt;&lt;img style="cursor: pointer; width: 42px; height: 36px;" src="http://4.bp.blogspot.com/_oQF_4HM9a0A/SmMSGG9KakI/AAAAAAAAAwY/lUVO3bLwVL0/s200/index03.gif" alt="" id="BLOGGER_PHOTO_ID_5360147877656685122" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;- Union ( ): Tuples in r1 or in r2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-1290190476940647959?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/1290190476940647959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/07/relational-algebra-introduction.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/1290190476940647959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/1290190476940647959'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/07/relational-algebra-introduction.html' title='Relational Algebra Introduction'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_oQF_4HM9a0A/SmMSGYDkt1I/AAAAAAAAAwg/RR9mHhOeYY4/s72-c/index71.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-2440873392457303631</id><published>2009-07-15T20:41:00.000-07:00</published><updated>2009-07-15T20:52:20.809-07:00</updated><title type='text'>The design process in DBMS  Further</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Storing information about&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- In this example the file is storing information about:&lt;br /&gt;• the staff members who attending courses&lt;br /&gt;• the departments in which those staff members work&lt;br /&gt;• the courses that are being offered&lt;br /&gt;• the actual attendance of an employee on a course&lt;br /&gt;&lt;br /&gt;- the above problems could be avoided if we can keep the&lt;br /&gt;information about each of these things separately, and then&lt;br /&gt;make cross-references where required (relational database approach)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Relational database approach &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- In a relational database, the data values held are&lt;br /&gt;stored in tables (an arrangement of rows and columns, just like a spread sheet)&lt;br /&gt;&lt;br /&gt;- one of the main advantage is its ability to set up and automatically maintain cross-references&lt;br /&gt;(relationships) between the tables.&lt;br /&gt;- the structure that hold the data is called a ‘relation’. Common term is table. A row is called a&lt;br /&gt;‘tuple’ and a column is called an ‘attribute’.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Dr.E.F.Codd&lt;/span&gt; invented these new words.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;A systematic approach to DB design  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- implementing large information system can be extremely complicated&lt;br /&gt;- break down the work into series of steps, and each step into manageable tasks.&lt;br /&gt;- the basic steps to be followed during the design and construction are as follows.&lt;br /&gt;• Decide what is the purpose of the DB&lt;br /&gt;• Determine the information requirements of the DB&lt;br /&gt;• Produce a logical model of the information requirements of DB&lt;br /&gt;• Convert the logical data model to a physical data model appropriate to the technology being used&lt;br /&gt;• Implement the physical design using the chosen method or product&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-2440873392457303631?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/2440873392457303631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/07/design-process-in-dbms-further.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/2440873392457303631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/2440873392457303631'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/07/design-process-in-dbms-further.html' title='The design process in DBMS  Further'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-3132493100493661655</id><published>2009-07-10T22:35:00.000-07:00</published><updated>2009-07-12T03:05:44.911-07:00</updated><title type='text'>Learn DBMS-Purpose of Database System</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;What is usefulness of the DBMS?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;- In the early days, database applications were built on top of &lt;span style="font-weight: bold;"&gt;file systems&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- &lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Drawbacks of using file systems to store data:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Data redundancy and inconsistency&lt;/span&gt;&lt;br /&gt;• Multiple file formats, duplication of information in different files&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  Difficulty in accessing data&lt;/span&gt;&lt;br /&gt;• Need to write a new program to carry out each new task&lt;br /&gt;Data isolation — multiple files and formats&lt;br /&gt;Integrity problems&lt;br /&gt;• Integrity constraints (e.g. account balance &gt; 0) become part of program code&lt;br /&gt;• Hard to add new constraints or change existing ones&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Atomicity of updates&lt;/span&gt;&lt;br /&gt;• Failures may leave database in an inconsistent state with partial updates carried out&lt;br /&gt;- E.g. transfer of funds from one account to another should either complete or not happen at all&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  Concurrent access by multiple users&lt;/span&gt;&lt;br /&gt;• Concurrent access needed for performance&lt;br /&gt;• Uncontrolled concurrent accesses can lead to inconsistencies&lt;br /&gt;- E.g. two people reading a balance and updating it at the same time&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  Security problems&lt;/span&gt;&lt;br /&gt;- Database systems offer solutions to all the above problems&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-3132493100493661655?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/3132493100493661655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/07/purpose-of-database-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/3132493100493661655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/3132493100493661655'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/07/purpose-of-database-system.html' title='Learn DBMS-Purpose of Database System'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-1895035658515302235</id><published>2009-07-06T20:16:00.000-07:00</published><updated>2009-07-12T03:03:51.288-07:00</updated><title type='text'>Logical Database Design and the Relational Model in DBMS</title><content type='html'>&lt;strong&gt;&lt;span style="font-size:130%;"&gt;What is Relational Model - Basic Definitions&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;- relational model represent the data in the form of tables&lt;br /&gt;- based on mathematical theory&lt;br /&gt;- consists of three components&lt;br /&gt;Data structure: Data are organized in the form of tables with rows and columns&lt;br /&gt;Data manipulation: powerful operations (using SQL) are used to manipulate data stored in the relations Data integrity: facilities are included to specify business rules&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;What is Relational Data Structure&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;- a relation is a named, two-dimensional table of data&lt;br /&gt;- can express the structure of a relation by a shorthand notation in which name of the relation is followed (in parentheses) by the name of the attributes in that relation&lt;br /&gt;- e.g. EMPLOYEE(Emp_ID,Name,Dept_Name,Salary)&lt;br /&gt;- Relational Keys: every relation must have a primary key&lt;br /&gt;- e.g. EMPLOYEE(Emp_ID,Name,Dept_Name,Salary)&lt;br /&gt;- a composite key is a primary key that consists of more than one attributes&lt;br /&gt;-E.g the primary key for a relation DEPENDENT would likely consists of the combination of Emp_Id and Dependent_Name&lt;br /&gt;- A foreign key : is an attributes (possibly composite) in a relation of a database that serve as the primary key of another relation in the same database.&lt;br /&gt;-E.g EMPLOYEE(Emp_ID,Name,Dept_Name,Salary), DEPARTMENT(Dept_Name,Location,Fax)&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;learn Properties of Relations&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;- not all the tables are relations&lt;br /&gt;- relations have several properties&lt;br /&gt;- unique name&lt;br /&gt;- an entry at the intersection of each row and column is atomic (or single valued)&lt;br /&gt;- each row is unique&lt;br /&gt;- each attribute within a table has a unique name&lt;br /&gt;- the columns of a relation can be interchanged without changing the meaning or use of the relation&lt;br /&gt;- the sequence of rows (top to bottom) is insignificant (can be interchanged)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;Example Database&lt;/span&gt; &lt;/strong&gt;&lt;br /&gt;- A relational database consists of any number of relations&lt;br /&gt;- The structure of the database is described through the use of conceptual Schema&lt;br /&gt;- Two common methods for expressing a (conceptual) schema&lt;br /&gt;- Short text statements: each relation is named and the names of its attributes follow in parentheses&lt;br /&gt;- A graphical representation: each relation is represented by a rectangle containing the attributes for the relation&lt;br /&gt;Text statements have the advantage of simplicity, while the graphical representation provides a better means of expressing referential integrity constraints.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5355554377595217298" style="margin: 0px auto 10px; display: block; width: 400px; height: 240px; text-align: center;" alt="" src="http://2.bp.blogspot.com/_oQF_4HM9a0A/SlLAVNvZ5ZI/AAAAAAAAAMM/KySC0IN8odE/s400/index11.gif" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;Text description for the relations&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;CUSTOMER(Customer_ID,Customer_Name,Address,City,State, Zip)&lt;br /&gt;ORDER(Order_ID,Order_Date,Customer_ID)&lt;br /&gt;ORDERLINE(Order_ID,Product_ID,Quantity)&lt;br /&gt;PRODUCT(Product_ID,Product_Description,Product_Finish,Unit_Price,On_H and)&lt;br /&gt;- The primary key for the ORDERLINE is a composite key.&lt;br /&gt;- Customer_ID is a foreign key in the ORDER relation; this allows the user to associate an order with the customer who submitted the order.&lt;br /&gt;- ORDERLINE has two foreign keys; Order_ID and Product_ID; these keys allow the user to associate each line on an order with the relevant order and product&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-1895035658515302235?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/1895035658515302235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/07/logical-database-design-and-relational.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/1895035658515302235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/1895035658515302235'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/07/logical-database-design-and-relational.html' title='Logical Database Design and the Relational Model in DBMS'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_oQF_4HM9a0A/SlLAVNvZ5ZI/AAAAAAAAAMM/KySC0IN8odE/s72-c/index11.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-5174475142990222092</id><published>2009-06-29T05:43:00.000-07:00</published><updated>2009-07-12T03:06:59.915-07:00</updated><title type='text'>Learn The design process In DBMS</title><content type='html'>&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;Where do databases come from?&lt;/span&gt;&lt;/strong&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;- There may be an manual system that has reached the limits of its usefulness&lt;br /&gt;- processing requirements of the organization may have proved to be beyond the capabilities of flat file system&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;Why is database design important?&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;- Look at the following Excel spreadsheet currently used Look at the following Excel spreadsheet currently used by ABC Ltd to store its course information.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5352731458027510802" style="margin: 0px auto 10px; display: block; width: 400px; height: 90px; text-align: center;" alt="" src="http://2.bp.blogspot.com/_oQF_4HM9a0A/Ski45q3J3BI/AAAAAAAAAIc/n2xJM9kNofQ/s400/index11.gif" border="0" /&gt; - need to keep record of staff members who attend each course&lt;br /&gt;- uses a list on Excel worksheet, simple arrangement (rows and columns)&lt;br /&gt;- single table&lt;br /&gt;- it may be better to break it up into separate lists, but lack the ability to hold cross-reference in Excel.&lt;br /&gt;- Columns headed Atendee1 name and Atendee1&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;Problems with this approach&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;Redundant data&lt;/strong&gt;  &lt;/div&gt;&lt;div&gt;- each time that staff member attends a course it is necessary to record their department.&lt;br /&gt;- This redundancy could be avoided if information about the staff member could be held in a separate list that could be crossreferenced.&lt;br /&gt;- each row contains a code for the course as well as its title. This redundancy could be avoided if information about the course could be held in a separate list that could be cross-referenced.&lt;br /&gt;- redundant data should not be confused with duplicate values.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;Inflexibility Inflexibility&lt;br /&gt;&lt;/strong&gt;- it is necessary to impose arbitrary limits on its uses&lt;br /&gt;- waste of storage space&lt;br /&gt;- the ways that can analyse the data in this example are limited.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Limited sharing of data&lt;/strong&gt;  &lt;/div&gt;&lt;div&gt;- file is manipulated as a single unit.&lt;br /&gt;- it is not possible for more than one user to update the data in&lt;br /&gt;the same file at the same time.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;No inherent control for data quality&lt;/strong&gt;&lt;br /&gt;- In flat file systems, it is necessary to write logic into an  application to ensure the quality of the data&lt;br /&gt;- such application logic may have to be rewritten every time the  design of the file is changed  &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;Changing the data can lead to unexpected results&lt;/strong&gt;  &lt;/div&gt;&lt;div&gt;- update anomaly , ‘every occurrences should be updated&lt;br /&gt;- insertion anomaly,  ‘difficult to find missing data ’&lt;br /&gt;- deletion anomaly,  ‘loss all the information when it deleted'&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-5174475142990222092?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/5174475142990222092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/06/design-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/5174475142990222092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/5174475142990222092'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/06/design-process.html' title='Learn The design process In DBMS'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_oQF_4HM9a0A/Ski45q3J3BI/AAAAAAAAAIc/n2xJM9kNofQ/s72-c/index11.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-3859562840832279871</id><published>2009-06-25T06:16:00.000-07:00</published><updated>2009-07-12T03:09:05.648-07:00</updated><title type='text'>Learn to Create  Data Model in DBMS E-R model</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;The Entity Relationship Model&lt;/span&gt;&lt;/span&gt; &lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;in DBMS&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- The Entity-Relationship model is a set of concepts and graphical symbols that can be used to create conceptual schemas&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Versions/ Evolution of the E-R Model&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- Original E-R model by Peter Chen (1976)&lt;br /&gt;- Extended E-R model (1986): added subtypes, now the most widely used E-R model&lt;br /&gt;- Information Engineering/IE model (also called the Crow’s Foot model) developed by James Martin in 1990&lt;br /&gt;- IDEF1X (1994) : national standard by the National Institute of Standards and Technology&lt;br /&gt;- Additionally:&lt;br /&gt;Unified Modeling Language (UML) Style E-R Models&lt;br /&gt;Semantic Object Data Models (SOMs)&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;The Four Major Components of the E-R Model  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;• Entities (really entity sets)&lt;br /&gt;• Attributes&lt;br /&gt;• Relationships&lt;br /&gt;• Identifiers&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_oQF_4HM9a0A/SkN7zMxEb4I/AAAAAAAAAB0/N-Yx3235iOs/s1600-h/index.2.gif"&gt; &lt;/a&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;The Geometric Symbols in an E-R Model&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;- Entities are represented by rectangles.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_oQF_4HM9a0A/SkN8EsfWONI/AAAAAAAAAB8/RKcseV3mVsE/s1600-h/index.2.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 121px; height: 68px;" src="http://2.bp.blogspot.com/_oQF_4HM9a0A/SkN8EsfWONI/AAAAAAAAAB8/RKcseV3mVsE/s320/index.2.gif" alt="" id="BLOGGER_PHOTO_ID_5351257202350242002" border="0" /&gt;&lt;/a&gt;- Attributes are represented by ovals, that are connected to the entity by a straight line.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_oQF_4HM9a0A/SkN9RVXrdjI/AAAAAAAAACM/CcyRIKqhsdg/s1600-h/index+3.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 100px; height: 60px;" src="http://2.bp.blogspot.com/_oQF_4HM9a0A/SkN9RVXrdjI/AAAAAAAAACM/CcyRIKqhsdg/s320/index+3.gif" alt="" id="BLOGGER_PHOTO_ID_5351258518993991218" border="0" /&gt;&lt;/a&gt;- Relationships are represented by diamond shaped&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oQF_4HM9a0A/SkN9wX4NwII/AAAAAAAAACU/PUC_bPNQAmw/s1600-h/index+4.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 121px; height: 53px;" src="http://4.bp.blogspot.com/_oQF_4HM9a0A/SkN9wX4NwII/AAAAAAAAACU/PUC_bPNQAmw/s320/index+4.gif" alt="" id="BLOGGER_PHOTO_ID_5351259052243271810" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Entity Sets&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-&lt;span style="font-weight: bold;"&gt; A database can be modeled as:&lt;/span&gt;&lt;br /&gt;• a collection of entities,&lt;br /&gt;• relationship among entities.&lt;br /&gt;- An entity is an object that exists and is distinguishable from other objects.&lt;br /&gt;• Eg. specific person, company, event, plant&lt;br /&gt;- Entities have attributes&lt;br /&gt;• Eg. people have names and addresses&lt;br /&gt;- An entity set is a set of entities of the same type that share the same properties.&lt;br /&gt;• Eg. set of all persons, companies, trees, holidays&lt;br /&gt;Note: There are usually many instances of an entity&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Entity Sets customer  and loan&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_oQF_4HM9a0A/SkOBnZFfZGI/AAAAAAAAACc/CYaWwi4hkMA/s1600-h/index+5.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 184px;" src="http://2.bp.blogspot.com/_oQF_4HM9a0A/SkOBnZFfZGI/AAAAAAAAACc/CYaWwi4hkMA/s400/index+5.jpg" alt="" id="BLOGGER_PHOTO_ID_5351263295995077730" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt; Attributes&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- An entity is represented by a set of attributes, that is descriptive properties possessed by all members of an entity set.&lt;br /&gt;- Description of the entity’s characteristics&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_oQF_4HM9a0A/SkODZVogdUI/AAAAAAAAACk/T6dX_4bAw4w/s1600-h/index+6.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 82px;" src="http://3.bp.blogspot.com/_oQF_4HM9a0A/SkODZVogdUI/AAAAAAAAACk/T6dX_4bAw4w/s400/index+6.gif" alt="" id="BLOGGER_PHOTO_ID_5351265253573293378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;- Domain – the set of permitted values for each attribute&lt;br /&gt;- Attribute types:&lt;br /&gt;• Simple and composite attributes.&lt;br /&gt;• Single-valued and multi-valued attributes&lt;br /&gt;E.g. multivalued attribute: phone-numbers&lt;br /&gt;• Derived attributes  Can be computed from other attributes&lt;br /&gt;E.g. age, given date of birth&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Composite Attribut&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;es  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_oQF_4HM9a0A/SkOE5H2QSYI/AAAAAAAAACs/2L0tAHX_3V4/s1600-h/index+7.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 134px;" src="http://2.bp.blogspot.com/_oQF_4HM9a0A/SkOE5H2QSYI/AAAAAAAAACs/2L0tAHX_3V4/s400/index+7.jpg" alt="" id="BLOGGER_PHOTO_ID_5351266899140299138" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-3859562840832279871?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/3859562840832279871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/06/creating-data-model.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/3859562840832279871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/3859562840832279871'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/06/creating-data-model.html' title='Learn to Create  Data Model in DBMS E-R model'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_oQF_4HM9a0A/SkN8EsfWONI/AAAAAAAAAB8/RKcseV3mVsE/s72-c/index.2.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-6885738398690810563</id><published>2009-06-18T01:01:00.000-07:00</published><updated>2009-07-16T00:25:10.201-07:00</updated><title type='text'>Who are the Database Users?</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Database Users &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- Users are differentiated by the way they expect to interact with the system&lt;br /&gt;- Application programmers – interact with system through DML calls&lt;br /&gt;- Sophisticated users – form requests in a database query language&lt;br /&gt;- Specialized users – write specialized database applications that do not fit into the traditional data processing framework&lt;br /&gt;- Naïve users – invoke one of the permanent application programs that have been written previously&lt;br /&gt;E.g. people accessing database over the web, bank tellers, clerical staff&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Database Administrator  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- Coordinates all the activities of the database system; the database administrator has a good understanding of the enterprise’s information resources and needs.&lt;br /&gt;- Database administrator's duties include:&lt;br /&gt;• Schema definition&lt;br /&gt;• Storage structure and access method definition&lt;br /&gt;• Schema and physical organization modification&lt;br /&gt;• Granting user authority to access the database&lt;br /&gt;• Specifying integrity constraints&lt;br /&gt;• Acting as liaison with users&lt;br /&gt;• Monitoring performance and responding to changes in requirements&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Transaction Management&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- A transaction is a collection of operations that performs a single logical function in a database application&lt;br /&gt;- Transaction-management component ensures that the database remains in a consistent (correct) state despite system failures (e.g., power failures and operating system crashes) and&lt;br /&gt;transaction failures.&lt;br /&gt;- Concurrency-control manager controls the interaction among the concurrent transactions, to ensure the consistency of the database.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Storage Management  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- Storage manager is a program module that provides the interface between the low-level data stored in the  database and the application programs and queries submitted to the system.&lt;br /&gt;- The storage manager is responsible to the following tasks:&lt;br /&gt;• interaction with the file manager&lt;br /&gt;• efficient storing, retrieving and updating of data&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Overall System Structure &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_oQF_4HM9a0A/Sjn4kz5S8eI/AAAAAAAAABM/M3eph_1tG3M/s1600-h/indexh1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 276px; height: 400px;" src="http://1.bp.blogspot.com/_oQF_4HM9a0A/Sjn4kz5S8eI/AAAAAAAAABM/M3eph_1tG3M/s400/indexh1.jpg" alt="" id="BLOGGER_PHOTO_ID_5348579343768678882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Application Architectures&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Two-tier architecture: E.g. client programs using ODBC/JDBC to communicate with a database&lt;br /&gt;Three-tier architecture: E.g. web-based applications, and applications built using “middleware”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oQF_4HM9a0A/Sjn5vCJMuDI/AAAAAAAAABU/QW9AptEczmA/s1600-h/indexi2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 229px;" src="http://4.bp.blogspot.com/_oQF_4HM9a0A/Sjn5vCJMuDI/AAAAAAAAABU/QW9AptEczmA/s400/indexi2.jpg" alt="" id="BLOGGER_PHOTO_ID_5348580618903795762" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-6885738398690810563?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/6885738398690810563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/06/database-users.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/6885738398690810563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/6885738398690810563'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/06/database-users.html' title='Who are the Database Users?'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_oQF_4HM9a0A/Sjn4kz5S8eI/AAAAAAAAABM/M3eph_1tG3M/s72-c/indexh1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-6290091981044811992</id><published>2009-06-15T22:45:00.000-07:00</published><updated>2009-07-12T03:10:58.102-07:00</updated><title type='text'>Language In use DBMS</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Data Definition Language (DDL)  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- Specification notation for defining the database schema&lt;br /&gt;• E.g. create table account (account-number char(10),&lt;br /&gt;                                                                                                                                            balance integer)&lt;br /&gt;- DDL compiler generates a set of tables stored in a data dictionary&lt;br /&gt;- Data dictionary contains metadata (i.e., data about data) database schema&lt;br /&gt;Data storage and definition language&lt;br /&gt;• language in which the storage structure and access methods&lt;br /&gt;used by the database system are specified&lt;br /&gt;• Usually an extension of the data definition language&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Data Manipulation Language (DML)  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- Language for accessing and manipulating the data organized by the appropriate data model&lt;br /&gt;• DML also known as query language&lt;br /&gt;- Two classes of languages&lt;br /&gt;• Procedural – user specifies what data is required and how to get those data&lt;br /&gt;• Nonprocedural – user specifies what data is required without specifying how to get those data&lt;br /&gt;- SQL is the most widely used query language&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;SQL &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- Developed at IBM research labs at San Lose, Ca. in 1970’s&lt;br /&gt;• D.Chamberlin was the leader in the research group&lt;br /&gt;- Dominant data base language on mainframe computers, but available on mini and PC based DBMS&lt;br /&gt;- ANSI (American National Standards Institute approved&lt;br /&gt;in 1992 (SQL 92); SQL 93 exists but not popular&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-6290091981044811992?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/6290091981044811992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/06/language-in-data-base.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/6290091981044811992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/6290091981044811992'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/06/language-in-data-base.html' title='Language In use DBMS'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-7116633747563902849</id><published>2009-06-15T10:21:00.000-07:00</published><updated>2009-06-18T05:45:25.262-07:00</updated><title type='text'>Use Of Data Base</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Uses of database  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- banking systems that keep information about customers and their accounts&lt;br /&gt;- point of sales systems in shops that process the purchase of goods&lt;br /&gt;- inventory systems&lt;br /&gt;- reservation systems for booking airline flights and other travels&lt;br /&gt;- payroll systems that process salaries and benefits&lt;br /&gt;- accounting systems that produce invoices, statements and other company accounts&lt;br /&gt;- manufacturing systems: many products are now produced by machines that are controlled by computers&lt;br /&gt;- Universities: registration, grades&lt;br /&gt;- Databases touch all aspects of our lives&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 0, 51);"&gt; &lt;span style="color: rgb(255, 153, 102);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Database Management System (DBMS)&lt;/span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- DBMS contains information about a particular enterprise&lt;br /&gt;- DBMS provides an environment that is both convenient and efficient to use.&lt;br /&gt;- &lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;computer software with the capability to store data in an integrated structured    format and to &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;enable users to retrieve, manipulate and manage the data&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-7116633747563902849?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/7116633747563902849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/06/uses-of-database-uses-of-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/7116633747563902849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/7116633747563902849'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/06/uses-of-database-uses-of-database.html' title='Use Of Data Base'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8918575817281442983.post-4292816632097047212</id><published>2009-06-15T08:11:00.000-07:00</published><updated>2009-06-25T05:52:25.187-07:00</updated><title type='text'>Introduction to Data Base</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:130%;"&gt;Keeping Records &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_oQF_4HM9a0A/SjaadSfLTiI/AAAAAAAAAAc/e9w8KJiKJXc/s1600-h/image_preview.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 239px;" src="http://1.bp.blogspot.com/_oQF_4HM9a0A/SjaadSfLTiI/AAAAAAAAAAc/e9w8KJiKJXc/s320/image_preview.jpg" alt="" id="BLOGGER_PHOTO_ID_5347631435518529058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;- &lt;span style="font-size:100%;"&gt;Mankind has bee&lt;/span&gt;&lt;span style="font-size:100%;"&gt;n keeping records since the dawn &lt;/span&gt;&lt;span style="font-size:100%;"&gt;of civilization (purely pictorial)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;   - then into the alphabetic systems&lt;br /&gt;- quantitative (num&lt;/span&gt;&lt;span style="font-size:100%;"&gt;e&lt;/span&gt;&lt;span style="font-size:100%;"&gt;rical and financial&lt;/span&gt;&lt;span style="font-size:100%;"&gt;) info&lt;/span&gt;&lt;span style="font-size:100%;"&gt;rmation &lt;/span&gt;&lt;span style="font-size:100%;"&gt;was kept in lists.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;  - later these lists to&lt;/span&gt;&lt;span style="font-size:100%;"&gt;ok on a more structured form (rows &lt;/span&gt;&lt;span style="font-size:100%;"&gt;and &lt;/span&gt;&lt;span style="font-size:100%;"&gt;columns) called ledger&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt; - these records were maintained by hand, usually on &lt;/span&gt;&lt;span style="font-size:100%;"&gt;paper, dozens of clerks&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;   - computer has changed all this&lt;br /&gt;- almost every organization now keeps its records in &lt;/span&gt;&lt;span style="font-size:100%;"&gt;electronic form and process them using a   computer &lt;/span&gt;&lt;span style="font-size:100%;"&gt;system&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;- army &lt;/span&gt;&lt;span style="font-size:100%;"&gt;of clerks is no longer required&lt;br /&gt;- introduction of the computer has led to major &lt;/span&gt;&lt;span style="font-size:100%;"&gt;changes in employment pa&lt;/span&gt;&lt;span style="font-size:100%;"&gt;ttern&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;  - employment pattern shift away from primary &lt;/span&gt;&lt;span style="font-size:100%;"&gt;industries (agriculture and manufac&lt;/span&gt;&lt;span style="font-size:100%;"&gt;turing) to service&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;  - this trend has been accelerated by the increasing &lt;/span&gt;&lt;span style="font-size:100%;"&gt;use of IT (computers and electronic communications)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;  - at the heart of these computerized information processing &lt;/span&gt;&lt;span style="font-size:100%;"&gt;systems you will find a &lt;span style="font-weight: bold;"&gt;DATABASE&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Data and Information&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_oQF_4HM9a0A/SjaYs_4HfjI/AAAAAAAAAAM/LTrsXJQVzrw/s1600-h/banner_imd.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 141px;" src="http://3.bp.blogspot.com/_oQF_4HM9a0A/SjaYs_4HfjI/AAAAAAAAAAM/LTrsXJQVzrw/s320/banner_imd.jpg" alt="" id="BLOGGER_PHOTO_ID_5347629506377514546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;What is Data?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;- individual facts a&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;bout something or somebody that have not &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;been organized (raw data)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;- a random collection&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt; of names and telephone numbers is just &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;data&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;What is Information?&lt;/span&gt;&lt;br /&gt;- data that has been organized in such a way as to be u&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;seful to &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;somebody&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;- the telephone directory contains information because it has &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;been organized&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;- information to one person in a particular circumstance may be &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;simply considered as data&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt; to another&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt; &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-size:130%;" &gt;Information processing  &lt;/span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Key aspects key aspects&lt;/span&gt;&lt;br /&gt;                                            - capturing d&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oQF_4HM9a0A/Sjac0XLybNI/AAAAAAAAAAk/hMuBgqtSuLs/s1600-h/home-c06.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 244px; height: 144px;" src="http://4.bp.blogspot.com/_oQF_4HM9a0A/Sjac0XLybNI/AAAAAAAAAAk/hMuBgqtSuLs/s320/home-c06.gif" alt="" id="BLOGGER_PHOTO_ID_5347634030939630802" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;t&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;a&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt; (f&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;o&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;rm&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;s for capturing data (forms for data capture )&lt;br /&gt;- storing data (tables for data storage) storing data (tables for data storage)&lt;br /&gt;- processing data (queries, macro and programs) processing data (queries, macro and programs)&lt;br /&gt;- communicating information (Reports for communicating communicating information (Reports for commun&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;icating &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;information)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;What is Data&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;base?&lt;/span&gt;&lt;br /&gt;- combination of software and data that are used to perform combination of software and data that are used to perform&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;above four key aspect of information processing above four key aspect of information processing&lt;br /&gt;- computers are not the only means of storing data an&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;d computers are not the only means of storing data and &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;producing information producing information&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;- An integrated collection of data organized to meet the An integrated collection of data or&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;ganized to meet the &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;needs of one or more users needs of one or more users&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Levels of Abstraction  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- Physical level describes how a record (e.g., &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;customer) is &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;stored.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;- Logical level: describes data stored in database, and the &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;relationships among the data.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;Eg.   type customer = record&lt;br /&gt;name : string;&lt;br /&gt;street : string;&lt;br /&gt;age : integer;&lt;br /&gt;end;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;- View level: application programs hide details of data types. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;Views can also &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;hide information (e.g. account balance) for&lt;/span&gt;&lt;/span&gt; &lt;span style="font-size:100%;"&gt;&lt;span&gt;security purposes.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Instances and Schemas  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- Similar to types and variables in programming languages&lt;br /&gt;- Schema – the logical structure of the database (a complete example will be given in SQL lecture)&lt;br /&gt;• e.g., the part of the bank database consists of information about a set of customers and accounts and the relationship between them)&lt;br /&gt;• Analogous to type information of a variable in a program&lt;br /&gt;• Physical schema: database design at the physical level&lt;br /&gt;• Logical schema: database design at the logical level&lt;br /&gt;- Instance – the actual content of the database at a particular point in time&lt;br /&gt;• Analogous to the value of a variable&lt;br /&gt;- Physical Data Independence – the ability to modify the physical schema without changing the logical schema&lt;br /&gt;• Applications depend on the logical schema&lt;br /&gt;• In general, the interfaces between the various levels and components should be well defined so that changes in some parts do not seriously influence others.&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;Data Models  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- A collection of tools for describing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;• data&lt;br /&gt;• data relationships&lt;br /&gt;• data semantics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;• data constraints&lt;br /&gt;- Entity-Relationship model (we will discuss in th&lt;/span&gt;&lt;span style="font-size:100%;"&gt;is module)&lt;br /&gt;- Relational model (we will discuss in this module)&lt;br /&gt;- Other models:&lt;br /&gt;• object-oriented model&lt;br /&gt;• semi-structured data models&lt;br /&gt;• Older models: network model and hierarchical model&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Entity Relati&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;onship model            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oQF_4HM9a0A/SkNyvcAdYdI/AAAAAAAAABs/HYvRaq_yaWY/s1600-h/index+1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 127px;" src="http://4.bp.blogspot.com/_oQF_4HM9a0A/SkNyvcAdYdI/AAAAAAAAABs/HYvRaq_yaWY/s400/index+1.jpg" alt="" id="BLOGGER_PHOTO_ID_5351246941543817682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:78%;"&gt;- E-R model of real world&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:78%;"&gt;Entities (objects)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:78%;"&gt;• E.g. street block,street,parcel&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:78%;"&gt;Relationships between entities&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:78%;"&gt;• Relationship set depositor associates customers with accounts&lt;br /&gt;- Widely used for database design&lt;br /&gt;• Database design in E-R model usually converted to design in the&lt;br /&gt;relational model which is used for storage and proc&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:78%;"&gt;essing&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8918575817281442983-4292816632097047212?l=dbms4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbms4u.blogspot.com/feeds/4292816632097047212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dbms4u.blogspot.com/2009/06/introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/4292816632097047212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8918575817281442983/posts/default/4292816632097047212'/><link rel='alternate' type='text/html' href='http://dbms4u.blogspot.com/2009/06/introduction.html' title='Introduction to Data Base'/><author><name>pathmasili</name><uri>http://www.blogger.com/profile/13798880373637838717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_oQF_4HM9a0A/SjaadSfLTiI/AAAAAAAAAAc/e9w8KJiKJXc/s72-c/image_preview.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
