Database
Database
You can think of a traditional database as an electronic filing system, organized by fields, records,
and files. A field is a single piece of information; a record is one complete set of fields; and a file
is a collection of records. For example, a telephone book is analogous to a file. It contains a list of
records, each of which consists of three fields: name, address, and telephone number.
An alternative concept in database design is known as Hypertext. In a Hypertext database, any
object, whether it be a piece of text, a picture, or a film, can be linked to any other object. Hypertext
databases are particularly useful for organizing large amounts of disparate information, but they
are not designed for numerical analysis.
Database, also called electronic database, any collection of data, or information, which is specially
organized for rapid search and retrieval by a computer. Databases are structured to facilitate the
storage, retrieval, modification, and deletion of data in conjunction with various data-processing
operations. A database management system (DBMS) extracts information from the database in
response to queries.
Database Components
Data is organized into rows, columns and tables, and it is indexed to make it easier to find relevant
information. Data gets updated, expanded and deleted as new information is added. Databases
process workloads to create and update themselves, querying the data they contain and running
applications against it. Computer databases typically contain aggregations of data records or files,
such as sales transactions, product catalogs and inventories, and customer profiles.
Typically, a database manager provides users with the ability to control read/write access, specify
report generation and analyze usage. Some databases offer ACID (atomicity, consistency, isolation
and durability) compliance to guarantee that data is consistent and that transactions are complete.
A database is made up of several main components.
Schema - A database contains one or more schemas, which is basically a collection of one or
more tables of data.
Table - Each table contains multiple columns, which are similar to columns in a spreadsheet. A
table can have as little as two columns and as many as one hundred or more columns, depending
on the type of data being stored in the table.
Column - Each column contains one of several types of data or values, like dates, numeric or
integer values, and alphanumeric values (also known as varchar).
Row - Data in a table is listed in rows, which are like rows of data in a spreadsheet. Often there
are hundreds or thousands of rows of data in a table.
Types of database:
What is a relational database?
A relational database is based on the model invented by IBM’s E.F. Codd in the 1970s. Relational
databases, use Structured Querying Language (SQL) and can manage a variety of transaction-
oriented applications. They present data in tabular form (i.e. as a collection of tables with each
table consisting of a set of columns and rows) and provide relational operators to manipulate data
in tabular form.
Today, many enterprise database management systems employ relational databases, but they can
handle a minimal amount of data types, and are more difficult to scale.
Centralised database
Users from different locations can access this database from a remote location at the central
database, that store entire information and application programs at a central computing facility for
processing. The application programs pick up the appropriate data from the database based on the
transactions sent by the communications controller for processing the transaction.
Data validation and verification is carried out by the application programs at the central computer
centre, and a registration number is allotted by the application programs located at the central
facility. The local area office keeps on recording it and hardly does any processing.
Operational database
This is more of a basic form of data that contain information relating to the operations of an
enterprise. Generally, such databases are organised on functional lines such as marketing,
production, employees, etc.
Commercial database
This is a database that contains information which external users may require. However, they will
not be able to afford maintaining such huge database by themselves. It’s a paid service to the user
as the databases are subject specific. The access to commercial database can be given through
commercial links.
Personal database
The personal databases are maintained, generally, on personal computers. They contain
information that is meant for use only among a limited number of users, generally working in the
same department.
Distributed database
These databases have contributions from the common databases as well as the data captured from
the local operations. The data remains distributed at various sites in the organization. As the sites
are linked to each other with the help of communication links, the entire collection of data at all
the sites constitutes the logical database of the organization.
Arguments
Binary [ ( n ) ] Fixed-length binary data with a length of n bytes, where n is a value from 1 through
8,000. The storage size is n bytes.
Varbinary [ ( n | max) ] Variable-length binary data. n can be a value from 1 through 8,000. max
indicates that the maximum storage size is 2^31-1 bytes. The storage size is the actual length of
the data entered + 2 bytes. The data that is entered can be 0 bytes in length. The ANSI SQL
synonym for varbinary is binary varying.
Remarks
When n is not specified in a data definition or variable declaration statement, the default length is
1. When n is not specified with the CAST function, the default length is 30.
Problems
• Maintaining a huge Biometric database may cause scalability problems
• Matching time increases with the increase in database sizes
• Biometric data has no natural ordering
• Matching should be fast for a real-time system
Tight Integration
Use the RDBMS for storage of templates as well as for performing the match
Users use SQL queries directly against database tables
Loose Integration
Biometric data is loaded from a database table into memory
Matching done on custom-built memory-based structures
Results in fast matching
The solution is memory-bound
Further scalability, achieved by using Server Farms
Vendor-centric solution
Cannot be easily extended to support multi-model systems
Tight Integration
Template matching is implemented within the RDBMS and performed using SQL.
Allows Biometric Vendor to exploit full capabilities of RDBMS including:
Security
Scalability and availability
Parallelism