Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread CREATE INDEX problem
Tue, Jun 4 2019 2:27 PMPermanent Link

Ozgur Aral

Johnson Controls

I'm working on a database migration from Sybase Advantage to Elevate DB
I'm using the elevate code to make that migration
I have error Argument out of range on this sql statement

CREATE INDEX "SK_ACCESSLEVEL_UNIQUEPATH" ON "accesslevel" ("MASTERACCOUNT","ACCOUNT","CLUSTER","NTM","GSI","SITE","INFO1","INFO2","INFO3","INFO4","STATE")

I didn't saw any restriction on number of field into an index
Tue, Jun 4 2019 8:47 PMPermanent Link

Raul

Team Elevate Team Elevate

On 6/4/2019 2:27 PM, Ozgur Aral wrote:
> I'm working on a database migration from Sybase Advantage to Elevate DB
> I'm using the elevate code to make that migration
> I have error Argument out of range on this sql statement
>
> CREATE INDEX "SK_ACCESSLEVEL_UNIQUEPATH" ON "accesslevel" ("MASTERACCOUNT","ACCOUNT","CLUSTER","NTM","GSI","SITE","INFO1","INFO2","INFO3","INFO4","STATE")
>
> I didn't saw any restriction on number of field into an index
>


Any limits should be listed under system capacities

https://www.elevatesoft.com/manual?action=topics&id=edb2&product=rsdelphiwin32&version=10R&section=appendix_system_cap

"Max Number of Columns in an Index" limit is "The maximum number of
columns in an index is limited by the table's defined index page size."

I'm not saying this is the source of the problem  but something worth
checking out.

Default index page is 8192 bytes so you could increase it for this table
to see if it changes anything

What are your data types for those columns ?


Raul
Mon, Jun 10 2019 12:58 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ozgur,

<< I'm working on a database migration from Sybase Advantage to Elevate DB
I'm using the elevate code to make that migration
I have error Argument out of range on this sql statement

CREATE INDEX "SK_ACCESSLEVEL_UNIQUEPATH" ON "accesslevel" ("MASTERACCOUNT","ACCOUNT","CLUSTER","NTM","GSI","SITE","INFO1","INFO2","INFO3","INFO4","STATE")

I didn't saw any restriction on number of field into an index >>

Please email me the CREATE TABLE DDL for the table itself, and I will see what the issue is.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Image