<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.tntware.com/tntconnect/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Can two or more users share a database file over a local area network?</title><link>https://www.tntware.com/tntconnect/faqs/en/can-two-or-more-users-share-a-database-file-over-a-local-area-network.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Debug Build: 40407.4157)</generator><item><title>Can two or more users share a database file over a local area network?</title><link>https://www.tntware.com/tntconnect/faqs/en/can-two-or-more-users-share-a-database-file-over-a-local-area-network.aspx</link><pubDate>Tue, 21 Oct 2008 21:34:50 GMT</pubDate><guid isPermaLink="false">1fa7c37c-d68d-46f5-9639-4669b01a21c5:42</guid><dc:creator>Troy Wolbrink</dc:creator><comments>https://www.tntware.com/tntconnect/faqs/en/can-two-or-more-users-share-a-database-file-over-a-local-area-network/comments.aspx</comments><description>Current revision posted to Frequently Asked Questions by Troy Wolbrink on 10/21/2008 9:34:50 PM&lt;br /&gt;
&lt;p&gt;It is relatively safe for multiple people to simultaneously edit the same TntMPD database over the network. Special care is needed to avoid data corruption. Let me unpack this:&lt;br /&gt;&lt;br /&gt;TntMPD uses a file-based database system (MS Jet/Access to be precise). If TntMPD&amp;#39;s connection to the database file is interrupted during a write operation, there&amp;#39;s a really good chance for failure. Even the most reliable network will never be as reliable as a local hard drive. And as more users simultaneously connect to the file, the chance of a single point (the one file) failure goes up as well. Network failures, power failures, and Windows not flushing the write-behind cache if you don&amp;#39;t shut down properly (or eject the USB drive properly) are all possible types of failure.&lt;br /&gt;&lt;br /&gt;In practice, however, failures like this happen very rarely. But they do happen enough that I added an auto-backup feature to TntMPD so that every time you close the program a local backup is created (or a backup is created to the place you specify in the options).&lt;br /&gt;&lt;br /&gt;So the best ways to avoid data loss:&lt;br /&gt;1. Maintain a reliable file sharing server and network.&lt;br /&gt;2. Maintain regular backups.&lt;br /&gt;3. Encourage users with a shared database open over the network to close TntMPD when they are done using it.&lt;br /&gt;&lt;br /&gt;I use the shared database feature every day when I sync to my wife&amp;#39;s computer (using TntSync), and I&amp;#39;ve never had a failure since 1998 when I started using it. :)&lt;br /&gt;&lt;br /&gt;--Troy&lt;/p&gt;</description></item></channel></rss>