Mercurial > hg > orthanc-databases
view TODO @ 445:cec6a0cd399f pg-transactions
now logging DatabaseCannotSerialize as a warning only with the details (Orthanc will log it as an error after all retries)
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 10 Jan 2024 15:25:03 +0100 |
parents | d700c8f9fc24 |
children | f4244c7e2725 15e609c439d1 |
line wrap: on
line source
============================== == Orthanc database plugins == ============================== ----------------------- Common - Database index ----------------------- * Performance of joins in LookupResources: Create cached statement for LookupResources, that are grouped to search up to, say, 10 tags, instead of recompiling for each request --------------------- Common - Storage area --------------------- * Implement the "StoreDicom" option from the default filesystem storage area to run MySQL/PostgreSQL storage in index-only mode: https://orthanc.uclouvain.be/book/contributing.html * Performance: Add a pool of connections to PostgreSQL/MySQL, as already done in the database index plugins ---------- PostgreSQL ---------- * reported issue to validate: uploading lots of files through HTTP with: - 1 client and IndexConnectionsCount==1 took 100s - 2 client and IndexConnectionsCount==2 took 600s (lots of transaction replayed) * Seems Orthanc might deadlock when there are plenty of conflicting transactions: https://groups.google.com/g/orthanc-users/c/xQelEcKqL9U/m/HsvxwlkvAQAJ https://groups.google.com/g/orthanc-users/c/1bkClfZ0KBA/m/s4AlwVh3CQAJ ----- MySQL ----- * Store revisions for metadata and attachments in MySQL (this is already implemented in PostgreSQL) * MySQL performance => implement GlobalProperty_GetTotalSizeIsFast: https://groups.google.com/d/msg/orthanc-users/kSR4a110zDo/D7e4ITR8BwAJ * Add index to speed up wildcard search, as already done in PostgreSQL: - https://dev.mysql.com/doc/refman/5.5/en/fulltext-search.html + ALTER TABLE table ADD FULLTEXT index_name(column1); - https://dev.mysql.com/doc/refman/8.0/en/index-btree-hash.html