Re: CPU and MDX
- From: "Jeje" <willgart@xxxxxxxxxxx>
- Date: Mon, 3 Sep 2007 12:28:38 -0400
have you reaggregated the cube?
specially if you have changed the cube structure after an initial aggregation.
and try do a usage based optimization.
the query is simple, returns too many rows, but simple.
a good aggregation design will certainly improve the response time.
I think that the non empty for the columns is not required, having at least 1 sales amount for 1 customer will also result in a margin value. so you'll have the 2 columns filled or none of them, its why the non empty is not required.
does the margin is a calculated member? if yes, post the code please.
also try to preload the cache by executing the query a first time.
"MIB" <MIB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:8F7887AC-6974-4610-92CF-AE9AFE7DCDAF@xxxxxxxxxxxxxxxx
My query is :.
SELECT
NON EMPTY { [Measures].[MARGIN], [Measures].[SALES AMOUNT] } ON COLUMNS,
NON EMPTY
{ ([DIM_CUSTOMER].[HIERAR_CUSTOMER].[Customer].MEMBERS *
[TIME].[TIME].[WeekGroup].MEMBERS ) } ON ROWS
FROM
[SALES]
and i have
for Customer only 30 000 members, for weekgroup only 36 member and my fact
table has 500 000 lines. We are in 64 bit with 4 processors dual core !!!
"Jeje" wrote:
most of the time a query will use 1 CPU only.
multi-cpu are used when you hit partitioned cubes.
(1 cpu by partition)
but before this, can you describe what you do in your query?
do you use calculated measures?
can you post formula? (and the MDX himself)
"MIB" <MIB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6E09F24B-E507-42B0-9171-9959FA86235F@xxxxxxxxxxxxxxxx
> We have a very long MDX request for one report. I tried every thing to > run
> it
> as fact as possible (flexible vs rigid, i have create my own aggregate,
> create cache,...). But at the end it's not going really faster, and i > am
> not
> be able to use all my CPU. Each time a queury is running, only one CPU > is
> used
- Follow-Ups:
- Re: CPU and MDX
- From: MIB
- Re: CPU and MDX
- Prev by Date: Re: cube update process
- Next by Date: Total and Grand total in MDX
- Previous by thread: Please help...
- Next by thread: Re: CPU and MDX
- Index(es):
Relevant Pages
|