Showing posts with label cube. Show all posts
Showing posts with label cube. Show all posts

Thursday, February 16, 2012

Allow Null values

Hello experts,

I’ve got I little problem how the Null values are stored in the Cube.

I’ve got a Dimension what contains an Attribute e.g. “MyPerfectDate”.

Sometimes this Attribute has a Null value.

So far so long no problems.

Now if I try to build a Report with SSRS and found out, that SSAS stored the NULL values as blank or “empty” and change the datatype.

I tried to work with the DataItem and set NullProcesing to “Preverse” or “UnknownMember” but this doesn’t resolve my Problem.

Have someone another idea?

Thanks a lot

Alex

Hello,

Have nobody any idea?

This problem sounds not so complex to me, I think I forgot an option.

Could it be that I forget some information that you couldn’t help me?

Yours sincerely,

Alex

|||

We had a similar problem with a string value containing nulls and empty values in RS. Our solution was to go back to the cube and change the value to "". Since, yours is a date you might want to set the date to 1/1/1753.

|||

Hello phuhn,

Thanks a lot for the response. Today I thought about this option too.

You never found a better solution? I don’t know why my solution didn’t work, because there are some others threads and there is the solution to change the DataItem….

Best regards,

Alex

Allow Null values

Hello experts,

I’ve got I little problem how the Null values are stored in the Cube.

I’ve got a Dimension what contains an Attribute e.g. “MyPerfectDate”.

Sometimes this Attribute has a Null value.

So far so long no problems.

Now if I try to build a Report with SSRS and found out, that SSAS stored the NULL values as blank or “empty” and change the datatype.

I tried to work with the DataItem and set NullProcesing to “Preverse” or “UnknownMember” but this doesn’t resolve my Problem.

Have someone another idea?

Thanks a lot

Alex

Hello,

Have nobody any idea?

This problem sounds not so complex to me, I think I forgot an option.

Could it be that I forget some information that you couldn’t help me?

Yours sincerely,

Alex

|||

We had a similar problem with a string value containing nulls and empty values in RS. Our solution was to go back to the cube and change the value to "". Since, yours is a date you might want to set the date to 1/1/1753.

|||

Hello phuhn,

Thanks a lot for the response. Today I thought about this option too.

You never found a better solution? I don’t know why my solution didn’t work, because there are some others threads and there is the solution to change the DataItem….

Best regards,

Alex

Monday, February 13, 2012

allocation problem/disk space disappears when processing cube

Preston M. Price wrote:

I get this error while processing my cubes:
Error: Memory error: Allocation failure : Not enough storage is available to process this command.
There is plenty of space left on the hard disks on this machine, I can't find a remedy for this problem on Google either. Any help would be appreciated.

Thanks in advance.

I am seeing the same disk space issue as described in original post.

Each partition is about 8GB, total 14 partitions. each partition about 50M rows.

The cube was processed before so it exists with about 110GB total used space.

Free space about 200GB.

When re-processing the same cube, the free space seems to slowly disappear, for example only after processing 2 partitions, the free space went from 200GB to 40GB. This is while the total used space in this cube directory is 120GB. The used space makes sense - 110GB + 8G for 2nd copy of partition that's being processed.

The free space gone to neverland is what doesn't make sense!

I am processing partitions from BIDS (highlighted all partitions). Processing each partition separately, each with its own transaction.

I've seen the same type of Disk space stealing by SSAS server when for example deleting a cube. Somehow when I delete the cube, it does not show that disk space is free, while the files are gone!, - that is until you restart SSAS server.

can anyone shed a light on this?

(win 2003 ent, sql 2005 ent sp2 fin, 32 bit, 16gb ram, 4 cpu)

Does SSAS actually use the Disk for temporary cache of data during aggregation?

can anyone from MS SSAS team clarify?

if that's true, which "directory" is it, and can I change it to be a different disk? I so happen to have more free space available on a different drive (not OLAP Data drive).

any ideas?

I guess this should be filed as a bug. what should I call this bug? "space stealing?"

|||

The error message refers to main memory - not disk.

|||

ok, but why does the disk space disappears?

it goes away in such way that free space + used space does not add up.

until ssas server is restarted.

|||

anyone at MS have an idea when this might be fixed / addressed?

|||

I am processing a cube, during processing aggregations, the OLAP Drive free space trickles down, while nothing is being added to the files under the specific cube's data directories.

Looks like Analysis Services may be temporarily storing aggregations results into some phantom files?

Anyone know about this? Is it possible to tell how much free disk space this requires? I don't like when it fails and doesn't say why...

|||

during this activity, the CPU goes to 100% for a few seconds, and then idle for about 10x that time, not the usuall "100% all the time" pattern when doing aggregations in other cases (when disk does not disappear).

anyone has any insight into this?

|||

Hi,

There is nothing strange about all that, that is just what it does. You might want to read the performance guide on SSAS 2005, it explains various aspects of the internals and what it is trying to do when processing different elements of the database.

http://download.microsoft.com/download/8/5/e/85eea4fa-b3bb-4426-97d0-7f7151b2011c/SSAS2005PerfGuide.doc

Hope that helps

Matt

|||

thanks for pasting the link here, on what page does it speak to my issue?

The issue is that aggregations never completes, the processing just uses up all free space and fails.

Yesterday my processing did not succeed, but phantomized 600GB of free disk space and then failed.

my total data size is about 50GB, with about 120 aggregations, there is no way it should require 600GB or more space.

besides the pattern is not normal, usually it is 100% CPU all the time without long low CPU periods.

does anyone from SSAS team know what's going on? is this a known issue (if so, has it been fixed in Cumulative update 3 and/or 4)?

|||

the performance paper above cleared this up for me, once I started monitoring the Agg Proc conters with temp rows written/temp bytes written it it clear when it starts using the temp file space as intermediate aggregation memory.

However, it is using way more disk space than eventually aggregation takes up - because data is not yet merged then.

So some clearer reporting of what's going on, and abilty to specify additional locations for temp files would be great - to avoid failures due to disk space.

allocation problem/disk space disappears when processing cube

Preston M. Price wrote:

I get this error while processing my cubes:
Error: Memory error: Allocation failure : Not enough storage is available to process this command.
There is plenty of space left on the hard disks on this machine, I can't find a remedy for this problem on Google either. Any help would be appreciated.

Thanks in advance.

I am seeing the same disk space issue as described in original post.

Each partition is about 8GB, total 14 partitions. each partition about 50M rows.

The cube was processed before so it exists with about 110GB total used space.

Free space about 200GB.

When re-processing the same cube, the free space seems to slowly disappear, for example only after processing 2 partitions, the free space went from 200GB to 40GB. This is while the total used space in this cube directory is 120GB. The used space makes sense - 110GB + 8G for 2nd copy of partition that's being processed.

The free space gone to neverland is what doesn't make sense!

I am processing partitions from BIDS (highlighted all partitions). Processing each partition separately, each with its own transaction.

I've seen the same type of Disk space stealing by SSAS server when for example deleting a cube. Somehow when I delete the cube, it does not show that disk space is free, while the files are gone!, - that is until you restart SSAS server.

can anyone shed a light on this?

(win 2003 ent, sql 2005 ent sp2 fin, 32 bit, 16gb ram, 4 cpu)

Does SSAS actually use the Disk for temporary cache of data during aggregation?

can anyone from MS SSAS team clarify?

if that's true, which "directory" is it, and can I change it to be a different disk? I so happen to have more free space available on a different drive (not OLAP Data drive).

any ideas?

I guess this should be filed as a bug. what should I call this bug? "space stealing?"

|||

The error message refers to main memory - not disk.

|||

ok, but why does the disk space disappears?

it goes away in such way that free space + used space does not add up.

until ssas server is restarted.

|||

anyone at MS have an idea when this might be fixed / addressed?

|||

I am processing a cube, during processing aggregations, the OLAP Drive free space trickles down, while nothing is being added to the files under the specific cube's data directories.

Looks like Analysis Services may be temporarily storing aggregations results into some phantom files?

Anyone know about this? Is it possible to tell how much free disk space this requires? I don't like when it fails and doesn't say why...

|||

during this activity, the CPU goes to 100% for a few seconds, and then idle for about 10x that time, not the usuall "100% all the time" pattern when doing aggregations in other cases (when disk does not disappear).

anyone has any insight into this?

|||

Hi,

There is nothing strange about all that, that is just what it does. You might want to read the performance guide on SSAS 2005, it explains various aspects of the internals and what it is trying to do when processing different elements of the database.

http://download.microsoft.com/download/8/5/e/85eea4fa-b3bb-4426-97d0-7f7151b2011c/SSAS2005PerfGuide.doc

Hope that helps

Matt

|||

thanks for pasting the link here, on what page does it speak to my issue?

The issue is that aggregations never completes, the processing just uses up all free space and fails.

Yesterday my processing did not succeed, but phantomized 600GB of free disk space and then failed.

my total data size is about 50GB, with about 120 aggregations, there is no way it should require 600GB or more space.

besides the pattern is not normal, usually it is 100% CPU all the time without long low CPU periods.

does anyone from SSAS team know what's going on? is this a known issue (if so, has it been fixed in Cumulative update 3 and/or 4)?

|||

the performance paper above cleared this up for me, once I started monitoring the Agg Proc conters with temp rows written/temp bytes written it it clear when it starts using the temp file space as intermediate aggregation memory.

However, it is using way more disk space than eventually aggregation takes up - because data is not yet merged then.

So some clearer reporting of what's going on, and abilty to specify additional locations for temp files would be great - to avoid failures due to disk space.

allocation problem/disk space disappears when processing cube

Preston M. Price wrote:

I get this error while processing my cubes:
Error: Memory error: Allocation failure : Not enough storage is available to process this command.
There is plenty of space left on the hard disks on this machine, I can't find a remedy for this problem on Google either. Any help would be appreciated.

Thanks in advance.

I am seeing the same disk space issue as described in original post.

Each partition is about 8GB, total 14 partitions. each partition about 50M rows.

The cube was processed before so it exists with about 110GB total used space.

Free space about 200GB.

When re-processing the same cube, the free space seems to slowly disappear, for example only after processing 2 partitions, the free space went from 200GB to 40GB. This is while the total used space in this cube directory is 120GB. The used space makes sense - 110GB + 8G for 2nd copy of partition that's being processed.

The free space gone to neverland is what doesn't make sense!

I am processing partitions from BIDS (highlighted all partitions). Processing each partition separately, each with its own transaction.

I've seen the same type of Disk space stealing by SSAS server when for example deleting a cube. Somehow when I delete the cube, it does not show that disk space is free, while the files are gone!, - that is until you restart SSAS server.

can anyone shed a light on this?

(win 2003 ent, sql 2005 ent sp2 fin, 32 bit, 16gb ram, 4 cpu)

Does SSAS actually use the Disk for temporary cache of data during aggregation?

can anyone from MS SSAS team clarify?

if that's true, which "directory" is it, and can I change it to be a different disk? I so happen to have more free space available on a different drive (not OLAP Data drive).

any ideas?

I guess this should be filed as a bug. what should I call this bug? "space stealing?"

|||

The error message refers to main memory - not disk.

|||

ok, but why does the disk space disappears?

it goes away in such way that free space + used space does not add up.

until ssas server is restarted.

|||

anyone at MS have an idea when this might be fixed / addressed?

allocation problem/disk space disappears when processing cube

Preston M. Price wrote:

I get this error while processing my cubes:
Error: Memory error: Allocation failure : Not enough storage is available to process this command.
There is plenty of space left on the hard disks on this machine, I can't find a remedy for this problem on Google either. Any help would be appreciated.

Thanks in advance.

I am seeing the same disk space issue as described in original post.

Each partition is about 8GB, total 14 partitions. each partition about 50M rows.

The cube was processed before so it exists with about 110GB total used space.

Free space about 200GB.

When re-processing the same cube, the free space seems to slowly disappear, for example only after processing 2 partitions, the free space went from 200GB to 40GB. This is while the total used space in this cube directory is 120GB. The used space makes sense - 110GB + 8G for 2nd copy of partition that's being processed.

The free space gone to neverland is what doesn't make sense!

I am processing partitions from BIDS (highlighted all partitions). Processing each partition separately, each with its own transaction.

I've seen the same type of Disk space stealing by SSAS server when for example deleting a cube. Somehow when I delete the cube, it does not show that disk space is free, while the files are gone!, - that is until you restart SSAS server.

can anyone shed a light on this?

(win 2003 ent, sql 2005 ent sp2 fin, 32 bit, 16gb ram, 4 cpu)

Does SSAS actually use the Disk for temporary cache of data during aggregation?

can anyone from MS SSAS team clarify?

if that's true, which "directory" is it, and can I change it to be a different disk? I so happen to have more free space available on a different drive (not OLAP Data drive).

any ideas?

I guess this should be filed as a bug. what should I call this bug? "space stealing?"

|||

The error message refers to main memory - not disk.

|||

ok, but why does the disk space disappears?

it goes away in such way that free space + used space does not add up.

until ssas server is restarted.

|||

anyone at MS have an idea when this might be fixed / addressed?

|||

I am processing a cube, during processing aggregations, the OLAP Drive free space trickles down, while nothing is being added to the files under the specific cube's data directories.

Looks like Analysis Services may be temporarily storing aggregations results into some phantom files?

Anyone know about this? Is it possible to tell how much free disk space this requires? I don't like when it fails and doesn't say why...

|||

during this activity, the CPU goes to 100% for a few seconds, and then idle for about 10x that time, not the usuall "100% all the time" pattern when doing aggregations in other cases (when disk does not disappear).

anyone has any insight into this?

|||

Hi,

There is nothing strange about all that, that is just what it does. You might want to read the performance guide on SSAS 2005, it explains various aspects of the internals and what it is trying to do when processing different elements of the database.

http://download.microsoft.com/download/8/5/e/85eea4fa-b3bb-4426-97d0-7f7151b2011c/SSAS2005PerfGuide.doc

Hope that helps

Matt

|||

thanks for pasting the link here, on what page does it speak to my issue?

The issue is that aggregations never completes, the processing just uses up all free space and fails.

Yesterday my processing did not succeed, but phantomized 600GB of free disk space and then failed.

my total data size is about 50GB, with about 120 aggregations, there is no way it should require 600GB or more space.

besides the pattern is not normal, usually it is 100% CPU all the time without long low CPU periods.

does anyone from SSAS team know what's going on? is this a known issue (if so, has it been fixed in Cumulative update 3 and/or 4)?

Sunday, February 12, 2012

'ALL' member when using MDX query

When I try to generate a matrix report using mdx against an AS2000 cube
I am unable to retrieve the "all" level from my "Providers" dimension.
Does anyone know how I can get the all level included in my report?
Basically the 'Providers' dimension has two member plus the all level.
Member 1 - BAC
Member 2 - Fleet
Member 3 - All Providers
Here is my query below.
SELECT { [Measures].[Responses], [Measures].[Responders],
[Measures].[Trans Amount] } ON COLUMNS,
{CROSSJOIN([Providers].[Provider].Members, [Product].Members)} on ROWS,
{ [Response Date].[Month].Members} ON PAGES
FROM [Programmatic_Balance_Build]
Thanks in advance,
JCSee if this would help:
http://prologika.com/CS/blogs/blog/archive/2005/12/20/720.aspx
--
HTH,
---
Teo Lachev, MVP, MCSD, MCT
"Microsoft Reporting Services in Action"
"Applied Microsoft Analysis Services 2005"
Home page and blog: http://www.prologika.com/
---
<john.r.carter@.bankofamerica.com> wrote in message
news:1135915701.929683.110800@.g14g2000cwa.googlegroups.com...
> When I try to generate a matrix report using mdx against an AS2000 cube
> I am unable to retrieve the "all" level from my "Providers" dimension.
> Does anyone know how I can get the all level included in my report?
> Basically the 'Providers' dimension has two member plus the all level.
> Member 1 - BAC
> Member 2 - Fleet
> Member 3 - All Providers
> Here is my query below.
> SELECT { [Measures].[Responses], [Measures].[Responders],
> [Measures].[Trans Amount] } ON COLUMNS,
> {CROSSJOIN([Providers].[Provider].Members, [Product].Members)} on ROWS,
> { [Response Date].[Month].Members} ON PAGES
> FROM [Programmatic_Balance_Build]
> Thanks in advance,
> JC
>