Professional Documents
Culture Documents
7/26/2021 7/26/2021
1 2
1 2
7/26/2021 7/26/2021
3 4
3 4
1
10/20/2021
7/26/2021 7/26/2021
9 11
▪ It provides protection and security to the database. In the case of multiple users, it also • MariaDB
• Microsoft SQL
maintains data consistency.
Server etc.
10 12
5 6
5 6
7/26/2021 7/26/2021
▪ For uniform data administration (Picture, Audio, Video clips, Voice, Sound, messages)
▪ For concurrent access to data, and data recovery from crashes (maps, weather data, satelliteimages)
13 15
University Database
16
14
7 8
7 8
2
10/20/2021
7/26/2021 7/26/2021
17 19
What is RDBMS
▪ All modern database management systems like SQL, MS SQL Server, IBM DB2, ORACLE,
My-SQL and Microsoft Access are based on RDBMS.
RDBMS 20
9 10
9 10
7/26/2021 7/26/2021
▪ Due to a collection of organized set of tables, data can be accessed easily in RDBMS
21 23
▪ The RDBMS database uses tables to store data. A table is a collection of related data
entries and contains rows and columns to storedata.
24
22
11 12
11 12
3
10/20/2021
7/26/2021 7/26/2021
▪ A primary key constrain is a column or group of columns that uniquely identifies every row
in the table of the relational database management system. It cannot be a duplicate,
meaning the same value should not appear more than once in thetable.
25 27
▪ The main aim of the primary key is to identify each and every record in the database table
▪ You can use a primary key when you do not allow someone to enter null values
▪ If you delete or update records, the action you specified will be undertaken to make sure
data integrity
▪ Perform restrict operation to rejects delete or update operation for the parent table.
24 24
13 14
13 14
7/26/2021 7/26/2021
▪ Foreign keys help you to migrate entities using a primary key from the parent table.
in a parent table.
31
29
▪ A foreign key is a key used to link two tables together. This is sometimes also called as a
referencing key. A Foreign Key is a column or a combination of columns whose values
match a Primary Key in a different table.
30 32
15 16
15 16
4
10/20/2021
7/26/2021 7/26/2021
Cont. Cont.
33 35
Update Operation
32 32
17 18
17 18
7/26/2021 7/26/2021
Delete Operation
Select Operation
37
The Database Approach to Data Management
Examples
✓ Designing Databases
• Conceptual (logical) design: Abstract model from business perspective
• Physical design: How database is arranged on direct-access storagedevices
✓ Normalization
• Streamlining complex groupings of data to minimize redundant data elements and
awkward many-to-many relationships
32 32
19 20
19 20
5
10/20/2021
7/26/2021 7/26/2021
2. Data mining
43
41
21 22
21 22
7/26/2021 7/26/2021
• Data warehouse:
✓ Stores current and historical data from many core operational
transaction systems
✓ Consolidates and standardizes information for use across enterprise, but data
cannot be altered
✓ Data warehouse system will provide query, analysis, and reporting tools
• Data marts:
✓ Subset of data warehouse
✓ Summarized or highly focused portion of firm’s data for use by specific
population of users
✓ Typically focuses on single subject or line of business
45
47
• Business Intelligence:
-Tools for consolidating, analyzing, and providing access to vast amounts of data
to help users make better business decisions
48
46
23 24
23 24
6
10/20/2021
7/26/2021 7/26/2021
49 51
50 52
25 26
25 26
7/26/2021 7/26/2021
53
52
27 28
27 28