Closed GoogleCodeExporter closed 9 years ago
The SQLite index of Orthanc should be stored directly on a local hard drive. It
should not be stored on any cloud storage, as it is accessed and modified
continuously: The varying delay coming from the cloud storage will impact
SQLite, that contains evolved locking and timeout mechanisms:
https://www.sqlite.org/whentouse.html ("Situations Where Another RDBMS May Work
Better")
Please also note that the corruption you observe might also come from s3fs or
SQLite. No way to know...
This situation contrasts with the file storage, that can be put on the cloud
using a plugin, because file storage is handled directly by Orthanc and not by
SQLite.
In your case, if you really wish to use Orthanc in the Amazon cloud, you should
put the SQLite index on the hard disk of the virtual machine (using the
"IndexDirectory" option), and put the DICOM files on the s3fs file system
(using the "StorageDirectory" option). You can then backup/restore the SQLite
index to s3fs, provided Orthanc is properly stopped.
I tag the issue as "Won's fix" because cloud support for the SQLite index is
clearly out of the scope of Orthanc. This might change with the support of
PostgreSQL.
Original comment by s.jodo...@gmail.com
on 23 Jan 2015 at 8:32
Original issue reported on code.google.com by
MaxPower...@gmail.com
on 16 Jan 2015 at 8:42