Decision-support applications provide information for strategic planning, decision making, and report preparation. Decision-support applications frequently generate queries that require the database server to scan entire tables and manipulate large amounts of data. These queries can require operations such as multiple joins, temporary tables, and hundreds, if not thousands, of calculations. For example, the following queries should use the PDQ features of the database server:
Such operations require large amounts of data and large amounts of memory. As a result, the execution times for decision-support applications are far longer than the execution times required for typical OLTP applications. Other typical decision-support applications include payroll, inventory reporting, and end-of-period accounting reports. These applications are frequently executed in a batch environment.
Queries that contain one or more of the following operations require large quantities of memory:
Other factors can also influence how the database server allocates resources to a query. Consider the following SELECT statement:
SELECT col1, col2 FROM table1 ORDER BY col1
If no indexes exist on table1, a sort is required, and hence the database server must allocate memory and temporary disk space to sort the query. However, if column col1 is indexed, the query does not require these resources.
Decision-support applications have the following characteristics:
When both OLTP and decision-support queries are running on the same computer, the database server must balance its resources so that all users receive the best possible performance.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]