[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.2

How to accelerate the process of creating an aggregate over table that has more than 1000 million record

Asked by mmhashem2k in Oracle Database, Oracle 9.x

Tags: Oracle, Oracle, Oracle 9i, Data warehouse

Dear All,

In my department  we having a fact table called Call_Facts
The average rows that are inserted on a daily basis in this table is 35Milion and this table is
partitioned by month and this makes the whole partition contains around 887,209,765, lots of time we hit this table to for reporting purposes, and the queries taking so much time to return, quires that have 7 calculated columns return in 8 hours minimum, and we already have a monthly aggregates over this table by contract_key, the problem is this aggregate fail many time during execution due to temp space (200 GIGA tempspace and when it succeeded it takes around 14 hours to be completed. So what I need here is there anyway to make the process of creating this aggregate be calculated on  a fast way by using any techniques (not more than 6 hours)?
 
The call_facts structure :
This table has index on the contract_key level (NONUNIQUE and Bitmap type) and another on on the call_date_key level (NONUNIQUE and Bitmap type)
CREATE TABLE CALL_USAGE_FACTS
(
  TARIFF_MODEL_KEY     NUMBER(10)               NOT NULL,
  PRICE_GROUP_KEY      NUMBER(10)               NOT NULL,
  CALL_DATE_KEY        NUMBER(10)               NOT NULL,
  ENTRY_DATE_KEY       NUMBER(10)               NOT NULL,
  CALL_KEY             NUMBER(10)               NOT NULL,
  SERVICE_KEY          NUMBER(10)               NOT NULL,
  CALLED_LOCATION_KEY  NUMBER(10)               NOT NULL,
  CONTRACT_KEY         NUMBER(10)               NOT NULL,
  NETWORK_KEY          NUMBER(10)               NOT NULL,
  CELL_KEY             NUMBER(10)               NOT NULL,
  DEMOGRAPHICS_KEY     NUMBER(10)               NOT NULL,
  TARIFF_TIME_KEY      NUMBER(10)               NOT NULL,
  O_P_NUMBER           VARCHAR2(70 BYTE)        NOT NULL,
  CALL_TIME            NUMBER(6)                NOT NULL,
  RATED_VOLUME         NUMBER(10)               NOT NULL,
  ACTUAL_VOLUME        NUMBER(10)               NOT NULL,
  ROUNDED_VOLUME       NUMBER(10)               NOT NULL,
  RATED_AMOUNT         NUMBER(10,2)             NOT NULL,
  SURCHARGE_AMOUNT     NUMBER(10,2)             NOT NULL,
  CALL_MONTH_KEY       NUMBER(5),
  CALL_QTR_KEY         NUMBER(5),
  SERVICE_CLASS_KEY    NUMBER(5),
  IMEI                 VARCHAR2(8 BYTE),
  FREE_CHARGE_AMOUNT   NUMBER(10,2),
  FREE_RATED_VOLUME    NUMBER(10),
  FREE_ROUNDED_VOLUME  NUMBER(10),
  CHECK ("CALL_MONTH_KEY" IS NOT NULL) DISABLE,
  CHECK ("CALL_QTR_KEY" IS NOT NULL) DISABLE,
  CHECK ("SERVICE_CLASS_KEY" IS NOT NULL) DISABLE
)
PARTITION BY RANGE (CALL_DATE_KEY)
(  
  PARTITION CALL_USAGE_FACTS_2006_05 VALUES LESS THAN (2805)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2006_06 VALUES LESS THAN (2835)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2006_07 VALUES LESS THAN (2866)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2006_08 VALUES LESS THAN (2897)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2006_09 VALUES LESS THAN (2927)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2006_10 VALUES LESS THAN (2958)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2006_11 VALUES LESS THAN (2988)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2006_12 VALUES LESS THAN (3019)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_01 VALUES LESS THAN (3050)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_02 VALUES LESS THAN (3078)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_03 VALUES LESS THAN (3109)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_04 VALUES LESS THAN (3139)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_05 VALUES LESS THAN (3170)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_06 VALUES LESS THAN (3200)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_07 VALUES LESS THAN (3231)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_08 VALUES LESS THAN (3262)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_09 VALUES LESS THAN (3292)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_10 VALUES LESS THAN (3323)
    LOGGING
    NOCOMPRESS,  
  PARTITION CALL_USAGE_FACTS_2007_11 VALUES LESS THAN (3353)
    LOGGING
    NOCOMPRESS
)
NOCACHE
NOPARALLEL
[+][-]11/08/07 01:05 PM, ID: 20245178Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Oracle Database, Oracle 9.x
Tags: Oracle, Oracle, Oracle 9i, Data warehouse
Sign Up Now!
Solution Provided By: markgeer
Participating Experts: 2
Solution Grade: A
 
[+][-]11/08/07 06:47 AM, ID: 20241496Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/08/07 06:48 AM, ID: 20241517Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/08/07 07:27 AM, ID: 20241902Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/08/07 07:40 AM, ID: 20242036Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/08/07 07:52 AM, ID: 20242188Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/08/07 08:47 AM, ID: 20242740Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/08/07 10:57 AM, ID: 20243941Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/08/07 11:10 AM, ID: 20244089Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 / EE_QW_2_20070628