Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

When I worked with other DBMSs, I did not create indexes on fields where the cardinality (# of distinct values) was low. So for example, if there was a field with two possible values (such as yes/no) I would not have built an index because it would not improve performance and would in fact damage performance because of the time required to build, maintain this index. This was related to the "page size" used. is there an equivalent concept in FM?

I have two questions:

1) is this a valid concern for FM7?

2) are the indexes built when the file is loaded (opened) or are they stored as part of the file?

Posted

When I worked with other DBMSs, I did not create indexes on fields where the cardinality (# of distinct values) was low. So for example, if there was a field with two possible values (such as yes/no) I would not have built an index because it would not improve performance and would in fact damage performance because of the time required to build, maintain this index. This was related to the "page size" used. is there an equivalent concept in FM?

I have two questions:

1) is this a valid concern for FM7?

2) are the indexes built when the file is loaded (opened) or are they stored as part of the file?

Posted

When I worked with other DBMSs, I did not create indexes on fields where the cardinality (# of distinct values) was low. So for example, if there was a field with two possible values (such as yes/no) I would not have built an index because it would not improve performance and would in fact damage performance because of the time required to build, maintain this index. This was related to the "page size" used. is there an equivalent concept in FM?

I have two questions:

1) is this a valid concern for FM7?

2) are the indexes built when the file is loaded (opened) or are they stored as part of the file?

Posted

Indexes are stored as part of the file and do take up additional space.

So far as I know v6 and v7 both benefit greatly from indexing regardless of the cardinality of the data. The only drawback being the additional diskspace used.

I am not sure if there is any real need to rebuild indexes, but they can be rebuilt manually by turning off indexing for a specific a field, closing the file (to force a removal of unused blocks) and then reopening the file and turning indexing back on. The index will then be rebuilt as soon as you exit the define fields window.

This topic is 7254 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.