You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: database_migration.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2441,8 +2441,8 @@ <h2 id="launch_parameter">informing the software that the SQLite database is not
2441
2441
<p>And it will instead use the given path. If no database is found, it will similarly create a new empty one at that location. You can use any path that is valid in your system.</p>
2442
2442
<divclass="admonition danger">
2443
2443
<pclass="admonition-title">Bad Locations</p>
2444
-
<p><strong>Do not run a SQLite database on a network location!</strong> The database relies on clever hardware-level exclusive file locks, which network interfaces often fake. While the program may work, I cannot guarantee the database will stay non-corrupt.</p>
2445
-
<p><strong>Do not run a SQLite database on a location with filesystem-level compression enabled!</strong>In the best case (BTRFS), the database can suddenly get extremely slow when it hits a certain size; in the worst (NTFS), a >50GB database will encounter I/O errors and receive sporadic corruption!</p>
2444
+
<p><strong>Do not install to a network location!</strong>(i.e. on a different computer's hard drive) The SQLite database is sensitive to interruption and requires good file locking, which network interfaces often fake. There are <ahref="database_migration.html">ways of splitting your client up</a> so the database is on a local SSD but the files are on a network--this is fine--but you really should not put the database on a remote machine unless you know what you are doing and have a backup in case things go wrong.</p>
2445
+
<p><strong>Be careful installing to a location with filesystem-level compression or versioning enabled!</strong>It may work ok to start, but when the SQLite database grows to large size, this can cause extreme access latency. I have been told that BTRFS works well these days, and they have been working specifically to improve SQLite performance, but keep it in mind if you are using anything else. Using NTFS compression mode on the database files is not a good idea. Compressing a hydrus database backup is fine, but the live db is sensitive.</p>
2446
2446
</div>
2447
2447
<p>Rather than typing the path out in a terminal every time you want to launch your external database, create a new shortcut with the argument in. Something like this:</p>
<p><strong>Do not install to a network location!</strong> (i.e. on a different computer's hard drive) The SQLite database is sensitive to interruption and requires good file locking, which network interfaces often fake. There are <ahref="database_migration.html">ways of splitting your client up</a> so the database is on a local SSD but the files are on a network--this is fine--but you really should not put the database on a remote machine unless you know what you are doing and have a backup in case things go wrong.</p>
2602
-
<p><strong>Do not install to a location with filesystem-level compression enabled! (e.g. BTRFS)</strong> It may work ok to start, but when the SQLite database grows to large size, this can cause extreme access latency and I/O errors and corruption.</p>
2602
+
<p><strong>Be careful installing to a location with filesystem-level compression or versioning enabled!</strong> It may work ok to start, but when the SQLite database grows to large size, this can cause extreme access latency. I have been told that BTRFS works well these days, and they have been working specifically to improve SQLite performance, but keep it in mind if you are using anything else. Using NTFS compression mode on the database files is not a good idea. Compressing a hydrus database backup is fine, but the live db is sensitive.</p>
<p>Hydrus is made by an Anon out of duct tape and string. It combines file parsing tech with lots of network and database code in unusual and powerful ways, and all through a hacked-together executable that isn't signed by any big official company.</p>
@@ -2813,7 +2813,7 @@ <h2 id="backing_up_small">Backing up with not much space<a class="headerlink" hr
0 commit comments