Home arrow MySQL arrow Page 4 - Introductory Database Theory: Systems And Design
MYSQL

Introductory Database Theory: Systems And Design


Before you can begin to design a database you must understand the underlying concepts and theories of why databases are used and how they are created. In this article, Steve gives us a great explanation of what a database is, the relational database model, metadata and indexes, the database management system and structured query language.

Author Info:
By: Steve Adcock
Rating: 4 stars4 stars4 stars4 stars4 stars / 38
January 19, 2002
TABLE OF CONTENTS:
  1. · Introductory Database Theory: Systems And Design
  2. · What is a database?
  3. · The relational model
  4. · Metadata and indexes
  5. · The DBMS and SQL
  6. · Conclusion

print this article
SEARCH DEVARTICLES

Introductory Database Theory: Systems And Design - Metadata and indexes
(Page 4 of 6 )

In short, Metadata describes the database. It is a table that describes all other tables, columns and rows within the database. Metadata is especially useful to analyze the database in a logical and understandable fashion, and allows new database administrators to get a feeling of the organization of that database fairly quickly.

You can think of metadata as a libraries catalog system, describing where books are located and in which sections. It does not contain the contents of each book; only information about where the book is located and some of its characteristics. Those who are familiar with programming can relate metadata to data dictionaries.

Similarly, indexes are used to show the relationships between data in different tables. Indexes improve the performance of the data because queries can simply search the index instead of the entire database. Let's take our congressmen/law example above and make a simple index.

Creating an index for our congressmen/law table

So, if we attempted to find out what laws that the congressmen with Con_ID 3 initiated, then instead of searching the entire database for every record with a Con_ID of 3, we can simply search the index and find one single record with the respective laws listed in the next column.
blog comments powered by Disqus
MYSQL ARTICLES

- MySQL and BLOBs
- Two Lessons in ASP and MySQL
- Lord Of The Strings Part 2
- Lord Of The Strings Part 1
- Importing Data into MySQL with Navicat
- Building a Sustainable Web Site
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- PhpED 3.2 More Features Than You Can Poke ...
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- Security and Sessions in PHP
- Setup Your Personal Reminder System Using PHP
- Create a IP-Country Database Using PERL and ...
- Developing a Dynamic Document Search in PHP ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials