Indexing fields

  • Thread starter Thread starter Anthony
  • Start date Start date
A

Anthony

Is it wise to set the index property to yes on every field of every table of
my backend database?

Why, or why not?
 
Index only the fields you will regularly use to sort, filter, or search for
data.

Reasons:
a) A table can have only 32 indexes (including any hidden ones.) You will
quickly run out of indexes if you index every field.

b) Access must maintain all those indexes. You will actually slow down data
entry, editing, deletions, action queries, and recordsets with unnecessary
indexes. They also waste memory that could be productively used.

c) Indexes corrupt more frequently than other data: since they are held in
memory using delayed writes, there is a significant chance of a corrupted
index if there is an interrupted write (e.g. network failure, power failure,
hung computer, ...) Therefore unnecessary indexes contribute to unnecessary
corruptions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top