You are on page 1of 3

1 running this SQL statement will produce the LastName, FirstName, and EmailAddress for the two

selected students. 2. behind the form, the application processes the database in accordance with the
users’ actions. 3. The application Generates an SQL statement to insert, update, or delete data for any of
the tables that underlie this form. 4. The application then formats the query results as a report. 5. No
units should be removed from inventory, and the user should be notified. 6. Whatever the case, it is the
job of the application program to execute the Appropriate logic. 7. The application might direct the
DBMS, for example, to make a certain set of data changes as a unit. 8. given the importance of
Structured Query Language (SQL), we can refine our illustration of a database system. 9. The DBMS is a
large, complicated program that is licensed from a software vendor 10. The fourth component of a
database system, employ a database application to keep track of things.

Банк данных - это система специальным образом организованных данных (баз данных),
программных, технических, языковых, организационно-методических средств, предназначенных
для обеспечения централизованного накопления и коллективного многоцелевого использования
данных. В англоязычной литературе понятие, по сути близкое к банку данных, обозначается
термином система баз данных (англ. database system). База данных - именованная совокупность
данных, отражающая состояние объектов и их отношений в заданной предметной области.
Система баз данных включает следующие основные компоненты: данные, аппаратное
обеспечение, программное обеспечение, пользователи.

A data bank is a system of specially organized data (databases), software, technical, language,
organizational and methodological tools designed to ensure centralized accumulation and collective
multi-purpose use of data. In English literature, a concept that is essentially close to a data bank is
denoted by the term database system. A database is a named set of data that reflects the state of
objects and their relationships in a given subject area. A database system includes the following main
components: data, hardware, software, and users.

The DBMS

The DBMS, or database management system, creates, processes, and administers the database. A DBMS
is a large, complicated product that is almost always licensed from a software vendor. One DBMS
product is Microsoft Access. Other commercial DBMS products are Oracle Database and MySQL, both
from Oracle Corporation; SQL Server, from Microsoft; and DB2, from IBM. Dozens of other DBMS
products exist, but these five have the lion’s share of the market. Figure 1-12 lists the functions of a
DBMS.

СУБД

СУБД, или система управления базами данных, позволяет создавать, обрабатывать и управлять
базой данных. СУБД - это большой сложный продукт, который почти всегда лицензируется у
поставщика программного обеспечения. Одним из продуктов СУБД является Microsoft Access.
Среди других коммерческих продуктов СУБД выделяют Oracle Database и MySQL от Oracle
Corporation; SQL Server, от Microsoft; и DB2 от IBM. Существуют десятки других продуктов СУБД, но
эти пять занимают львиную долю рынка. На рис. 1-12 перечислены функции СУБД.

A DBMS is used to create a database and to create the tables and other supporting structures inside that
database. As an example of the latter, suppose that we have an EMPLOYEE table with 10,000 rows and
that this table includes a column, DepartmentName, that records the name of the department in which
an employee works. Furthermore, suppose that we frequently need to access employee data by
DepartmentName. Because this is a large database, searching through the table to find, for example, all
employees in the accounting department would take a long time. To improve performance, we can
create an index (akin to the index at the back of a book) for DepartmentName to show which employees
are in which departments. Such an index is an example of a supporting structure that is created and
maintained by a DBMS.

СУБД используется для создания базы данных и для создания таблиц и других вспомогательных
структур внутри этой базы данных. Проиллюстрируем последнее примером: предположим, что у
нас есть таблица EMPLOYEE, состоящая с 10 000 строк, и что эта таблица содержит столбец
DepartmentName, в котором указывается название отдела, в котором работает сотрудник. Кроме
того, предположим, что нам часто требуется получить данные о сотрудниках согласно
DepartmentName. Поскольку это большая база данных, поиск по таблице, например, для поиска
всех сотрудников отдела бухгалтерии займет много времени. Чтобы повысить
производительность, мы можем создать индекс (похожий на индекс в конце книги) для
DepartmentName, чтобы показать, какие сотрудники работают в каких отделах. Такой индекс
является примером вспомогательной структуры, которая создается и поддерживается СУБД.

The next two functions of a DBMS are to read and modify database data. To do this, a DBMS receives
SQL and other requests and transforms those requests into actions on the database files. Another DBMS
function is to maintain all the database structures. For example, from time to time it might be necessary
to change the format of a table or another supporting structure. Developers use a DBMS to make such
changes.

Следующими двумя функциями СУБД являются возможность считывать и изменять данные базы
данных. Для этого СУБД получает запросы SQL и другие виды запросов и преобразует их в
действия над файлами базы данных. Еще одна функция СУБД - поддерживать все структуры базы
данных. Например, время от времени может потребоваться изменить формат таблицы или другой
вспомогательной структуры. Разработчики используют СУБД для внесения таких изменений.

With most DBMS products, it is possible to declare rules about data values and have a DBMS enforce
them. For example, in the Student-Class-Grade database tables in Figure 1-3, what would happen if a
user mistakenly entered a value of 9 for StudentNumber in the GRADE table? No such student exists, so
such a value would cause numerous errors. To prevent this situation, it is possible to tell the DBMS that
any value of StudentNumber in the GRADE table must already be a value of StudentNumber in the
STUDENT table. If no such value exists, the insert or update request should be disallowed. The DBMS
then enforces these rules, which are called referential integrity constraints.

При работе с большинством продуктов СУБД есть возможность устанавливать правила для
значений данных и применять их в СУБД. Например, что произойдет в таблицах базы данных
Student-Class-Grade на рисунке 1-3, если пользователь по ошибке введет значение 9 для
StudentNumber в таблице GRADE? Такого студента не существует, поэтому такое значение может
привести к многочисленным ошибкам. Чтобы предотвратить эту ситуацию, можно дать СУБД
установку, что любое значение StudentNumber в таблице GRADE уже должно быть значением
StudentNumber в таблице STUDENT. Если такого значения не существует, запрос вставки или
обновления должен быть запрещен. СУБД применяет эти правила, которые называются
ограничениями ссылочной целостности.
The last three functions of a DBMS listed in Figure 1-12 have to do with database administration. A
DBMS controls concurrency by ensuring that one user’s work does not inappropriately interfere with
another user’s work. This important (and complicated) function is discussed in Chapter 9. Also, a DBMS
contains a security system that ensures that only authorized users perform authorized actions on the
database. For example, users can be prevented from seeing certain data. Similarly, users’ actions can be
confined to making only certain types of data changes on specified data.

Последние три функции СУБД, перечисленные на рис. 1-12, связаны с управлением базы данных.
Благодаря СУБД обеспечивается параллелизм действий пользователей, чтобы работа одного
пользователя не помешала работе другого пользователя образом. Эту важную (и сложную)
функция мы будем обсуждать в главе 9. Кроме того, в СУБД включена система безопасности,
которая гарантирует, что только авторизованные пользователи могут выполнять авторизованные
действия с базой данных. Например, пользователям может быть запрещено видеть
определенные данные. Аналогичным образом, действия пользователей могут ограничиваться
лишь внесением определенных изменений в конкретные данные.

Finally, a DBMS provides facilities for backing up database data and recovering it from backups, when
necessary. The database, as a centralized repository of data, is a valuable organizational asset. Consider,
for example, the value of a book database to a company such as Amazon.com.

Наконец, СУБД предоставляет возможности резервного копирования данных из баз данных и


восстановления их из резервных копий при необходимости. База данных, как централизованное
хранилище данных, является ценным организационным активом. Рассмотрим, например,
ценность базы данных с информацией о книгах для такой компании, как Amazon.com.

Because the database is so important, steps need to be taken to ensure that no data will be lost in the
event of errors, hardware or software problems, or natural or human catastrophes.

Поскольку базы данных несут большую ценность, необходимо предпринять определенных


действия, чтобы избежать потерю данных в случае ошибок, аппаратных или программных
проблем, природных или человеческих катастроф.

You might also like