






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Relationship ✔✔association between entities Types of relationships: ✔✔One-to-many: Each rep is associated with many customers. Each customer is associated with a single rep Database ✔✔structure that can store information about different categories of information and relationships between those categories Database Management System (DBMS) ✔✔program, or collection of programs, through which users interact with a database; can create forms and reports Advantages of database processing: ✔✔Getting more information from the same amount of data Sharing data Balancing conflicting requirements Controlling redundancy Facilitating consistency Expanding security Increasing productivity Providing data independence Disadvantages of database processing: ✔✔Larger file size Increased complexity Greater impact of failure More difficult recovery
Rules of a Relation ✔✔Two-dimensional table in which: Entries are normalized Each column has a distinct name (attribute name) All values in a column are values of the same attribute Order of columns is immaterial Each row is distinct Order of rows is immaterial Attribute ✔✔characteristic or property of an entity (field/column) Primary Key ✔✔column or collection of columns of a table (relation) that uniquely identifies a given row in that table Foreign key ✔✔field(s) whose value is required to match the value of the primary key for a second table Relational database ✔✔collection of relations or tables Basic relational algebra operations: ✔✔SELECT-retrieves certain rows from an existing table (based on criteria) and saves them as a new table (includes WHERE) PROJECT-causes only certain columns to be included in the new table (includes OVER) JOIN-two tables being joined Structure of an SQL query: ✔✔SELECT-FROM-WHERE Use of compound conditions in WHERE statements: ✔✔connecting two or more simple conditions using one or both (AND/OR) Use of LIKE: ✔✔include in the WHERE clause
DROP TABLE ✔✔DROP TABLE SmallCust Concept of stored procedures: ✔✔Special file used to store a query that is run often Placed on the server Improves overall performance Convenience ****Access does not support store procedures. Concept of triggers: ✔✔Action that occurs automatically in response to an associated database operation Stored and compiled on the server Using Access macros for triggers: ✔✔****Access does not support triggers
Concurrency Control ✔✔ensures accuracy when several users update database at the same time Recovery ✔✔returning database to a correct state from an incorrect state Security ✔✔prevention of unauthorized access, either intentional or accidental, to a database Data Integrity ✔✔rules followed to ensure data is accurately and consistently updated Data Independence ✔✔can change database structure without needing to change programs that access the database Utility Services ✔✔assist in general database maintenance What happens without concurrency control: ✔✔ Role of locking in concurrency control: ✔✔Usually more limited than locking facilities on enterprise DBMSs Programs can lock entire table or individual row within a table, but only one or the other Programs can release any or all of the locks they currently hold Programs can inquire whether a given row or table is locked Role of time-stamps in concurrency control: ✔✔DBMS assigns each database update a unique time when update started Problem of deadlock: ✔✔Two users hold a lock and require a lock on the resource that the other already has To minimize occurrence, make sure all programs lock records in the same order whenever possible Why do you need recover: ✔✔backup or save a copy of database
How journaling is used for recovery: ✔✔maintaining a log of all updates Encryption ✔✔converts data to a format indecipherable to another program and stores it in an encrypted format Authorization ✔✔specify which users have what type of access to which data Authentication ✔✔techniques for identifying the person attempting to access the DBMS Privacy ✔✔right of individuals to have certain information about them kept confidential Types of data integrity features: ✔✔Data type Legal values Format Distributed Database Management Systems (DDBMSs) ✔✔supports and manipulates single logical database physically divided among networked computers Client/Server Systems ✔✔file server architecture Ways databases are accessed on the Web: ✔✔Web page Web server Web client Web browser Ways databases are accessed from data warehouses: ✔✔through Online Transaction Processing (OLTP) systems How data warehouses are organized: ✔✔Subject-oriented, integrated, time-variant, nonvolative collection of data in support of management's decision-making process
Advantages of client/server systems: ✔✔Lower network traffic Improved processing distribution Thinner clients Greater processing transparency Increased network, hardware, and software transparency Improved security Decreased costs Increase scalability