CH13 DBMS Fib 2023-24-1
CH13 DBMS Fib 2023-24-1
Composite Key: one or more than one columns that uniquely identifies each tuple in a
relation is called composite key
Example: Student (slno, rollno, regno, name, combination, marks)
If rollno and regno keys can be considered as composite keys
File Organization:
a) Serial File Organization: in serial organization data is stored in the chronological order.
Records are arranged one after another in no particular order
b) Direct Access File Organization (Random File Organization):in direct file organization
data is stored randomly,
c) Sequential File Organization: Records are stored one after another in an ascending or
descending order determined by the key field of the records
d) ISAM (Indexed Sequential Access Method): is the hybrid sequential and direct access
file organization.
Aggregation: is a process when relation between two entity is treated as a single entity
Normalization: is the process of organizing data in a database.
There are a few rules for database normalization each rule is called a “normal form”
First Normal Form(1NF), Second Normal Form(2NF), Third Normal Form(3NF),
Boyce-Codd Normal Form (BCNF)
Abstraction Mechanisms: there are two abstraction mechanisms used to model the
information, 1) Generalization and 2) Specialization
1) Generalization: is a bottom-up approach in which to lower-level entities combine to form
a higher-level entity.
2) Specialization: “ is opposite to Generalization” is a top-down approach in which one
higher level entity can be broken down into two lower level entity.
Data Mining: The discovery of knowledge from the collected data is called data mining (or)
Data mining refers to extracting or mining knowledge from large amount of data
Data mining stages: selection, preprocessing, transformation, data mining, evolution
Data Mining software’s are SPSS, SAS, Think Analytics, G-Sat
Data Warehouse: A data warehouse is a repository of an organization’s electronically stored
data.
ETL(Extract, Transform, Loading)-ETL Tools(Informatica, Talend)
Client-Server Databases (Oracle, DB2, ISAM, Informix, Adabas, etc..)
PC-Databases (MS-Access, ESS(Spread Sheet/MS-Excel))
Components of Data warehouse: Data Sources, Data Transformation, Reporting, Metadata,
Operations
Metadata- “data about data” that describes the data warehouse.
It is used for building, maintaining, managing and using the data warehouse.
RDBMS (Relational Data Base Management System):
RDBMS Like MS-SQL Server, IBM DB2, Oracle, MySQL, and Sybase
The data in RDBMS is stored in database objects called Relation
The Relation (Table) is a Collection of rows(tuples) and columns(attributes)
SQL,RDBMS, DBMS, Field, Record, Relationship,
*****