Introduction to Database
Database is a collection of information in a structured way. We can say that it is a collection of agroup of facts and processed information’s.Databases store informationin fields, records, andfiles. A field is a single piece of information—a customer’sfirst name, for example. A record isone complete set of fields—the customer’sfirst name, last name, address, phone number, andaccount information. And a fileis a collection of records—a complete list of all customers.
File System
The file system that comes with your computer is a very primitive kind of database managementsystem. Data are kept in big unstructured named clumps called
files
. A flat file database is adatabase designed around a single table. The flat file design puts all database information in onetable, or list, with fields to represent all parameters. A flat file may contain many fields, often, withduplicate data that are prone to data corruption. If you decide to merge data between two flat files,you need to copy and paste relevant information from one file to the other. There is no automation between flat files.
Database Management System (DBMS)
To use information contained in a database, you need a Database ManagementSystem (DBMS), acollection of software programs that let you to enter, organize,and select information stored in thedatabase. Each column in a database tablecontains a different type of attribute and each rowcorresponds to a single record.For example, in a table of customers, the columns might includename, address,phone number, and account information; each row is a separate customer.The most typical DBMS is a Relational Database Management System (RDBMS). An RDBMSstores information in tables of rows and columns. The relationships between table data can becollated, merged and displayed in database forms. Most relational databases offer functionality toshare data across networks over the Internet
DBMS vs. File Systems
Databases management systems (DBMS's -- Oracle, SQL,)have certain features that you can't getwith a flat file.1.
Speed
.
Modern DBMS's have very advanced routines forgetting you data as quickly as possible.2.
Management of relational entities
. DBMS's are good at storing data aboutmultiple,related entities.3.
Transaction and update guarantees
. DBMS's allow you to protect your data-- back itup, be able to roll back unwanted transactions, ensure that a setof operations on data executesatomically, etc.4.
Data Security
.
Database provide different level of securities by having password to accessdifferent level of database which is not provided with file systems
Leave a Comment