BAS file mode versus client-server mode with SQL

File mode and client-server mode can present the same BAS screens. The difference becomes visible when operations overlap, network conditions change or the business needs to recover from a failure.

Illustrative photograph of NASA equipment
Illustrative photograph of NASA equipment · NASA / Dominic Hart
At a glance
  1. 01File or application server
  2. 02Measure demand
  3. 03Check compatibility
  4. 04Test a copy

How the application reaches its data

In file mode, the client works with a database file, either on the same computer or on a shared folder. With a share, the connection to that folder is part of the workflow. An unreliable link can cause problems even when the host and database file are healthy.

In client-server mode, the client talks to an application server, which works with a database engine. This adds components, logs and maintenance responsibilities. In this context, “SQL” is shorthand for using a server database engine. Supported engines and versions depend on the platform and environment.

Remote access is a separate decision

Remote desktop sends the interface to the user while keeping the application near the database. File-mode BAS running in a server session and client-server BAS backed by SQL are different designs. If a branch opens a database file over an unreliable link, a remote session is a useful first comparison. If users interfere with each other’s document posting even on the local network at peak times, investigate concurrent operations and see whether a different architecture helps.

Backups and maintenance change too

File mode needs a method that produces a consistent backup. Copying a live file without accounting for the database state does not establish that it can be restored. In an SQL environment, backup procedures depend on the engine and recovery plan; the old file-copy job may no longer be suitable. Someone also needs to own logs, free space, updates and service-account permissions.

Where file mode can still make sense

An archive used for occasional lookup has different needs from a database that processes transactions all day. If one person opens the archive, moving it into a database engine may only add another component to maintain. A production database with concurrent exchanges and reporting deserves separate assessment. The same company can make different choices for different databases. Evaluate each workload rather than applying the outcome of one trial to every database.

Make the comparison fair

Testing an old file database over a slow VPN against SQL on a newer server close to its data changes several variables at once. It is difficult to say which one caused the difference. A better comparison changes one factor at a time and runs the same report, posting operation and integration against comparable data.

Accept client-server mode once speed, compatibility, backups, printing and integrations all meet the requirements. There is no universal headcount at which SQL automatically becomes necessary; it depends on how the team uses the database.

Related reading