dbTalk Databases Forums  

Nonclustered index question

comp.databases.sybase comp.databases.sybase


Discuss Nonclustered index question in the comp.databases.sybase forum.



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

Default Nonclustered index question - 08-09-2011 , 01:41 AM






Why only 249 non-clustered index can be created in sybase ASE? Any
specific reason?

Thanks in advance

Reply With Quote
  #2  
Old   
shookster
 
Posts: n/a

Default Re: Nonclustered index question - 09-29-2011 , 09:38 AM






On Aug 9, 7:41*am, Subind <subind... (AT) gmail (DOT) com> wrote:
Quote:
Why only 249 non-clustered index can be created in sybase ASE? Any
specific reason?

Thanks in advance
Check the output from

dbcc traceon(3604)
dbcc serverlimits
go

....

Table, Index related limits

Max number of columns in a table/
view : 1024
Max number of indexes on a
table : 250
Max number of user-keys in a single index on an unpartitioned
table : 31
Max number of user-keys in a single local index on a partitioned
table : 31
Max number of user-keys in a single global index on a partitioned
table : 30
Max number of referential constraints per
table : 192
Max number of keys in a referential integrity
constraint : 16
....

Index ID 0 == the table.
250 - 1 = 249

QED

Reply With Quote
  #3  
Old   
Derek Asirvadem
 
Posts: n/a

Default Re: Nonclustered index question - 10-15-2011 , 08:24 AM



You are almost, but not quite, 100% correct shookster.

That is 205 minus 1 for the Clustered Index, not 0 for the Heap.

Regards
Derek

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.