Go Premium for a chance to win a PS4. Enter to Win


Create Unique Index comes up with "Key size too big" error

Posted on 2006-06-18
Medium Priority
Last Modified: 2013-12-09
This is the statement I'm trying to run on a Firebird database:

CREATE UNIQUE INDEX "iName_Software" ON "Software"("Name");

Unfortunately, it comes up with this error:

This operation is not defined for system tables.  Unsuccessful metadata update.
Key size too big for index iName_Software

Anyone with ideas on why this occurs?  I would've thought this would be fairly standard.
Question by:khooc
  • 3
  • 3
LVL 10

Expert Comment

ID: 16932024
Try without " eg.
CREATE UNIQUE INDEX iName_Software ON Software(Name);

LVL 19

Expert Comment

ID: 16932550
please tell us your table structure and character set, also which version of firebird

Author Comment

ID: 16942337
Hi Nick

Firebird Version:
Charset: NONE

For Table structure, name is Software.
Fields are:
 - OID INTEGER - Primary Key
 - "Name" VARCHAR(100)

Does that help?

BTW kacor, I tried your suggestion - it doesn't work.

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

LVL 19

Accepted Solution

NickUpson earned 500 total points
ID: 16943766
Try this http://www.volny.cz/iprenosil/interbase/ip_ib_indexcalculator.htm

(please report back your findings)

Author Comment

ID: 16982481

as per http://www.ibphoenix.com/main.nfs?page=ibp_expert1

I decided to upgrade to 2.0 RC2 and I could create the index.

Hopefully it isn't too long until 2.0 is deemed production ready...
LVL 19

Expert Comment

ID: 17017071
NB RC3 came out today

Author Comment

ID: 17022409
BTW thanks for your help Nick - your answer was the best.


Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question