Professional Documents
Culture Documents
SQL Important Difference - Landscape
SQL Important Difference - Landscape
DBMS provides a crash recovery mechanism, i.e., DBMS protects the File system doesn't have a crash mechanism, i.e., if the system crashes while
3
user from the system failure. entering some data, then the content of the file will lost.
4 DBMS provides a good protection mechanism. It is very difficult to protect a file under the file system.
DBMS contains a wide variety of sophisticated techniques to store
5 File system can't efficiently store and retrieve the data.
and retrieve the data.
In the File system, concurrent access has many problems like redirecting
DBMS takes care of Concurrent access of data using some form of
6 the file while other deleting some information or updating some
locking.
information.
7 Redundancy is control in DBMS Redundancy not control in file system
8 Unauthorized access is restricted in DBMS Not in the file system
9 DBMS provide back up and recovery Data lost in file system can't be recovered.
10 DBMS provide multiple user interfaces Data is isolated in file system.
A database management system coordinates both the physical and
11 file-processing system coordinates only the physical access.
the logical access to the data
A database management system is designed to allow flexible access A file-processing system is designed to allow predetermined access to data
12
to data (i.e. queries) (i.e. compiled programs).
A database management system is designed to coordinate multiple A file-processing system is usually designed to allow one or more
13
users accessing the same data at the same time. programs to access different data files at the same time.
8 OVER clause is not used here. We can use the SQL PARTITION BY clause with the OVER clause to
specify the column on which we need to perform aggregation.
Insertion There is no limitation in inserting the values into the table While inserting any value in the foreign key table, ensure that
10
Limitation column. the value is present into a column of a primary key.
Before you delete a primary key value, make sure that value is You can delete a value from foreign key column without
Deletion
11 not still present in the referencing foreign key column of bothering, whether that value is present in referenced primary
Limitation
referencing table. key column of referenced relation.
***************************