Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Best Practises for indexing.

Featured Replies

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. 

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.

  • Author

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...

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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.