Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4084 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi Guys, I don't know if this has been discussed before; I always try to search before posting, but I 've not been able to locate anything that would substitute the feedback in the forums, so here it goes:

 

What are the best practises for indexing fields? Indexing makes for slower responses and larger files, but since my database is comparatively small, and size is not an issue, I 'd like to know how many fields I should be indexing, and what the rest of you are doing wrt to it. 

 

As an aside I 'd like to ask why the minimal indexing option is greyed out in my user interface. 

Posted

FM has the auto-index turned on by default and that's a pretty good way to go.  FM will then index fields when it is necessary and not when it is not required.

 

Why do you thin indexing makes for slower responses?  Indexing is meant to speed up operations.

 

Too many indexes may be a problem in a file with many fields that needs to integrate with other applications through ODBC.  But if you have no such requirement then leaving FM to auto-index is a good way to go.

 

Minimal indexing is greyed out on field types that don't support it.

  • Like 1
Posted

FM has the auto-index turned on by default and that's a pretty good way to go.  FM will then index fields when it is necessary and not when it is not required.

 

Why do you thin indexing makes for slower responses?  Indexing is meant to speed up operations.

 

Too many indexes may be a problem in a file with many fields that needs to integrate with other applications through ODBC.  But if you have no such requirement then leaving FM to auto-index is a good way to go.

 

Minimal indexing is greyed out on field types that don't support it.

Wim, thanks for the very lucid and concise response, it's covered all my queries. 

 

I was unaware of the auto index feature. I talked about slower responses erroneously, I guess, I was under the impression that indexing required more operations that ultimately could bog down a database. 

  • 2 weeks later...
Posted

One thing I will add here. If you do a bunch of deletes especially in large tables, the more indexed fields that you have, the slower it can be.

  • Like 1

This topic is 4084 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.