1. Trang chủ
  2. » Công Nghệ Thông Tin

Oracle Essbase 9 Implementation Guide- P28 ppt

5 233 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 769,29 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Make your data Essbase-friendlyThe reason this subject is something worth discussing here in Essbase is because unlike traditional relational database packages, Oracle Essbase includes m

Trang 1

Make your data Essbase-friendly

The reason this subject is something worth discussing here in Essbase is because

unlike traditional relational database packages, Oracle Essbase includes many

easy to use tools to quickly transform, alter, modify, or otherwise turn questionable data into good, usable data that can be fully and correctly loaded into your Essbase database Creating Essbase-friendly data can be accomplished with a minimum

amount of effort and expense, both on the Essbase side and the data source side,

which is sure to please even the toughest business customer who no doubt is aware

of how creating an extract of data from a traditional system sometimes means a

lot of effort and even the writing of a complex program or two

First, to make sure you understand, when loading data in Essbase the data must

contain a representative element of data for each dimension in the target Essbase

database's outline For example, our Esscar database outline contains seven

dimensions, so the data you intend to load must contain an element for each

dimension plus the data value itself, for a total of eight elements of data The

following figure shows you how your data would look in a perfect world:

Notice there are eight columns of data, one column for each dimension in the

Esscar database outline and the data value itself Now, as mentioned, this would

be the perfect way to receive data from an outside source It's too bad this is rarely

the case when receiving data from another department or business activity, even

within your own company Heck, sometimes data from within the same company

is the most inconsistent

In the real world, you are lucky when you get the bare minimum of the data

elements you need to satisfy your Essbase requirements from sources external

to your Essbase database This is not a great concern most of the time with Essbase and we'll tell you why, then we will take the rest of this chapter to show you how

Essbase-friendly thoughts

Consider that you have constructed your Essbase database outline to be as flexible and detailed as possible for your business customer You know very well that you won't

always get clean data from an external system that will load right into your database

Trang 2

There are many reasons why you may not get data sent to you just the way you

would like it First and foremost is the expense of writing a complex program to

extract the data from one system and pretty it up for the receiving system Second,

it takes time to write such a program

With Essbase, you have tools designed specifically to pretty up or make

Essbase-friendly, even some of the most objectionable data

In other words, with the tools that Essbase provides you and a little bit of your own creativity, there isn't much data out there that you would have a good reason to say

no to making Essbase-friendly

Here is a real world example of making your data Essbase-friendly that shows just

what can be accomplished with very little effort The data load rule you are about

to see was developed in less than two hours

Essbase-friendly example

The following screenshot shows an input data file that has been opened in the Essbase

Data Prep Editor The upper pane displays the data in its raw form and the lower pane

shows you what the data will look like to Essbase during the actual data load

The first column in the raw data view is the month column in numeric format

The second column in the raw data view is the calendar year in four digit format

Unfortunately, our month/year values in the database outline are formatted as MMM YYYY (for example, Jan 2009), with the month as a three character abbreviation then a space then the four digit year You will also need them all in one column

Trang 3

Next we join the month and year columns using the column join option in the

Data Source Properties screen as shown:

Observe how we told Essbase to join columns 1 and 2 into a new single column

But wait, the date format is still wrong What do we do next? Easy enough, all we

need to do now is set up the replace function to convert the date column into an

Essbase-friendly date format Watch how easy it is:

Trang 4

Notice in the Field Properties screen how we replace the wrongly formatted date

column with the correct format There are other options as well depending on your specific needs

Finally, looking at the data in the first column, we see that what were once two

separate columns with the wrong date format is now one column of correctly

formatted data which will successfully load into our Esscar database Total

development time for this column was about 15 minutes This is how you make

your data Essbase-friendly!

Types of data sources

A typical data source for your Essbase database can contain many bits of

information Unlike traditional relational databases, Essbase data sources can be

actual data values or they can be metadata Because you can update your database

outline dynamically with the same data that you ultimately load, data sources in

Essbase take on a completely different meaning than in other types of systems

When talking about data sources in Essbase, any of the following can be considered

Type of data

The data loaded into Essbase can be of two types, one is to load the data into

the cube and the other is to update the outline of the cube:

Data loads: These are the actual data values This would be the numeric

value of one of the existing measures in the database This type of Essbase

data source is usually the only usable type of data source in a traditional

relational database

Trang 5

Dimension build loads: Information in the data that can actually be used

to update the outline's member names, member aliases, member attributes,

and more

The Essbase data rules file can be used both as a data load rules file, to load data values into the database and also as a dimension build rules file, to update or add new members to the database outline

Types of files used for data loads

The data that is loaded into Essbase can come from different types of files like

Microsoft Excel files, Text files, Comma Separated files or directly from a relational

database Let us talk about these file types and see how we can use each of them

in Essbase

Microsoft Excel files

Microsoft Excel files can be used as data sources in a couple of ways First, they can

be used to perform a "Lock and Send" of the data from the Microsoft Excel worksheet directly into the Essbase database A Microsoft Excel workbook can also be used as

an attached file or Linked Reporting Object (LRO).

Text files

There are two types of text files:

Delimited text files: Delimited text files are files that use a certain character,

typically a comma or a semi-colon to delimit the data fields This delimiter

is used by the Essbase load rule to determine where one data field ends and another data field begins Also, not all rows will be of the same length

Fixed column width text files: The fixed width type of text file has all rows of

data the exact same length Also, all of the data fields are the same length and

in the same position and do not vary from row to row

Essbase data export text files

One type of data source that loads without any intervention, in the form of data

manipulation, or even without the aid of an Essbase data load rule is the Essbase

database export text file Essbase offers you the option of exporting the data from

your database into text files (some do this for database backup purposes) When

loading an Essbase exported file into an Essbase database with a similar outline,

Essbase can automatically interpret the data fields and determine how to correctly

load the data This process is used in a database performance enhancing tip, which

we will talk about later in this book

Ngày đăng: 06/07/2014, 00:20

TỪ KHÓA LIÊN QUAN