Как я могу синхронизировать базы данных Access и поддерживать их в актуальном состоянии?

1495
user327472

У меня есть база данных Access на моем сервере. Мы разделили его и используем внешнюю базу данных для поиска данных и добавления новых записей или отчетов на локальном компьютере. Если мы обновляем или добавляем новую запись, это записывает в конец базы данных. Я хочу использовать эту базу данных в другом здании с другими серверами. Кроме того, эти серверы не имеют прямого подключения. Как я могу синхронизировать обе базы данных, чтобы поддерживать актуальность данных базы данных?

Эти детали могут быть полезны: это большой объем данных - около 25 750 записей клиентов. Я предполагаю, что есть более 25 таблиц на 80 МБ.

2
Вы можете объединить их. К сожалению, вопрос [«Слияние двух БД Access»] (http://dba.stackexchange.com/q/17776/39265) из DBA SE пока не дал хорошего ответа. Cristian Ciupitu 9 лет назад 0

1 ответ на вопрос

0
Max

This is not an easy task with an Access DB, I think you really have 3 options:

  • Connect the 2 LAN with a VPN (over the internet), and use a remote desktop over the VPN from LAN2 to access the DB frontend installed in a PC in LAN1 (that will use the DB backend using the local LAN1)
  • Connect the 2 LAN with a VPN (over the internet) and share the same backend DB over the VPN
  • Create a mid-layer server, shared over the internet, or over a VPN, that make the Access MDB accessible by different front-end on different lan

Using a remote computer with a remote desktop is the easiest, and have few risks... but you need a spare computer on the network which is holding the DB.

Sharing an MDB Access DB over a VPN is doable, but it's risky, because you loose the VPN connection when the frontend is writing to the backend, the backend can became corrupted (is you choose this way, please do daily backup... or even hourly backup) VPN are slow, so writing to an Access DB over a vpn is slow, and this increase the chances that when the VPN go down (and this will happen) you are writing data to the DB, and so are risking a DB corruption.

Creating a mid-layer server, that share the DB access over a VPN/internet is a very safe option... but it's also the more complex to implement.

Also, maybe this is more a question better suited for StackOverflow than SuperUser... maybe some admin can migrate the question?

Похожие вопросы