Imagi-Tech

Software

Access Database Out of Space? What to Do When It Runs Out of Room

An Access database out of space has hit, or is close to, the 2 GB limit every Access file has, and it usually starts slowing down and corrupting before it stops. Copy the file before you try anything. Then pick one of three paths: patch it to buy a few months, replace it with a product, or migrate the data to a real database.

Most Access files give plenty of warning before they stop. The trouble is that the warnings look like ordinary bad days: a slow morning, an error somebody clicks past, a repair that seems to work. This guide is for the day you notice, and it is written so you can act on it before you call anyone, including us.

Common Warning Signs Your Access Database Is at Its Limit

One of these on its own is worth watching. Two or more means the file is close to its limit.

It is out of space, or close to it

Every Access file has a 2 GB ceiling, and it counts everything inside the file: tables, attached files and photos, and the working space a big query needs while it runs. Access also doesn’t hand back the room deleted records took up until the file is compacted, so a file can be full of empty space. Near the ceiling, saves fail and big queries stop part way.

Microsoft Access keeps crashing

Crashes and “unrecognized database format” errors usually follow a save that was cut off, most often when someone lost their connection to a shared drive mid-save. A file opened over Wi-Fi or a remote connection is the most exposed. Each crash that gets repaired is a warning, not a fix.

Compact and Repair has become routine

Once a year is maintenance. Once a week means the file is bloating, corrupting, or both, and someone has quietly become its caretaker.

It slows down when more people open it

Everyone on a shared drive is opening the same file. As more people join, they wait on each other or lock each other out, and the workaround becomes a rule about who may enter what.

An Office update broke something

A move to 64-bit Office stops older VBA code from running until it is changed, so a button that worked on Friday does nothing on Monday.

Before you touch the file

The worst outcome is losing data while trying to save it. These four steps come before any repair:

  1. Ask everyone to close the database, and check nobody still has it open.
  2. Copy the file somewhere else, with today’s date in the name.
  3. Open the copy to make sure it works. A copy that won’t open is not a backup.
  4. Do every repair on a copy, never on the only one you have.

Never compact the only copy of a file that is already damaged.

Three Realistic Paths: Patch, Replace, or Migrate Access

Which path fits depends less on the file size than on what the file does, who uses it and where they are.

Path one: patch it and buy time

Patching makes room in the file you have. It buys months, sometimes longer, not years:

  • Compact and Repair a copy. It gives back the room deleted records left behind. Run it on a copy, with everyone out, and check the copy opens before you swap it in.
  • Move old records out. Closed jobs, past years and finished orders can go to a separate archive file that still opens when someone needs to look something up.
  • Take the photos and documents out of the file. Attached pictures and PDFs fill a file fast. Keep them in a folder on the server and store only where each one lives.
  • Split the file in two. The tables stay in one shared file, and each person gets their own copy of the forms and reports. Fewer people crowd the same file, and a crash on one desk is less likely to damage the data.

Patching fits a file a few people use in one office, running a process that isn’t changing. It doesn’t fix the code only one person understands, and it doesn’t let anyone use the database away from the office.

Path two: replace it with a product

If what the file does is standard for your trade, somebody already sells it. Your records move into the product and your old forms and reports go away. That is fine for most processes, and wrong when the way you do the work is the reason customers choose you. Our post on four ways to replace Microsoft Access compares a product with the other options.

Path three: migrate it

Migrating moves the data off a file on a shared drive and onto a real database server, which ends the size limit, the locking and the corruption that comes with it. There are two ways to do it:

  • Move the tables, keep the screens. The data goes to SQL Server, and the Access forms and reports stay on each desk. It is the quicker and cheaper route for one office on one network.
  • Rebuild it to run in a browser. Every form and report is rebuilt, so people can use it from a truck, a job site or home, and the rules buried in the code get written down.

Either way, your staff keep using the Access file while the new system is built, and both run side by side until the numbers agree. A single-department database usually takes eight to twelve weeks from audit to cutover. Our Access migration page covers the four stages, and our post on what an Access migration costs covers what sets the price.

When the file has quietly grown into several jobs at once, such as quoting, scheduling and billing, the work is closer to a new system than a move. Our custom software page covers that kind of build.

Which path, in one line each

  • One office, screens that work, data that has outgrown the file: patch it, or move the tables to SQL Server.
  • A standard process any product in your trade already does: replace it.
  • People who need it away from the office, or code nobody can change: migrate it to a web app.

Not sure? A free audit lists every table, query, form, report and macro in the file and says which path fits, before anything is billed. You keep it whether or not you hire us, and sometimes it says to leave the file alone for now.

Free audit

Let's get started

Tell us what's giving you trouble, in your own words. “Our Access file keeps crashing” is plenty to go on.