As far as I have seen there is a limit on the number of columns that can be
indexed.

The limit was 28 column in november 2000. I not sure whether this limit has
been change
since, but anyway 28 seems to be a lot ... or ??

Peter
------------------------------------------------------------------------------------------------
Peter Horsb�ll M�ller, GIS Udviklingskonsulent / GIS-Developer
Kampsax A/S - GIS Software & Solutions
Rugaardsvej 55, 5000 Odense, DK
tel: +45 6313 5013,  dir:+45 6313 5008,  fax: +45 6313 5090
mailto:[EMAIL PROTECTED]
www.kampsax-gis.dk and www.kampsax.dk
Authorized MapInfo Partner & Distributor in Denmark and Norway.
------------------------------------------------------------------------------------------------
Se mere om Dansk MapInfo Brugerkonference p� 
http://www.kampsax-gis.dk/Default.asp?ID=296

Klik ind p� http://www.kortal.dk og se det hele lidt fra oven!
Check http://www.kortal.dk and have a look at Denmark from above!
----- Videresendt af Peter M�ller/Kampsax - 28-08-2002 10:24 -----
                                                                                       
                                    
                    bob young                                                          
                                    
                    <[EMAIL PROTECTED]        Til:    [EMAIL PROTECTED]    
                                    
                    mon.co.uk>                   cc:     MapInfo List 
<[EMAIL PROTECTED]>                  
                                                 Vedr.:  Re: MI-L Indexing query       
                                    
                    27-08-2002 17:01                                                   
                                    
                                                                                       
                                    
                                                                                       
                                    



Dear Bill

I am not aware of there being a maximum.

In terms of an optimum the less fields you index on the quicker an index
will be updated. However your application might gain enormously by
having more indexes so it is difficult to talk of an optimum.

In general our experience is that adding one record at a time this is
not an issue. However if you are adding a lot at a time and no other
users need access while you are doing this, then it is worth dropping
the indexes, adding the records, then creating the indexes as a seperate
operation.

Also keep the index as short as possible. MapInfo will index on the
first 127 bytes of a field. If you do not need this length it could be
worth maintaining a seperate shorter field in your database, and index
on this. It takes less than half the time to reindex a field that is
half the length. The same advantage applies when retrieving a record
from the index. Try and store numeric values in smallint,integer or
float as these indexes will be shorter than a decimal one.

If there is a maximum then it is certainly a lot greater than 3 and we
have not yet hit it.

Regards

Bob
mapsbydesign.co.uk






In message <[EMAIL PROTECTED]>, Data
Directions <[EMAIL PROTECTED]> writes
>
>I have searched the MapInfo manuals and knowledge base but cannot find an
>answer to the following:
>
>Is there an optimal (or maximum) number of indexes that can be applied to
>columns within a MapInfo table before their use is ineffective.
>
>I seem to recall a maximum of three indexes per table, but may be
mistaken.
>
>If someone knows, could they please advise, along with the rationale for
(or
>if necessary, formula to calculate) the answer.
>
>Many thanks,
>
>Bill
>
>---------------------------------------------------------------------
>List hosting provided by Directions Magazine | www.directionsmag.com |
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>Message number: 2676

--
bob young

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 2679





---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 2700

Reply via email to