the most appropriate.
Design the physical database structures.
Clustering, partitioning, indexing, and appropriately placing the datasets are
the four most important characteristics of physical database design. The
database administrator should cluster the most frequently used tables in order
to reduce the disk arm movement. He or she must also determine where to
place the datasets and how to partition tables across multiple disks. Finally, he
or she has to select an index strategy.
4.
Build the BI target databases.
The physical databases are built when the data definition language (DDL) is run
against the DBMS. The database administrator uses the DDL to describe the
database structures (e.g., storage groups, database partitions) to the DBMS.
Database security is established when the data control language (DCL) is run
against the DBMS. In standard relational databases, security is imposed at the
table or view level. Because of the dimensional nature of BI target databases,
the capability to drill down into detail data, sometimes across databases,
presents an often-overlooked security risk.
Grant database authority either to individuals or to groups into which
individuals have been assigned. Managing security on an individual level can
quickly become a maintenance nightmare, which is why most organizations
prefer to set up group identifiers (group IDs). Each group ID is granted some
form of create, read, update, delete (CRUD) access to the tables. An audit trail
can then show which specific "user ID" under which group ID accessed the
database. If there is a breach of security, the "infiltrator" can often be located
through this audit trail.
5.
Develop database maintenance procedures.
Once the database goes into production, it will be important to set aside time
for taking database backups or reorganizing fragmented tables. Therefore,
establish procedures to address database maintenance functions.
6.
Prepare to monitor and tune the database designs.
Once the BI application is implemented, the BI target databases have to be
monitored and tuned. The best database design does not guarantee continued
good performance, partly because tables become fragmented and partly
because actual usage of the BI target databases changes over time. Monitor
performance of queries at runtime with a performance-monitoring utility that
has diagnostic capabilities. It does not help to know that performance has
degraded without knowing the causes. Diagnosing performance problems is
usually much harder than discovering them.
7.
Prepare to monitor and tune the query designs.
Since performance is such a challenge on BI applications, you must explore all
tricks of the trade to address this problem. Parallel query execution is one of
those tricks that could boost query performance.
8.
Figure 8.4. Database Design Activities