In
Ken said:
I have a basic/general question about data storage, to make sure I am
backingup all the data. When you create a database and start loading
data into it is are all the data files stored within the main
database file. So you only have one file to backup? I can only find
the one file.
Someone said something about splitting out the data files. How is
that done and when is that advantageous?
Unless you take specific action to make it otherwise, Access stores all
its data in one data file, the .mdb file you created. Under this
configuration, that is the only file you have to backup.
If you are sharing a database among multiple users on a network, it's a
good idea -- almost essential, if you want to minimize the chance of
corruption in the database -- to split the database into a "front-end"
database (containing forms, reports, queries, modules, and macros if you
use them) and a "back-end" database (containing just the tables). In a
split-database setup, the front-end contains links to the tables in the
back-end. Then each user has their own copy of the front-end, stored on
their own PC, with the tables linked to the back-end database, which
resides on a shared file server somewhere.
The split-database structure lets all users share the same data while
reducing the amount of network traffic and avoiding having one user lock
others out of the front-end by making some design change that requires
exclusive access. Incidentally, another advantage to having a split
database is that the developer can make modifications to the front-end
without disturbing or locking out the other users. When the
modifications are ready to be deployed, the new front-end can just be
copied to every user's PC and relinked if needed. With a split
database, you still only have to backup one file -- the back-end
database. The user's front-end databases are normally considered
disposable, as they contain no data, so you only have make sure you keep
a copy of the "master" front-end of which they are copies.
There is a Database Splitter wizard on the Tools -> Database Utilities
menu, that will split a database into front-end and back-end for you;
however, it's also quite easy to do manually.
It is possible, but unusual, for there to be multiple different back-end
databases, all linked from the same front-end. You might do that if
your total set of back-end data exceeds the 2GB capacity of the Access
..mdb file format, or if there is a logical partitioning to the data such
that it makes sense for there to be different databases to hold it.
It's also possible for the back-end database not to be an Access
database at all. For example, it's common for there to be Access
front-ends that are linked to SQL Server databases, or other
client/server databases. There are a number of reasons to do this,
including scalability, security, and reliability. It all depends on the
requirements your application has to meet.