Intro and Understanding Databases Flashcards
What are databases?
They are structured systems that allows us to impose our own rules on stored data to suit our needs
Why do you want a database?
Allow us to:
- Scale data stores
- Make data accessible
- Make data accurate
- Make data more secure
- Make data consistent
- Make data permanent
What problems can arise WITHOUT a database?
- Size - stored data can rapidly grow and a lack of database can make it difficult to manage this data
- Ease of updating - file based data storage systems can be slow and inconvenient
- Accuracy of data - Data can be incorrectly added/inconsistent/untrustworthy
- Security of data - Data can be sensitive and only some people should be given access and logs may be needed
- Redundancy - Redundancy between data stores is good BUT can lead to conflicts between different data stores
- Importance of the data - Key data can be lost and be VERY detrimental to company/project
Common database management systems (DBMS)
Oracle SQL Servers MySQL PostgreSQL MongoDB
DIfference between a database and a database management system (DBMS)?
The database management system (DBMS) is installed on a personal computer or server.
The database is created within DBMSs and it is your data
DIfference between a database and a database management system (DBMS)?
The database management system (DBMS) is installed on a personal computer or server. It is the program or set of programs that surround and manage the database to ensure that the constriants applied to database are applied.
The database is created within DBMSs and it is your data and rules imposed on this data.
One DBMS can manage MULTIPLE databases
Database managment systems can be categorised into different types
Relational DBMS (Oracle, SQL Server, DB2, MySQL, PostgreSQL, SQLite, MS Access)
Hierarchical DBMS
Network DBMS
Object-Oriented DBMS
NoSQL DBMS (Cassandra, CouchDB, MongoDB)