dbTalk Databases Forums  

Re: Dimension. Is this a bug or feature?

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


Discuss Re: Dimension. Is this a bug or feature? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Francesco De Chirico
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-16-2004 , 04:48 AM






Hi Vladimir,
what's the problem?
In that dimension you have 671.560 members (at the leaf level) and the Key
Column for every member is a field 2 byte long.

--
Francesco De Chirico



Reply With Quote
  #2  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-16-2004 , 08:26 AM






The proplem is that the diememension having key size 2 byte can not have
600K elements. At least this is not right.

"Francesco De Chirico" <f.dechirico (AT) forgroup (DOT) it> schrieb im Newsbeitrag
news:ebQkpc4UEHA.2944 (AT) tk2msftngp13 (DOT) phx.gbl...
Quote:
Hi Vladimir,
what's the problem?
In that dimension you have 671.560 members (at the leaf level) and the Key
Column for every member is a field 2 byte long.

--
Francesco De Chirico





Reply With Quote
  #3  
Old   
Francesco De Chirico
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-16-2004 , 09:50 AM



Quote:
The proplem is that the diememension having key size 2 byte can not have
600K elements. At least this is not right.
Please, can you explain me why?




Reply With Quote
  #4  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-16-2004 , 10:05 AM



It's right easy 2^16 = 65k

"Francesco De Chirico" <f.dechirico (AT) forgroup (DOT) it> schrieb im Newsbeitrag
news:e1qNWF7UEHA.1652 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Quote:
The proplem is that the diememension having key size 2 byte can not have
600K elements. At least this is not right.

Please, can you explain me why?





Reply With Quote
  #5  
Old   
Francesco De Chirico
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-16-2004 , 11:24 AM





Quote:
It's right easy 2^16 = 65k
Sorry, but I don't understand.
You have 671.560 members, everyone need 2 byte for the member key,
so, if you want: 671.560 * 16 = 10744960 .
What's 2^16 for you??




Reply With Quote
  #6  
Old   
Francesco De Chirico
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-16-2004 , 11:48 AM



Ok, sorry, I understand now!
Are you sure that Key Data Type is correct??
Because you can manually change it.
--
Francesco De Chirico



Reply With Quote
  #7  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-17-2004 , 12:26 AM



Hi!

If you create a table with primary key int(2) in the SQL Server, can you
place more then 2^16 records in it?
I would like to get error from dimension processing, as from insert into SQL
table.

Thanks,
Vladimir


"Francesco De Chirico" <f.dechirico (AT) forgroup (DOT) it> wrote

Quote:
Ok, sorry, I understand now!
Are you sure that Key Data Type is correct??
Because you can manually change it.
--
Francesco De Chirico





Reply With Quote
  #8  
Old   
Francesco De Chirico
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-17-2004 , 02:34 AM



Ok, if you confirm that in the SQL Server your primary key is int(2), this
is very strange.
I also had a problem like this but in that case, in A.S. I saw Key Data Type
= 2 but in SQL Server the primary key was
int(4). Someone changed that value, but A.S. didn't show any message during
processing.

--
Francesco De Chirico



Reply With Quote
  #9  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-17-2004 , 05:16 AM



Hi Francesco

Quote:
I also had a problem like this but in that case, in A.S. I saw Key Data
Type
= 2 but in SQL Server the primary key was
int(4). Someone changed that value, but A.S. didn't show any message
during

This is the my problem that A.S. didn't show any message.

Quote:
processing.

I would like to see any comments from AS developers, but they are silent :-(

Thanks,
Vlkadimir




Reply With Quote
  #10  
Old   
Jonathan Levine
 
Posts: n/a

Default Re: Dimension. Is this a bug or feature? - 06-18-2004 , 03:25 AM



"Vladimir Chtepa" wrote:

Quote:
Hi Francesco

I also had a problem like this but in that case, in A.S. I saw Key Data
Type
= 2 but in SQL Server the primary key was
int(4). Someone changed that value, but A.S. didn't show any message
during

This is the my problem that A.S. didn't show any message.

processing.


I would like to see any comments from AS developers, but they are silent :-(

I cound't see your picture, but do you have Unique Member Keys set to True?

-- J


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.