Showing posts with label limitation. Show all posts
Showing posts with label limitation. Show all posts

Monday, March 12, 2012

Index limited to 16 fields

Is there anyway I can by pass this sqlserver limitation of
having no more than 16 columns in a index?
I know it's a lot but the table is small and performance
should not be a problem.Nope, this is a hard limit.
HTH
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"Sandra" <anonymous@.discussions.microsoft.com> wrote in message
news:041501c3d704$575f24c0$a301280a@.phx.gbl...
quote:

> Is there anyway I can by pass this sqlserver limitation of
> having no more than 16 columns in a index?
> I know it's a lot but the table is small and performance
> should not be a problem.
|||If I remember correctly, it seems that you might be able to create a virtual
column which concatenates several other columns, then index it..., but the
900 byte limit is a hard limit..
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Sandra" <anonymous@.discussions.microsoft.com> wrote in message
news:041501c3d704$575f24c0$a301280a@.phx.gbl...
quote:

> Is there anyway I can by pass this sqlserver limitation of
> having no more than 16 columns in a index?
> I know it's a lot but the table is small and performance
> should not be a problem.
|||You might post DDL and some sample DML on how queries will be run on your
table, maybe a large composite index isn't the best choice.
Ray Higdon MCSE, MCDBA, CCNA
--
"Sandra" <anonymous@.discussions.microsoft.com> wrote in message
news:041501c3d704$575f24c0$a301280a@.phx.gbl...
quote:

> Is there anyway I can by pass this sqlserver limitation of
> having no more than 16 columns in a index?
> I know it's a lot but the table is small and performance
> should not be a problem.

Index limited to 16 fields

Is there anyway I can by pass this sqlserver limitation of
having no more than 16 columns in a index?
I know it's a lot but the table is small and performance
should not be a problem.Nope, this is a hard limit.
--
HTH
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"Sandra" <anonymous@.discussions.microsoft.com> wrote in message
news:041501c3d704$575f24c0$a301280a@.phx.gbl...
> Is there anyway I can by pass this sqlserver limitation of
> having no more than 16 columns in a index?
> I know it's a lot but the table is small and performance
> should not be a problem.|||If I remember correctly, it seems that you might be able to create a virtual
column which concatenates several other columns, then index it..., but the
900 byte limit is a hard limit..
--
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Sandra" <anonymous@.discussions.microsoft.com> wrote in message
news:041501c3d704$575f24c0$a301280a@.phx.gbl...
> Is there anyway I can by pass this sqlserver limitation of
> having no more than 16 columns in a index?
> I know it's a lot but the table is small and performance
> should not be a problem.|||You might post DDL and some sample DML on how queries will be run on your
table, maybe a large composite index isn't the best choice.
--
Ray Higdon MCSE, MCDBA, CCNA
--
"Sandra" <anonymous@.discussions.microsoft.com> wrote in message
news:041501c3d704$575f24c0$a301280a@.phx.gbl...
> Is there anyway I can by pass this sqlserver limitation of
> having no more than 16 columns in a index?
> I know it's a lot but the table is small and performance
> should not be a problem.

index key limitation

I am wondering if there is a limit on key size as far as relates to
performance ?The limit would probably be the same as rowsize / sorting (~8k), but
generally you want to keep your keys as small as possible. You might want
to read
http://www.aspfaq.com/2504
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Aron E. Tekulsky" <atekulsky@.iie.org> wrote in message
news:uXvQXWcQEHA.3732@.TK2MSFTNGP11.phx.gbl...
> I am wondering if there is a limit on key size as far as relates to
> performance ?
>|||User specified index key size limitation is 900 bytes for both clustered and
non-clustsred index.
--
Gang He
SQL Server Storage Engine Development
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aron E. Tekulsky" <atekulsky@.iie.org> wrote in message
news:uXvQXWcQEHA.3732@.TK2MSFTNGP11.phx.gbl...
> I am wondering if there is a limit on key size as far as relates to
> performance ?
>

index key limitation

I am wondering if there is a limit on key size as far as relates to
performance ?
The limit would probably be the same as rowsize / sorting (~8k), but
generally you want to keep your keys as small as possible. You might want
to read
http://www.aspfaq.com/2504
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Aron E. Tekulsky" <atekulsky@.iie.org> wrote in message
news:uXvQXWcQEHA.3732@.TK2MSFTNGP11.phx.gbl...
> I am wondering if there is a limit on key size as far as relates to
> performance ?
>
|||User specified index key size limitation is 900 bytes for both clustered and
non-clustsred index.
Gang He
SQL Server Storage Engine Development
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aron E. Tekulsky" <atekulsky@.iie.org> wrote in message
news:uXvQXWcQEHA.3732@.TK2MSFTNGP11.phx.gbl...
> I am wondering if there is a limit on key size as far as relates to
> performance ?
>

index key limitation

I am wondering if there is a limit on key size as far as relates to
performance ?The limit would probably be the same as rowsize / sorting (~8k), but
generally you want to keep your keys as small as possible. You might want
to read
http://www.aspfaq.com/2504
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Aron E. Tekulsky" <atekulsky@.iie.org> wrote in message
news:uXvQXWcQEHA.3732@.TK2MSFTNGP11.phx.gbl...
> I am wondering if there is a limit on key size as far as relates to
> performance ?
>|||User specified index key size limitation is 900 bytes for both clustered and
non-clustsred index.
Gang He
SQL Server Storage Engine Development
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aron E. Tekulsky" <atekulsky@.iie.org> wrote in message
news:uXvQXWcQEHA.3732@.TK2MSFTNGP11.phx.gbl...
> I am wondering if there is a limit on key size as far as relates to
> performance ?
>