Summary
Keywords
Full Transcript
A database system’s architecture is the internal components and how they work together. This includes: - Query processor – interprets and executes queries to retrieve or modify data. It also performs query optimization to make sure that the queries are performed efficiently - Storage manager – translates instructions from the query processor into low-level commands that the file system can understand for retrieving or modifying data. Indexes help the storage manager locate data faster. Transaction manager – makes sure that transactions are properly executed, without conflicts between concurrent transactions. In the event of a transaction or system failure, the transaction manager restores the database to a consistent state. Log file – A text file that contains records of all queries processed by the database. The log file is written by the transaction manager before they are committed or applied to the database. The transaction manager also uses log records to restore the database, in the case of a failure. Catalog or data dictionary – A directory of database tables, columns, indexes, and other objects. Database systems may have different components and capabilities. For example, some database systems do not support transactions and won’t have a transaction manager. Subscribe to Appficial for more programming videos coming soon. Also, don't forget to click LIKE and comment on the video if it helped you out!
