Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Slow Database
John Muir 
      
4 years ago
My DB is very slow. I have a split DB. The Back End is 50,180KB. The Front End is 193,000KB. I changed the data in one field in 5,000 records by deleting and pasting rather than an append query. I think I remember Richard saying this may slow the db. Too bad i didn't remember before...

How can i fix? How do I look for other issues in case the pasting the records isn't the culprit?

Thanks,

John
Kevin Robertson  @Reply  
          
4 years ago
Have you tried to Compact & Repair the database?
John Muir OP  @Reply  
      
4 years ago
Yes. sorry i forgot to mention. I deleted links to the db backend and ran compact and repair in the backend and all 5 front ends.
Adam Schwanz  @Reply  
           
4 years ago
Try Decompile as well, maybe finds something. Otherwise where is your back end located? On a LAN/WAN server or SQL server or I hope not something like Google Drive? That could affect your speed as well.

Other question would be do you have like a ton of global constants or temp vars for some reason just clogging you up? (Like a ridiculous amount)
Adam Schwanz  @Reply  
           
4 years ago
Also a 200MB front end seems pretty big, do you have a bunch of images or something stored in it?
John Muir OP  @Reply  
      
4 years ago
Thanks Adam. the back end is on my server. Should i compile the back end and all front ends and should i break the link tables to complie? or should i compile my front end and redistribute to the other work stations?

I use Richard's method of images where images are stored in a file with a link in the form. I probably have a bundle of querries that i could delete - would that help?



Thanks,

John
Adam Schwanz  @Reply  
           
4 years ago
If you want to be super sure, you shouldn't need to de-link your tables, run decompile and compact/repair on your front end, and on your back end. Then redistribute.

Do you have a solid connection to your server? Not latency issues getting to it? Try to ping it from command line and see if you have packet loss or delays.
Kevin Yip  @Reply  
     
4 years ago
Hi John, what exactly is slow?  Also, you said your BE is 50MB and FE 200MB?  Should it be the reverse?  BEs are usually much bigger than FEs after compact.  If your BE is 200 MB and FE is 50 MB, that is actually normal.
John Muir OP  @Reply  
      
4 years ago
My IT guy checked - no latency issues.

Opening a form based on a query seems to take longer than it use to. maybe only a few seconds, but longer...

BE is 50,568 and FE is 182,696. I would think BEs are smaller because they ar just tables, while FEs have all of the querries, forms and reports. I have a lot of calculations, drop down lists and stuff like that...

Adam Schwanz  @Reply  
           
4 years ago
Yea, its the exact opposite. BE are bigger because they are all the data, and FE are just a shell to access that data in. Unless you have some embedded stuff (images/documents) they usually aren't that large.

If you've done the compact/repair and compile stuff. I would be inclined to think the next most likely thing would be a network issue with communicating. Perhaps take just one table/query out of your database and make a separate database with it, throw it on your server, and see if you're still experiencing delays.
Kevin Yip  @Reply  
     
4 years ago
Hi John, I would go into VBA debug mode while the problematic form is opening.  Set a break point in the VBA editor, at the first line of the Open event of that form, then open the form normally and run a line-by-line debug from there.  If a line is taking a long time to run, you may notice it.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 12:25:43 PM. PLT: 0s