A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Too many indexes



 
 
Thread Tools Display Modes
  #1  
Old July 10th, 2009, 12:25 AM posted to microsoft.public.access.tablesdbdesign
Doctor
external usenet poster
 
Posts: 75
Default Too many indexes

my table tblClients has too many indexes. I've deleted and deleted indexes
just to make the tables that I absolutely must enforce RI. Some I will just
have to do in the form setup. I'm almost there. The only index that I still
have showing in the indexes table is the primary key. All of the rest are
only in jet.

I think I can make it if someone can help me with this. I noticed with a
list of all indexes printed in the Immediate window that it lists it like
this:

tblClients
PrimaryKey
ClientID
tblBPSInfotblClients
ClientID
tblClientsClientChurchPositionID
ClientChurchPositionID
tblClientsClientTitleID
ClientTitleID
tblClientsGenderID
GenderID
tblClientsMCTitleID
MCTitleID
tblClientstblClients
ClientChurchID
tlkpClientClubStatustblClients
ClientClubStatusID
tlkpClientOrigintblClients
ClientOriginID
tlkpClientTypetblClients
ClientTypeID

Can I delete the ones that reference the table of the foreign key? For
instance, could I delete the ones that start with "tbl*"?

Thanks for the help.
  #2  
Old July 10th, 2009, 04:17 PM posted to microsoft.public.access.tablesdbdesign
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Too many indexes

I wouldn't. If you do choose to do so, attempt it on a copy of your database.
Then run some tests on some intesive selelct queries and reports. See if RI
still works. If you are happy with the results, then do it to your production
database.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"Doctor" wrote:

my table tblClients has too many indexes. I've deleted and deleted indexes
just to make the tables that I absolutely must enforce RI. Some I will just
have to do in the form setup. I'm almost there. The only index that I still
have showing in the indexes table is the primary key. All of the rest are
only in jet.

I think I can make it if someone can help me with this. I noticed with a
list of all indexes printed in the Immediate window that it lists it like
this:

tblClients
PrimaryKey
ClientID
tblBPSInfotblClients
ClientID
tblClientsClientChurchPositionID
ClientChurchPositionID
tblClientsClientTitleID
ClientTitleID
tblClientsGenderID
GenderID
tblClientsMCTitleID
MCTitleID
tblClientstblClients
ClientChurchID
tlkpClientClubStatustblClients
ClientClubStatusID
tlkpClientOrigintblClients
ClientOriginID
tlkpClientTypetblClients
ClientTypeID

Can I delete the ones that reference the table of the foreign key? For
instance, could I delete the ones that start with "tbl*"?

Thanks for the help.

  #3  
Old July 11th, 2009, 06:21 AM posted to microsoft.public.access.tablesdbdesign
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default Too many indexes

On Fri, 10 Jul 2009 08:17:01 -0700, Jerry Whittle
wrote:

Actually, I believe you can. The form only shows indexes that Access
didn't create behind the scenes to support RI.

OP should turn off automatic indexing.

-Tom.
Microsoft Access MVP



I wouldn't. If you do choose to do so, attempt it on a copy of your database.
Then run some tests on some intesive selelct queries and reports. See if RI
still works. If you are happy with the results, then do it to your production
database.

  #4  
Old July 14th, 2009, 06:49 AM posted to microsoft.public.access.tablesdbdesign
Tony Toews [MVP]
external usenet poster
 
Posts: 3,776
Default Too many indexes

Doctor wrote:

my table tblClients has too many indexes.


I have a tool that will show you the duplicate indexes on your system
which are quite common given that Access likes creating indexes on
fields that end in ID, etc as well as fields used in relationships,
etc, etc.

Email me at the email address on the website on my sig and I'll email
you an MDB containing the objects required.

Note: You use this utility at your own risk.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Granite Fleet Manager http://www.granitefleet.com/
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.