Lecture 1
Lecture 1
CONCEPTS
• Imagine you’re starting up an online book retail company. How will
customer orders be recorded? Will customers be able to search for products
by name or keywords? Will you be able to analyze sales information to track
profits, determine product success, and target marketing efforts to customers?
Analyzing thousands of orders could take days without using a database. A
database simplifies these tasks because it’s a storage structure that provides
mechanisms for recording, manipulating, and retrieving data.
A database management system (DBMS) is used to create and maintain the
structure of a database, and then to enter, manipulate, and retrieve the data it
stores. Creating an efficient database design is the key to using a database
effectively to support an organization’s business operations.
• While collecting customer information, a series of characters is identified for each item. A character is the basic
unit of data, and it can be a letter, number, or special symbol.
• A group of related characters (for example, the characters that make up a customer’s name) is called a field. A
field represents one attribute or characteristic (the name, for instance) of the customer. A collection of fields
about one customer (for example, name, address, city, state, and zip code) is called a record. A group of records
about the same type of entity (such as customers or inventory items) is stored in a file. A collection of
interrelated files—such as those relating to customers, their purchases, and their payments—is stored in a
database. These terms relate to the logical database design, but they are often used interchangeably with the
terminology for the physical database design. When creating the physical database, a field is commonly
referred to as a column, a record is called a row, and a file is known as a table. A table is quite similar to a
spreadsheet, in that it contains columns and rows.
DATABASE MANAGEMENT SYSTEM
As mentioned earlier, a database is housed in a DBMS, which provides the functionality
to create and work with a database. This functionality includes the following:
Data storage: Manage the physical structure of the database.
Security: Control user access and privileges.
Multiuser access: Manage concurrent data access.
Backup: Enable recovery options for database failures.
Data access language: Provide a language that allows database access.
Data integrity: Enable constraints or checks on data.
Data dictionary: Maintain information about database structure
DATABASE DESIGN