Ver Mensaje Individual
  #3  
Antiguo 18-11-2005
Avatar de Casimiro Notevi
Casimiro Notevi Casimiro Notevi is offline
Moderador
 
Registrado: sep 2004
Ubicación: En algún lugar.
Posts: 32.043
Reputación: 10
Casimiro Notevi Tiene un aura espectacularCasimiro Notevi Tiene un aura espectacular
Sacado el libro "The Firebird eBook":
Cita:
Limits
Firebird allows up to 256 user-created indexes per table in version 1.5 and higher, or
64 in lower releases. However, these are theoretical limits that are governed by both
page size and the actual on-disk size of the index description data on the index root
page. You could not store 256 indexes in a database with a page size smaller than 16KB.
On the index root page, each index needs 31 bytes for its identifier, space for descriptions
of each segment (column) involved in the index, and some bytes to store a pointer
to the first page of the index. Even a 16KB page may not be able to accommodate
256 indexes if there are more than a few compound indexes in the database.
To create indexes, a user must be authorized to connect to the database.
An index cannot exceed 253 bytes in total width. In reality, the number of bytes
may be significantly smaller. Factors that can reduce the number of actual “slots” available
to store characters include
• International character sets that use multiple bytes per character
• International character sets with complex uppercase/lowercase pairings and/or
dictionary sorting rules
• Use of non-binary collations
• Multiple segments (composite indexes) that require the addition of padding
bytes to retain the geometry of the index
In other words, using any character set except NONE will influence your decisions
about index design—particularly whether to use composite indexes. That’s the bad
315
news. The good news is that Firebird makes good use of single-column indexes in
multi-column searches and sorts, reducing the need for many multi-column indexes
that you might have experienced with another DBMS.
Por si acaso sirve de algo
Responder Con Cita