Not sure what to be the cube like

I'm new to oracle olap, plz help me to solve this issue.
i have a relational table of banking application which script looks like below:
-- The table stores end-day balance of each account, at the end of every day all of the records of ACCOUNT table is added to this table by a job for reporting purpose
CREATE TABLE DEPACCOUNT
ACCOUNTNO VARCHAR2(16 BYTE) NOT NULL,
TXNDATE DATE NOT NULL,
BRANCHNO VARCHAR2(6 BYTE) NOT NULL,
PRODUCT VARCHAR2(10 BYTE) NOT NULL,
RATE NUMBER(17,5),
CURRENTBAL NUMBER(17,2),
CREATE UNIQUE INDEX PK_DEPACCOUNT ON DEPACCOUNT
(ACCOUNTNO, TXNDATE);
ALTER TABLE DEPACCOUNT ADD (
CONSTRAINT PK_DEPACCOUNT
PRIMARY KEY
(ACCOUNTNO, TXNDATE)
USING INDEX PK_DEPACCOUNT);
The table has about 300.000.000 records. And there also self-explanatory tables named ACCOUNT, BRANCH, PRODUCT. Note that ACCOUNTNO column cant be unique/primary key without TXNDATE.
And there is an report we need:
select branchno,accountno,txndate, sum(currentbal*rate) bal from depaccount where txndate between :start_date and :end_date and product like '2101%' and currentbal*rate>=1000000
group by branchno,accountno, txndate
order by txndate, branchno,accountno
-- this report means to get branch no, account no, day, summary of balance of all products started with 2101% in local valute.
this report takes 6seconds when there is 1days between :start_date and :end_date, and 26seconds when 30days.
Can i use oracle olap to speed up this report?
i tried to create dimension tables account, branch, product dimensions from already created tables and time dimension by creating materialized view "select txndate from depaccount group by txndate" query.
I created a cube with these dimensions and built the cube successfully.
1. when i select from cube and dimensions it got too much time to join all.
2. i don't know how to solve "where txndate between :start_date and :end_date" part of the query.
Edited by: Otgontugs Miimaa on Jun 6, 2011 3:46 PM

If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
Download a new copy of the Firefox program and save the DMG file to the desktop
* Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
* Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
* Trash the current Firefox application to do a clean (re-)install
* Install the new version that you have downloaded
Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

Similar Messages

Maybe you are looking for

  • "The instruction at "0x103e8453" referenced memory at "0x00000a74". The memory could not be "read".

    Anybody else getting this (apparently) memory-related error on startup of Elements 9? Every time I open up the Organizer, it hangs a little while, then I see this error. It seems to work fine after I press "OK" and continue, but it's annoying. Adobe

  • Can somebody help me? Can't import videos that are already on my hard drive

    i'm not the most technologically adept person. When it comes to iTunes, i plain stupid. for some reason i can't import videos on my hard drive. they are set to open in iTunes and if i double click on them, iTunes comes up and switches to the video sc

  • Connection bean demo error

    Trying to run ConnBeanDemo.jsp and get this error: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))) What does this mean ?

  • Error: SQR configuration and the BRB datasource definition..

    <p>Hello,</p><p> </p><p>I've had Hyperion installed on my computer for about 6 months. Ihave two existing connections to seperate servers with DB2databases. I use existing ODBC drivers for the connection. I wastrying to install a third connection to

  • 5800 XpressMusic

    Hi Nokia, I've using my 5800 XpressMusic for the last 3 years it's old and a little busted, but i never what to change this phone. I annoyed that here in cambodia i can't buy a new housing and i can't find Nokia Care shop. It would be great if you ca