![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Why only 249 non-clustered index can be created in sybase? Any reason? |
#3
| |||
| |||
|
|
On 08-Aug-2011 13:44, Subind wrote: Hi, Why only 249 non-clustered index can be created in sybase? Any reason? The index ID column is a 2-byte 'smallint' meaning it can count no further then 255. Since 255 is used to indicate text/image columns that 254 non-clustered indexes at most. I guess they cut it off at 249 so as to keep some values in reserve for special purposes, should they ever come up. * I must say I've never seen a real-life system with more than 100 indexes per table (I think the maximum I've seen is 20-30). *The limit of 249 seems good enough for most purposes. -- HTH, Rob V. ----------------------------------------------------------------- Rob Verschoor Certified Sybase Professional DBA for ASE 15.0/12.5/12.0/11.5/11.0 and Replication Server 15.0.1/12.5 // TeamSybase Author of Sybase books (order online atwww.sypron.nl/shop): "Tips, Tricks& *Recipes for Sybase ASE" (ASE 15 edition) "The Complete Sybase ASE Quick Reference Guide" "The Complete Sybase Replication Server Quick Reference Guide" r... (AT) NO (DOT) SPAM.sypron.nl |www.sypron.nl*| Twitter: @rob_verschoor Sypron B.V., The Netherlands *| *Chamber of Commerce 27138666 ----------------------------------------------------------------- |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
DBCC SERVERLIMITS is referring to NonClustered indices, including the Placement Index |
![]() |
| Thread Tools | |
| Display Modes | |
| |