dbTalk Databases Forums  

SourceTable property on Writeback Partition

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss SourceTable property on Writeback Partition in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bluetooth
 
Posts: n/a

Default SourceTable property on Writeback Partition - 11-03-2003 , 02:31 AM






My collegue, Kornel, posted this a couple of days ago, but we have not got
any reply. So I try to repost...
Basically the problem is we need to extract location of a cube-writeback
source table. There is a SourceTable property in DSO, but its behaviour is
not fully deterministic, in our opinion.

TIA
Szymon Slupik, CDN SA,
Krakow, Poland

==================

Hi, I want to restore OLAP database and to enable cube writeback option.
I do it this way:

1. Restore database (from within Analysis Manager)
2. Set DataSource (from within Analysis Manager)
3. Enable writeback on a cube (Write-Enable option from within Analysis
Manager, pointing SourceTable property to a writeback table)
After this step the SourceTable property of the writeback partition is not
persisted, it points to the original fact table, not the writeback table.

If between steps 2 and 3 I process the database (from within Analysis
Manager), everything seems to be fine, especially the SourceTable property
of the writeback partition IS persisted, it correctly points to the
writeback table.

The same thing happens when the above scenario is done via DSO.

I have noticed some posts about an old bug in v7.0, that the only way to set
SourceTable property is to do it with setting FromClause property
(unless it does not work) for example:
http://support.microsoft.com/default...NoWebContent=1

Trying to find solution to my problem I found that this bug is still (SQL
2000 SP3a) present, while trying to set programmatically SourceTable
property of
writeback partition before first processing of the database(!!!)

Any suggestions, is it a bug, or is there any known workaround?

Kornel.




Reply With Quote
  #2  
Old   
Bill Cheng [MSFT]
 
Posts: n/a

Default RE: SourceTable property on Writeback Partition - 11-03-2003 , 09:07 PM






Hi,

I have not reproduced the problem on my side. Here are my reproduction
steps. Please check if there is anything incorrect with the steps.
1. Restore database (from within Analysis Manager)
2. Set DataSource (from within Analysis Manager)
3. Right-click a cube, select "Write-Enable", accept default and click OK.

However, I am not sure how you check "After this step the SourceTable
property of the writeback partition is not persisted, it points to the
original fact table, not the writeback table.". Could you use Foodmart
sample to describe reproduction steps in more details?

In addition, 299930 KB article seems to describe a little differently than
yours. I am not sure if they describe the same problem.
299930 PRB: Unable to Set SourceTable Property of Partitions to a Different
http://support.microsoft.com/?id=299930


Bill Cheng
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
Quote:
From: "Bluetooth" <szymon_dot_slupik (AT) cdn (DOT) com.pl
Subject: SourceTable property on Writeback Partition
Date: Mon, 3 Nov 2003 08:31:10 +0100
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <uf4u1xdoDHA.2964 (AT) tk2msftngp13 (DOT) phx.gbl
Newsgroups: microsoft.public.sqlserver.olap
NNTP-Posting-Host: tyfon.cdn.com.pl 195.116.93.68
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:44519
X-Tomcat-NG: microsoft.public.sqlserver.olap

My collegue, Kornel, posted this a couple of days ago, but we have not got
any reply. So I try to repost...
Basically the problem is we need to extract location of a cube-writeback
source table. There is a SourceTable property in DSO, but its behaviour is
not fully deterministic, in our opinion.

TIA
Szymon Slupik, CDN SA,
Krakow, Poland

==================

Hi, I want to restore OLAP database and to enable cube writeback option.
I do it this way:

1. Restore database (from within Analysis Manager)
2. Set DataSource (from within Analysis Manager)
3. Enable writeback on a cube (Write-Enable option from within Analysis
Manager, pointing SourceTable property to a writeback table)
After this step the SourceTable property of the writeback partition is not
persisted, it points to the original fact table, not the writeback table.

If between steps 2 and 3 I process the database (from within Analysis
Manager), everything seems to be fine, especially the SourceTable property
of the writeback partition IS persisted, it correctly points to the
writeback table.

The same thing happens when the above scenario is done via DSO.

I have noticed some posts about an old bug in v7.0, that the only way to
set
SourceTable property is to do it with setting FromClause property
(unless it does not work) for example:

http://support.microsoft.com/default...microsoft.com:
80/support/kb/articles/q299/9/30.asp&NoWebContent=1
Quote:
Trying to find solution to my problem I found that this bug is still (SQL
2000 SP3a) present, while trying to set programmatically SourceTable
property of
writeback partition before first processing of the database(!!!)

Any suggestions, is it a bug, or is there any known workaround?

Kornel.






Reply With Quote
  #3  
Old   
Bluetooth
 
Posts: n/a

Default Re: SourceTable property on Writeback Partition - 11-05-2003 , 03:26 AM



Hi Bill,

Have investigated things further. The behaviour is not reproducible on
foodmart, happend only on SQL Server data sources.
There is one important thing that influences this behaviour - we discovered
it yesterday. When archiving the cubes, we used to clear data sources before
the archive operation. The result was a very compact archive - just cube
structures, without data. Such archive when restored behaved like described
below. So the workaround for now is to back up cubes in a processed state.
To keep the archives small we will process the cubes off a small dummy
database (we need to back up only cube structures, not the data).
Best
Szymon

""Bill Cheng [MSFT]"" <billchng (AT) online (DOT) microsoft.com> wrote

Quote:
Hi,

I have not reproduced the problem on my side. Here are my reproduction
steps. Please check if there is anything incorrect with the steps.
1. Restore database (from within Analysis Manager)
2. Set DataSource (from within Analysis Manager)
3. Right-click a cube, select "Write-Enable", accept default and click OK.

However, I am not sure how you check "After this step the SourceTable
property of the writeback partition is not persisted, it points to the
original fact table, not the writeback table.". Could you use Foodmart
sample to describe reproduction steps in more details?

In addition, 299930 KB article seems to describe a little differently than
yours. I am not sure if they describe the same problem.
299930 PRB: Unable to Set SourceTable Property of Partitions to a
Different
http://support.microsoft.com/?id=299930


Bill Cheng
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| From: "Bluetooth" <szymon_dot_slupik (AT) cdn (DOT) com.pl
| Subject: SourceTable property on Writeback Partition
| Date: Mon, 3 Nov 2003 08:31:10 +0100
| Lines: 45
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <uf4u1xdoDHA.2964 (AT) tk2msftngp13 (DOT) phx.gbl
| Newsgroups: microsoft.public.sqlserver.olap
| NNTP-Posting-Host: tyfon.cdn.com.pl 195.116.93.68
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:44519
| X-Tomcat-NG: microsoft.public.sqlserver.olap
|
| My collegue, Kornel, posted this a couple of days ago, but we have not
got
| any reply. So I try to repost...
| Basically the problem is we need to extract location of a cube-writeback
| source table. There is a SourceTable property in DSO, but its behaviour
is
| not fully deterministic, in our opinion.
|
| TIA
| Szymon Slupik, CDN SA,
| Krakow, Poland
|
| ==================
|
| Hi, I want to restore OLAP database and to enable cube writeback option.
| I do it this way:
|
| 1. Restore database (from within Analysis Manager)
| 2. Set DataSource (from within Analysis Manager)
| 3. Enable writeback on a cube (Write-Enable option from within Analysis
| Manager, pointing SourceTable property to a writeback table)
| After this step the SourceTable property of the writeback partition is
not
| persisted, it points to the original fact table, not the writeback
table.
|
| If between steps 2 and 3 I process the database (from within Analysis
| Manager), everything seems to be fine, especially the SourceTable
property
| of the writeback partition IS persisted, it correctly points to the
| writeback table.
|
| The same thing happens when the above scenario is done via DSO.
|
| I have noticed some posts about an old bug in v7.0, that the only way to
set
| SourceTable property is to do it with setting FromClause property
| (unless it does not work) for example:
|

http://support.microsoft.com/default...microsoft.com:
80/support/kb/articles/q299/9/30.asp&NoWebContent=1
|
| Trying to find solution to my problem I found that this bug is still
(SQL
| 2000 SP3a) present, while trying to set programmatically SourceTable
| property of
| writeback partition before first processing of the database(!!!)
|
| Any suggestions, is it a bug, or is there any known workaround?
|
| Kornel.
|
|
|
|




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.