Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Extensible Storage Engine wikipedia , lookup
Mass surveillance wikipedia , lookup
Concurrency control wikipedia , lookup
Microsoft Jet Database Engine wikipedia , lookup
Open Database Connectivity wikipedia , lookup
Clusterpoint wikipedia , lookup
Relational model wikipedia , lookup
•••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• RELATIONAL DATABASE MODEL •••••• – logical collection of information you organize and access according to the logical structure of the information Relational database – uses a series of twodimensional tables or files to store information in the form of a database Database © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Databases Are… •••••• Collections of information Created with logical structures With logical ties within the information With built-in integrity constraints © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Databases – Collections of Information •••••• Databases have many tables Solomon Enterprises as a concrete provider. Tables include: Order Customer Concrete Type Employee Truck © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Databases – Collections of Information •••••• © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Databases – Created with Logical Structures •••••• In databases, row numbers are irrelevant In databases, columns have logical names such as Order Date and Customer Name Data dictionary – contains the logical structure of the information in a database © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Databases – Logical Ties within the Information •••••• Logical ties must exist between the tables Logical ties are created with primary and foreign keys Primary key – field (or group of fields in some cases) that uniquely describe each record © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Databases – Logical Ties within the Information •••••• key – primary key of one file that appears in another file Foreign keys help create relationships among tables Table = file = relation (don’t confuse yourself) Foreign © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Databases – Logical Ties within the Information •••••• © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• •••••• Databases – Built-in Integrity Constraints constraint – rule that helps ensure the quality of information Examples Integrity Primary keys must be unique Foreign keys cannot be blank Sales price cannot be negative Phone numbers must have an area code © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• DBMS TOOLS •••••• management system (DBMS) – helps you specify the logical organization for a database and access and use the information within a database Database Word processing software = document Spreadsheet software = workbook DBMS software = database © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• DBMS TOOLS •••••• 5 software components 1. 2. 3. 4. 5. DBMS engine Data definition subsystem Data manipulation subsystem Application generation subsystem Data administration subsystem © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• DBMS TOOLS •••••• © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• DBMS Engine •••••• engine – accepts logical requests, converts them into their physical equivalent, and accesses the database and data dictionary DBMS engine separates the logical from the physical DBMS © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• DBMS Engine •••••• view – how information is arranged, stored, and accessed on a storage device Logical view – how you (knowledge worker) need to arrange and access information Databases – you work only with logical views Physical © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Data Definition Subsystem •••••• definition subsystem – helps you create and maintain the data dictionary and define the structure of the files in a database Must create data dictionary for a database before entering any information Extended Learning Module J covers this Data © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Data Manipulation Subsystem •••••• manipulation subsystem – helps you add, change, and delete information Primary interface between you and a database Data Views Report generators QBE tools SQL © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Views •••••• View – allows you to see the contents of a database file Similar to a spreadsheet view Make changes Sort Query © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Views •••••• Sort Find Add a new record © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Report Generators •••••• generator – helps you quickly define formats of reports and what information you want to see in a report Save report formats to use later Uses a wizard interface Report © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Report Generators •••••• Specify the fields you want in a report Specify the layout of the report © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Report Generators •••••• © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• QBE Tools •••••• (QBE) tool – helps you graphically design the answer to a question “What driver most often delivers concrete to Triple A Homes?” Query-by-example © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• QBE Tools •••••• © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• SQL •••••• query language (SQL) – standardized fourth-generation language found in most DBMSs Performs same task as QBE Uses sentence structure instead Mostly used by IT people Structured © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Application Generation Subsystem •••••• generation subsystem – contains facilities to help you develop transaction-intensive applications Application Data entry screens (called forms in Access) Programming languages Mostly used by IT people © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Data Administration Subsystem •••••• administration subsystem – helps you manage the overall database environment Data Backup and recovery Security management Query optimization Concurrency control Change management © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Data Administration Subsystem •••••• Backup and recovery Periodically back up information Recover a database after a failure Security management Who has access to what information Who can perform CRUD tasks on information © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Data Administration Subsystem •••••• Query optimization Restructure physical view to optimize response times to queries Concurrency control What happens if two people simultaneously try to change the same information? © 2007 The McGraw-Hill Companies, Inc. All rights reserved. •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • •••••• ••••• ••••• ••••• ••• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• •• •••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• ••••• • • • • • McGraw-Hill ••••• Data Administration Subsystem •••••• Change management What is the effect of structural changes to a database? What if you add a new column? What happens if you delete a column? What happens if you change a column’s attributes? © 2007 The McGraw-Hill Companies, Inc. All rights reserved.