Database concepts and MySQL Flashcards
What is a database?
It is an organized collection of information that can be stored or searched. The information is logically related.
What are the advantages of database?
The advantages of database are:
1. Reduces data redundancy (duplication)
2. Controls data inconsistency
3. Data sharing is possible
4. To ensure data security
5. Integrity can be maintained through database
What are the disadvantages of database?
The following are the disadvantages of database:
1. Security may be compromised without good controls
2. Integrity may be compromise without good controls
3. Extra hardware may be required
4. More memory is required
5. Extra software may be required
6. The system is likely to be complex.
What is data inconsistency?
Multiple copies of the same data that don’t match, is called data inconsistency. Whenever the common data needs an edit (Ex: Change in address or phone number), the same needs to be edited at multiple places else it will lead to data inconsistency.
What is data redundancy?
Same data is stored in multiple places which is time consuming and wastage of memory. The repetition of data is called as data redundancy.
What is DBMS?
Database management system is a software that allows us to create, define, and manipulate data in a database. Ex: Oracle of MySQL
The user interacts back in forth with DBMS and DMBS interacts back in forth with the database.
What is RDBMS?
Relation Data Base Managment System
What is the database language?
The database language is SQL or Structured Query Language.
What is Database Schema?
It is a design or skeleton of database that is used to represent structure, types of data that will be stored in rows and columns, constraints and relationship between tables.
What are Data constraints?
Data constraints are restrictions on the table. They are defined when we create a table.
What is Metadata/Data Dictionary?
Metadata is known as the data of the data or the database schema along with different constraints on the data stored by DBMS in dictionary is known as metadata
What is a Database instance?
The situation where data is stored in the database at a particular moment of time is called an instance. An instance is also called a current state or database state. In a database, a database instance is used to define the complete database environment and its components.
What is a Query?
A query is used to access data from the database so users have to write queries to retrieve or manipulate data form the database.
What is data manipulation?
In a database we can manipulate data using three operations: Insertion, deletion and updation
What is a data engine?
It is a underlying software component that is used to create various databases