Database Technology for Decision Support Systems

Database Technology for Decision Support Systems

COVER FEATURE Database Technology for Decision Support Systems Creating the framework for an effective decision support system— one that leverages business data from numerous discrete touch points— is a daunting but doable task. Surajit ecision support systems are the core of busi- • total footwear sales in New York City within the Chaudhuri ness IT infrastructures because they give past month by product family, Microsoft Research companies a way to translate a wealth of • the 50 cities with the highest number of unique business information into tangible and customers, and D lucrative results. Collecting, maintaining, • one million customers who are most likely to buy Umeshwar and analyzing large amounts of data, however, are the new Walk-on-Air shoe model. Dayal mammoth tasks that involve significant technical chal- Hewlett-Packard lenges, expenses, and organizational commitment. Before building a system that provides this decision Laboratories Online transaction processing systems allow orga- support information, FSC’s analysts must address and nizations to collect large volumes of daily business resolve three fundamental issues: Venkatesh point-of-sales data. OLTP applications typically auto- Ganti mate structured, repetitive data processing tasks such • what data to gather and how to conceptually Microsoft Research as order entry and banking transactions. This detailed, model the data and manage its storage, up-to-date data from various independent touch points • how to analyze the data, and must be consolidated into a single location before ana- • how to efficiently load data from several inde- lysts can extract meaningful summaries. Managers use pendent sources. this aggregated data to make numerous day-to-day business decisions—everything from managing inven- As Figure 1 shows, these issues correlate to a deci- tory to coordinating mail-order campaigns. sion support system’s three principal components: a data warehouse server, online analytical processing DECISION SUPPORT SYSTEM COMPONENTS and data mining tools, and back-end tools for popu- A successful decision support system is a complex lating the data warehouse. creation with numerous components. A fictitious busi- Data warehouses contain data consolidated from ness example, the Footwear Sellers Company, helps several operational databases and tend to be orders of illustrate a decision support system’s various compo- magnitude larger than operational databases, often nents. FSC manufactures footwear and sells through hundreds of gigabytes to terabytes in size. Typically, two channels—directly to customers and through the data warehouse is maintained separately from the resellers. FSC’s marketing executives need to extract organization’s operational databases because analyti- the following information from the company’s aggre- cal applications’ functional and performance require- gate business data: ments are quite different from those of operational databases. Data warehouses exist principally for deci- • the five states reporting the highest increases in sion support applications and provide the historical, youth product category sales within the past year, summarized, and consolidated data more appropriate 48 Computer 0018-9162/01/$17.00 © 2001 IEEE Figure 1. Decision support system Monitoring and administration architecture, Online analytical processing which consists of servers Analysis three principal Metadata components: a data repository warehouse server, analysis and data Data Back-end Query/reporting mining tools, and External sources warehouse tools data warehouse Operational server • Extract Serve back-end tools. databases • Transform • Load • Refresh Data mining Data sources Data marts Tools for analysis than detailed, individual records. The of units sold and the total amount the customer paid. workloads consist of ad hoc, complex queries that Each tuple in the fact table consists of a pointer to access millions of records and perform multiple scans, each entity in a transaction and the numeric measures joins, and aggregates. Query response times are more associated with the transaction. Each dimension table important than transaction throughput. consists of columns that correspond to the entity’s Because data warehouse construction is a complex attributes. Computing the join between a fact table process that can take many years, some organizations and a set of dimension tables is more efficient than instead build data marts, which contain information computing a join among arbitrary relations. for specific departmental subsets. For example, a mar- Some entities, however, are associated with hierar- keting data mart may include only customer, product, chies, which star schemas do not explicitly support. A and sales information and may not include delivery hierarchy is a multilevel grouping in which each level schedules. Several departmental data marts can coex- consists of a disjoint grouping of the values in the level ist with the main data warehouse and provide a par- immediately below it. For example, all products can tial view of the warehouse contents. Data marts roll be grouped into a disjoint set of categories, which are out faster than data warehouses but can involve com- themselves grouped into a disjoint set of families. plex integration problems later if the initial planning Snowflake schemas are a refinement of star schemas does not reflect a complete business model. in which a dimensional hierarchy is explicitly repre- Online analytical processing and data mining tools sented by normalizing the dimension tables. In the star enable sophisticated data analysis. Back-end tools— schema depicted in Figure 2, a set of attributes describes such as extraction, transformation, and load tools— each dimension and may be related via a relationship populate the data warehouse from external data hierarchy. For example, the FSC’s product dimension sources. consists of five attributes: the product name (Running Shoe 2000), category (athletics), product family (shoe), DATA WAREHOUSE price ($80), and the profit margin (80 percent). Most data warehouses use relational database tech- nology because it offers a robust, reliable, and effi- Physical database design cient approach for storing and managing large vol- Database systems use redundant structures such as umes of data. The most significant issue associated indices and materialized views to efficiently process with data warehouse construction is database design, complex queries. Determining the most appropriate set both logical and physical. Building a logical schema of indices and views is a complex physical design prob- for an enterprise data warehouse requires extensive lem. While index lookups and scans can be effective for business modeling. data-selective queries, data-intensive queries can require sequential scans of an entire relation or a relation’s ver- Logical database design tical partitions. Improving the efficiency of table scans In the star schema design, the database consists of and exploiting parallelism to reduce query response a fact table that describes all transactions and a dimen- times are important design considerations.1 sion table for each entity. For the fictitious FSC, each sales transaction involves several entities—a customer, Index structures and their usage a salesperson, a product, an order, a transaction date, Query processing techniques that exploit indices and the city where the transaction occurred. Each through index intersection and union are useful for transaction also has measure attributes—the number answering multiple-predicate queries. Index intersec- December 2001 49 Product ProdNo Category Order Name CategoryName Category CategoryDescr OrderNo Family OrderDate Fact table UnitPrice OrderNo ProfitMargin • update the materialized views during load and Customer SalespersonID refresh. CustomerNo CustomerNo Date Month Year CustomerName DateKey DateKey Month Because materialized views require extremely large CustomerAddress CityName Date Year amounts of space, currently adopted solutions only City ProdNo Month support a restricted class of structurally simple mate- Quantity TotalPrice rialized views. Salesperson City State SalespersonID CityName ONLINE ANALYTICAL APPLICATIONS SalespersonName State City In a typical online analytical application, a query Quota aggregates a numeric measure at higher levels in the dimensional hierarchy. An example is the first FSC marketing query that asks for a set of aggregate hier- Figure 2. Snowflake tions exploit multiple-condition selectivities and can archical measures—the five states reporting the high- schema for a the significantly reduce or eliminate the need to access est increases in youth product category sales within hypothetical base tables if all projection columns are available via the past year. State and year are ancestors of the city Footwear Sellers index scans. and date entities. Company. A set of The specialized nature of star schemas makes mas- In the context of the FSC data warehouse, a typical attributes describes ter-detail join indices especially attractive for decision OLAP session to determine regional sales of athletic each dimension and support. While indices traditionally map the value in shoes in the last quarter might proceed as follows: is related via a rela- a column to a list of rows with that value, a join index tionship hierarchy. maintains the relationship between a foreign key and • The analyst issues a select sum(sales) group by its matching primary keys. In the context of a star country query to view

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us