Unstable database?

G

Guest

I think my database may have finally outgrown Access 2003, but I cannot
convince my users to move to something bigger (yet). So, at this time, I need
to try to get the database working, while I continue to try to convince the
user to bite the bullet and pay for the new upgraded application.

I'm hoping I can describe the problems I'm seeing and see if someone can
help me track down the problem (if there is something to track down anyway).

My database has about 45 tables, 118 queries, numerous forms (one with too
many controls really) and some reports and a good deal of code in modules.

Currently, I'm having problems with my queries sometimes working and
sometimes giving me error messages like "Query to complex" or something like
"mismatched number of columns between the queries". I do have a number of
union queries, but sometimes I get this second message on queries that are
not using a union query and has no underlying union query. I a lot of my
queries do use other queries as underlying queries, but when I've been
getting the complex message, I have done what I can to directly reference the
table, instead of it's base query. (I typically create a base query for all
tables, then use those base queries in everything else). In this case, I'm
assuming it's hurting me so I am removing some of them where I can.

Almost all of the tables have RFI relationships, so there are a large number
of those (and yes the tables are in a back-end database).

I have done a compact/repair numerous times, with no luck. I have also tried
creating a new blank database and importing all the objects into the new
database. Most of the attempts lock up and crash before the objects are
imported into the new database. On the occasions it does work, the new
database is just as unstable.

I'm not sure this is the best newsgroup for this question, but since I can
duplicate the problem by simply trying to run some of the queries, I figured
I would try posting here.

I have tried to run the Performance Analyzer, but it locks up and crashes,
giving me the dialog to to repair and reopen my database (I am sick of this
dialog box)!

Can anyone give me some things to look for to help me to try to figure out
what I can do (if anything) to fix my problems?

I am wondering if I have too many relationships? Is that possible?

Thanks for any suggestions.

Larry
 
G

Guest

Ok, since posting this msg, I have done the following.

- Deleted all data in all tables
- Deleted all forms, reports, macros
- Deleted all Modules except one (that had some functions in use by queries)
- Deleted all unnecessary code in the remaining module
- Removed all references that were added in the code section
- Compacted and reparied the database (front and back end)

Running the performance analyzer still causes a crash when analyzing some of
the queries, it does not appear to be the same query each time. It also
crashes while trying to directly execute some of the queries.

So all it has basically, are the tables (empty), their relationships and the
queries!

HELP!!!!!!!!!!
 
P

privatenews

Hello Larry,

Based on the symptoms, it seems a database corruption issue. If you have
backup of database, you may want to check if the issue occur for it.

You may want to import tables at this point to a new database to see if it
makes any difference.

306204.KB.EN-US ACC2000: How to Troubleshoot Corruption in a Microsoft
Access Database
http://support.microsoft.com/default.aspx?scid=KB;EN-US;306204

ACC2000: How to Troubleshoot and Repair a Damaged Jet 4.0 Database
http://support.microsoft.com/default.aspx?scid=kb;EN-US;209137

The Microsoft Access Corruption FAQ
at http://www.granite.ab.ca/access/corruptmdbs.htm

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Guest

The issue occurred when I added a couple of new tables (with relationships)
and queries to handle a new user request for modifications.

The database before the change does not have a problem, the database after
the change (with the additional complexity) is the one with the problem.

As I stated in my original post, I have already tried importing the objects
into a new database and the problem persists (in some cases crashing while
importing the queries!).

I have already checked out all the KB articles I could find on the subject
of corruption, but none seem to apply. I can still see the data, it's just
that certain queries (mostly Union queries) are locking up the database.

I had not seen the "granite" website (so thanks for that), but after
reviewing that, none of those issues are what's happening here.

I have now combined the queries and tables into one database, to see if the
split might cause an extra level of complexity, and there are still problems.
 
G

Guest

Thanks for the links, but I've already checked all these.

I'm not so sure the database is "corrupt", per se, since I can get the data
and continue to be able to execute the queries "some time".
 
G

Guest

I continue to try other tests and have now removed all relationships.

Doing this has stopped the database from crashing. But, of course, who wants
a database with RFI?

Any thoughts?
 
P

privatenews

Hello Larry,

Based on the sitaution, you may want to restore to the database before the
issue occurs, and then add table one by one to see when the issue first
appear. I doubt the issue shall be related to a specifc table/query. Also,
please check if the issue occurs on a different machine to see if it is
related to specific machine.


Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
 

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

Top