According to syllabus, students must be able to:
DBMS is a collection of programs that enables users to create, operate and maintain a database.
Data: Data is a collection of raw facts and figures which is isolated, un-interpreted, unrelated, and unorganized, but able to organize into useful information.
Information: Information is the processed data i.e. after processing the data we can get information. Information is the data arranged in an order that is useful to people who receive it.
Database: A database is a collection of interrelated data of a certain place or person or things in such a way that it can be easily accessed by an application program like DBMS.
Database System: A database system consists of a collection of interrelated data and a set of application programs to access, update and manage the data.
Uses of database application:
S.N | DDL | S.N | DML |
---|---|---|---|
1. | DDL is a computer language that is used to create and modify the structure of database objects in a database. | 1. | DML is a computer language that is used to add, delete and modify data in a database. |
2. | DDL commands affects the database or the table. | 2. | DML commands affect one or more records in a table. |
3. | DDL commands are CREATE, DROP, ALTER, TRUNCATE, RENAME etc. | 3. | DML commands are SELECT, INSERT, UPDATE, DELETE etc. |
4. | These SQL statements cannot be rolled back. | 4. | These SQL statements can be rolled back. |
5. | Low cost | 5. |
- Entity: An entity is a name of thing or person or object in the real world that is distinguishable from all other objects. For eg: student, employee, book etc.
- Attribute: The properties that characterize an entity set are called its attribute. For eg: sutdent_id, student_name etc
- Relationship: Relationship is the association between entities. They are: One-to-one, one-to-many, many-to-one, many-to-many
- Key: Key is an attribute that is used to identify a particular record in a database. Types of keys are: Candidate key, Primary key, Super key, Alternate key, Foreign key
S.N | Centralized Database System | S.N | Distributed Database System |
---|---|---|---|
1. | Data reside in a single location. | 1. | Data reside in several locations. |
2. | Files are kept on the basis of the location of disk drives and names |
2. | Files are kept on the basis of names rather than location. |
3. | It does not contain several sites or nodes. | 3. | It contains several computers(sites) and communicates with one another through communication media. |
4. | No risk of data loss | 4. | High risk of data theft, hacking etc. |
No comments
If you have any doubts, Please let me know,