on-line analytical processing (olap) is a category of software technology that enables analysts, managers and executives to gain insight into data through fast, consistent, interactive access to a wide variety of possible views of information that has been transformed from raw data to reflect the real dimensionality of the enterprise as understood by the user.
olap functionality is characterized by dynamic multi-dimensional analysis of consolidated enterprise data supporting end user analytical and navigational activities including: calculations and modeling applied across dimensions, through hierarchies and/or across members trend analysis over sequential time periods slicing subsets for on-screen viewing drill-down to deeper levels of consolidation reach-through to underlying detail data rotation to new dimensional comparisons in the viewing area
olap is implemented in a multi-user client/server mode and offers consistently rapid response to queries, regardless of database size and complexity. olap helps the user synthesize enterprise information through comparative, personalized viewing, as well as through analysis of historical and projected data in various "what-if" data model scenarios. this is achieved through use of an olap server.
olap server
an olap server is a high-capacity, multi-user data manipulation engine specifically designed to support and operate on multi-dimensional data structures. a multi- dimensional structure is arranged so that every data item is located and accessed based on the intersection of the dimension members which define that item. the design of the server and the structure of the data are optimized for rapid ad-hoc information retrieval in any orientation, as well as for fast, flexible calculation and transformation of raw data based on formulaic relationships. the olap server may either physically stage the processed multi-dimensional information to deliver consistent and rapid response times to end users, or it may populate its data structures in real-time from relational or other databases, or offer a choice of both. given the current state of technology and the end user requirement for consistent and rapid response times, staging the multi-dimensional data in the olap server is often the preferred method.
olap glossarydefined terms:aggregate analysis, multi-dimensional array, multi-dimensional calculated member cell children column dimension consolidate cube dense derived data derived members detail member dimension drill down/up formula formula, cross-dimensional generation, hierarchical hierarchical relationships horizontal dimension hypercube input members level, hierarchical member, dimension member combination missing data, missing value multi-dimensional data structure multi-dimensional query language navigation nesting (of multi-dimensional columns and rows) non-missing data olap client page dimension page display parent pivot pre-calculated/pre-consolidated data reach through roll-up rotate row dimension scoping selection slice slice and dice sparse vertical dimensiondefinitions:aggregate
see: consolidate
analysis, multi-dimensional
the objective of multi-dimensional analysis is for end users to gain insight into the meaning contained in databases. the multi-dimensional approach to analysis aligns the data content with the analyst's mental model, hence reducing confusion and lowering the incidence of erroneous interpretations. it also eases navigating the database, screening for a particular subset of data, asking for the data in a particular orientation and defining analytical calculations. furthermore, because the data is physically stored in a multi- dimensional structure, the speed of these operations is many times faster and more consistent than is possible in other database structures. this combination of simplicity and speed is one of the key benefits of multi-dimensional analysis.
array, multi-dimensional
a group of data cells arranged by the dimensions of the data. for example, a spreadsheet exemplifies a two-dimensional array with the data cells arranged in rows and columns, each being a dimension. a three-dimensional array can be visualized as a cube with each dimension forming a side of the cube, including any slice parallel with that side. higher dimensional arrays have no physical metaphor, but they organize the data in the way users think of their enterprise. typical enterprise dimensions are time, measures, products, geographical regions, sales channels, etc.
synonyms: multi-dimensional structure, cube, hypercube
calculated member
a calculated member is a member of a dimension whose value is determined from other members' values (e.g., by application of a mathematical or logical operation). calculated members may be part of the olap server database or may have been specified by the user during an interactive session. a calculated member is any member that is not an input member.
cell
a single datapoint that occurs at the intersection defined by selecting one member from each dimension in a multi-dimensional array. for example, if the dimensions are measures, time, product and geography, then the dimension members: sales, january 1994, candy bars and united states specify a precise intersection along all dimensions that uniquely identifies a single data cell, which contains the value of candy bar sales in the united states for the month of january 1994.
see: member combination
children
members of a dimension that are included in a calculation to produce a consolidated total for a parent member. children may themselves be consolidated levels, which requires that they have children. a member may be a child for more than one parent, and a child's multiple parents may not necessarily be at the same hierarchical level, thereby allowing complex, multiple hierarchical aggregations within any dimension.
column dimension
see: page display
consolidate
multi-dimensional databases generally have hierarchies or formula-based relationships of data within each dimension. consolidation involves computing all of these data relationships for one or more dimensions, for example, adding up all departments to get total division data. while such relationships are normally summations, any type of computational relationship or formula might be defined.
synonyms: roll-up, aggregate
see: formula, hierarchical relationships, children, parents
cube
see: array, multi-dimensional
dense
a multi-dimensional database is dense if a relatively high percentage of the possible combinations of its dimension members contain data values. this is the opposite of sparse.
derived data
derived data is produced by applying calculations to input data at the time the request for that data is made, i.e., the data has not been pre-computed and stored on the database. the purpose of using derived data is to save storage space and calculation time, particularly for calculated data that may be infrequently called for or that is susceptible to a high degree of interactive personalization by the user. the tradeoff is slower retrievals.
see: pre-calculated data
derived members
derived members are members whose associated data is derived data.
detail member
a detail member of a dimension is the lowest level number in its hierarchy.
see: level
dimension
a dimension is a structural attribute of a cube that is a list of members, all of which are of a similar type in the user's perception of the data. for example, all months, quarters, years, etc., make up a time dimension; likewise all cities, regions, countries, etc., make up a geography dimension. a dimension acts as an index for identifying values within a multi-dimensional array. if one member of the dimension is selected, then the remaining dimensions in which a range of members (or all members) are selected defines a sub-cube. if all but two dimensions have a single member selected, the remaining two dimensions define a spreadsheet (or a "slice" or a "page"). if all dimensions have a single member selected, then a single cell is defined. dimensions offer a very concise, intuitive way of organizing and selecting data for retrieval, exploration and analysis.
drill down/up
drilling down or up is a specific analytical technique whereby the user navigates among levels of data ranging from the most summarized (up) to the most detailed (down). the drilling paths may be defined by the hierarchies within dimensions or other relationships that may be dynamic within or between dimensions. for example, when viewing sales data for north america, a drill-down operation in the region dimension would then display canada, the eastern united states and the western united states. a further drill- down on canada might display toronto, vancouver, montreal, etc.
formula
a formula is a database object, which is a calculation, rule or other expression for manipulating the data within a multi-dimensional database. formulae define relationships among members. formulae are used by olap database builders to provide great richness of content to the server database. formulae are used by end users to model enterprise relationships and to personalize the data for greater visualization and insight.
formula, cross-dimensional
formulae with all operands within a dimension are common, even in non-olap systems: e.g., profit = sales - expense might appear in a simple spreadsheet product. in an olap system, such a calculation rule would normally calculate profit for all combinations of the other dimensions in the cube (e.g., for all products, for all regions, for all time periods, etc.) using the respective revenue and expense data from those same dimensions. part of the power of an olap system is the extensive multi-dimensional application of such a simply stated rule, which could be specified by the olap application builder or created by the end user in an interactive session. the true analytical power of an olap server, however, is evidenced in its ability to evaluate formulae where there are members from more than one dimension. an example is a multi-dimensional allocation rule used in business unit profitability applications. if, for example, a company has a business unit dimension and one of the business units (xyz) is funding a special advertising campaign for product a, and the other business units which also sell product a are willing to share the advertising costs in proportion to their sales of the product, then the formula would be:
advertising expense = (product a sales/total corporation product a sales) * advertising expense for product a for business unit xyz
here, advertising is from the measures dimension wherever it intersects with other dimensions (e.g., business unit, product), but product a sales is more specific; it is sales from the measures dimension restricted to the product a member from the product dimension. the advertising expense to be shared is the advertising expense for product a spent by business unit xyz that the business units which have non-zero sales of product a agreed to share. these references to several dimensions within the same rule make it a cross-dimensional formula.
generation, hierarchical
two members of a hierarchy have the same generation if they have the same number of ancestors leading to the top. for example, the top member of a dimension is from generation 1. there may be two or more members in generation 1 if there are multiple hierarchies in the dimension.
note: the terms generation and level are both necessary to describe sub-groups of dimension members, since, for example, although two siblings share the same parent and are therefore of the same generation, they won't be from the same level if one of the siblings has a child and the other doesn't.
synonyms: peer, sibling
see: level, hierarchical relationships, parent, children
hierarchical relationships
any dimension's members may be organized based on parent-child relationships, typically where a parent member represents the consolidation of the members which are its children. the result is a hierarchy, and the parent/child relationships are hierarchical relationships.
horizontal dimension
see: page display
hypercube
see: cube, array, multi-dimensional
input members
input members have values that are loaded directly from either manual entry or by accessing another computer-based data source, as opposed to being calculated from the raw data.
level, hierarchical
members of a dimension with hierarchies are at the same level if, within their hierarchy, they have the same maximum number of descendants in any single path below. for example, in an accounts dimension which consists of general ledger accounts, all of the detail accounts are level 0 members. the accounts one level higher are level 1, their parents are level 2, etc. it can happen that a parent has two or more children which are different levels, in which case the parent's level is defined as one higher than the level of the child with the highest level.
see: generation, hierarchical
member, dimension
a dimension member is a discrete name or identifier used to identify a data item's position and description within a dimension. for example, january 1989 or 1qtr93 are typical examples of members of a time dimension. wholesale, retail, etc., are typical examples of members of a distribution channel dimension.
synonyms: position, item, attribute
member combination
a member combination is an exact description of a unique cell in a multi-dimensional array, consisting of a specific member selection in each dimension of the array.
see: cell
missing data, missing value
a special data item which indicates that the data in this cell does not exist. this may be because the member combination is not meaningful (e.g., snowmobiles may not be sold in miami) or has never been entered. missing data is similar to a null value or n/a, but is not the same as a zero value.
multi-dimensional data structure
see: array, multi-dimensional
multi-dimensional query language
a computer language that allows one to specify which data to retrieve out of a cube. the user process for this type of query is usually called slicing and dicing. the result of a multi-dimensional query is either a cell, a two-dimensional slice, or a multi-dimensional sub-cube.
navigation
navigation is a term used to describe the processes employed by users to explore a cube interactively by drilling, rotating and screening, usually using a graphical olap client connected to an olap server.
nesting (of multi-dimensional columns and rows)
nesting is a display technique used to show the results of a multi-dimensional query that returns a sub-cube, i.e., more than a two-dimensional slice or page. the column/row labels will display the extra dimensionality of the output by nesting the labels describing the members of each dimension. for example, the display's columns may be:
january february march actual budget actual budget actual budget prod a prod b prod a prod b prod a prod b prod a prod b prod a prod b prod a prod b
these columns contain three dimensions, nested in the user's preferred arrangement. likewise, a report's rows may contain nested dimensions:
chocolate bars unit sales xxxx xxxx xxxx revenue xxxx xxxx xxxx margin xxxx xxxx xxxx fruit bars unit sales xxxx xxxx xxxx revenue xxxx xxxx xxxx margin xxxx xxxx xxxx
non-missing data
data which exists and has values, as opposed to null or missing data.
olap client
end user applications that can request slices from olap servers and provide two- dimensional or multi-dimensional displays, user modifications, selections, ranking, calculations, etc., for visualization and navigation purposes. olap clients may be as simple as a spreadsheet program retrieving a slice for further work by a spreadsheet- literate user or as high-functioned as a financial modeling or sales analysis application.
page dimension
a page dimension is generally used to describe a dimension which is not one of the two dimensions of the page being displayed, but for which a member has been selected to define the specific page requested for display. all page dimensions must have a specific member chosen in order to define the appropriate page for display.
page display
the page display is the current orientation for viewing a multi-dimensional slice. the horizontal dimension(s) run across the display, defining the column dimension(s). the vertical dimension(s) run down the display, defining the contents of the row dimension(s). the page dimension-member selections define which page is currently displayed. a page is much like a spreadsheet, and may in fact have been delivered to a spreadsheet product where each cell can be further modified by the user.
parent
the member that is one level up in a hierarchy from another member. the parent value is usually a consolidation of all of its children's values.
see: children
pivot
see: rotate
pre-calculated/pre-consolidated data
pre-calculated data is data in output member cells that are computed prior to, and in anticipation of, ad-hoc requests. pre-calculation usually results in faster response to queries at the expense of storage. data that is not pre-calculated must be calculated at query time.
see: derived data/members, output data
reach through
reach through is a means of extending the data accessible to the end user beyond that which is stored in the olap server. a reach through is performed when the olap server recognizes that it needs additional data and automatically queries and retrieves the data from a data warehouse or oltp system.
roll-up
see: consolidate
rotate
to change the dimensional orientation of a report or page display. for example, rotating may consist of swapping the rows and columns, or moving one of the row dimensions into the column dimension, or swapping an off-spreadsheet dimension with one of the dimensions in the page display (either to become one of the new rows or columns), etc. a specific example of the first case would be taking a report that has time across (the columns) and products down (the rows) and rotating it into a report that has product across and time down. an example of the second case would be to change a report which has measures and products down and time across into a report with measures down and time over products across. an example of the third case would be taking a report that has time across and product down and changing it into a report that has time across and geography down.
synonym: pivot
row dimension
see: page display
scoping
restricting the view of database objects to a specified subset. further operations, such as update or retrieve, will affect only the cells in the specified subset. for example, scoping allows users to retrieve or update only the sales data values for the first quarter in the east region, if that is the only data they wish to receive.
selection
a selection is a process whereby a criterion is evaluated against the data or members of a dimension in order to restrict the set of data retrieved. examples of selections include the top ten salespersons by revenue, data from the east region only and all products with margins greater than 20 percent.
synonyms: condition, screen, filter
slice
a slice is a subset of a multi-dimensional array corresponding to a single value for one or more members of the dimensions not in the subset. for example, if the member actuals is selected from the scenario dimension, then the sub-cube of all the remaining dimensions is the slice that is specified. the data omitted from this slice would be any data associated with the non-selected members of the scenario dimension, for example budget, variance, forecast, etc. from an end user perspective, the term slice most often refers to a two- dimensional page selected from the cube.
slice and dice
the user-initiated process of navigating by calling for page displays interactively, through the specification of slices via rotations and drill down/up.
sparse
a multi-dimensional data set is sparse if a relatively high percentage of the possible combinations (intersections) of the members from the data set's dimensions contain missing data. the total possible number of intersections can be computed by multiplying together the number of members in each dimension. data sets containing one percent, .01 percent, or even smaller percentages of the possible data exist and are quite common.
see: dense
vertical dimension菜鸟学堂: