Sizing an Orthanc archive: studies, storage and database

Sizing an Orthanc archive means translating study volume and retention into disk, index and server needs before you buy hardware. This page explains the drivers, when the SQLite index must give way to an enterprise database, and what to measure and confirm.

On this page

Sizing an Orthanc archive starts with study volume and retention

Sizing an Orthanc archive is driven by study and instance volume, the retention period and how the archive is accessed, and the index and the DICOM file storage must be sized separately because they grow differently. A team planning an archive that must hold years of studies needs to answer three questions before buying hardware: how much disk the files will consume, how large the database index will become and how much server power is needed to serve queries, storage writes and transfers at the expected load. This work is needed before procurement, before a migration from another archive, and when a pilot that started small begins to grow faster than expected. Orthanc publishes no universal sizing formula, so every figure has to come from your own measurements: average study and instance sizes from your modalities, your monthly intake, the retention rule your compliance team has set and the peak number of concurrent viewers and transfers.

A sizing exercise should produce three deliverables. The first is a growth model that projects instances, studies, patients and bytes per month over the retention period, with separate scenarios for normal intake, peak periods and any planned onboarding of new modalities or sites. The second is a database and storage plan that states how large the index will be, which engine will hold it, and where the DICOM files will live, including whether the files stay on local disks, network storage or object storage supported by the official plugins. The third is a server profile covering CPU, memory, network throughput and the SSD capacity needed for the database. Ask your team to confirm how each figure was measured, because a model built on sample studies from one modality often understates the mix of large multi-frame and secondary capture files that appear later.

Use the growth model to test the design before you commit. Check whether the projected instance count will pass the point where the project recommends moving the index from SQLite to an enterprise database engine, and confirm with the Orthanc documentation which database plugin fits your team's skills and backup tooling. Then decide whether retention will be permanent, time-limited or governed by a deletion policy, because that choice changes the storage curve more than any hardware figure. Finally, record the assumptions in writing so that a later capacity review can compare actual intake against the model instead of starting again from zero.

What drives storage growth in an Orthanc archive

Storage in an Orthanc archive grows from several inputs that compound: how many studies the modalities send, how large each instance is, how long data is kept, and what extra copies the server or your backup process creates. Measure each one separately before you add them together, because the same archive can grow at very different rates depending on modality mix and policy.

Modality volume per period

Each modality and PACS feeding the archive sets the rate of new studies and instances. Count studies and instances per modality per month, and separate routine acquisitions from repeat or prior-study forwarding, which can double-count the same images across sites. Ask each modality owner for the monthly study count and the share of multi-frame or series-heavy exams. Totals only mean something per source, so keep a per-AE-title breakdown from the start.

Average instance size by modality

Instance size varies widely by modality, body region and acquisition settings, so a single average for the whole archive hides the real growth. Sample a representative set of instances from each modality, record the on-disk size per instance, and note whether the images are uncompressed or already compressed on acquisition. Ask vendors for the typical object size of their protocols rather than relying on a generic figure.

Retention and deletion rules

Retention decides how much of the growth stays on disk. Write down which studies must be kept, for how long, and which can be removed, then check whether Orthanc deletion or recycling settings will enforce that policy. A rule that keeps everything makes capacity a straight-line projection; a rule that deletes by age or by patient count changes the ceiling you size for. Confirm the policy with your records and compliance owners, not only with the imaging team.

Scalability FAQ

Compression and transcoding choices

Whether instances are stored as received or transcoded to a compressed transfer syntax changes both the file size and the CPU load on ingest and retrieval. Decide which syntax the archive keeps, whether compression is applied on store, and how often you must return images in a format that a viewer or PACS can read. Test a sample of each modality both ways and record the size and retrieval time difference before you commit to a policy.

Derived and cached data

Some storage is not the DICOM images themselves. Index tables, cached previews, rendered thumbnails, temporary files from transfers and job artifacts all take space and can grow with use rather than with intake. Measure the database and the storage area separately, and check which folders and tables grow when viewers are heavily used. Keep these figures apart so that a spike in viewing does not look like a spike in acquisition.

Backup copies outside the server

Backups multiply the footprint of the archive. Each retained backup generation of the database and the file storage occupies space on a separate target, and that space is outside the Orthanc server. Decide how many generations to keep, how often full and incremental copies run, and where they are stored, then add that to the server estimate. Ask your backup owner for the retention period in writing so the capacity figure reflects the actual policy.

When the index outgrows SQLite and needs PostgreSQL

Orthanc ships with an embedded SQLite index, which is the default and needs no separate server. The Orthanc project advises replacing it with an enterprise database engine once the archive stores several hundred thousand DICOM instances, and it recommends the PostgreSQL plugin for large datasets. The threshold is a guide, not a switch that fires at a fixed count, so the decision should rest on your projected instance count, query load and how many nodes will write to the index. Plan the migration before the archive reaches that size, because moving a large index later means more downtime and more verification work.

Moving to PostgreSQL changes the sizing model. The database server becomes its own component with its own CPU, memory and SSD capacity, and it needs to be sized separately from the Orthanc nodes that call it. Index size follows the number of instances and the volume of metadata stored for each one, not the total size of the DICOM files on disk. A archive with large files but moderate instance counts can have a small index, while a site with many small instances, such as multi-frame or high-slice-count series split into many objects, can produce a large one. Ask the vendor or the Orthanc Book for index growth guidance for your modality mix, and measure it on a copy of your data before you buy hardware.

Since Orthanc 1.9.2 with PostgreSQL and MySQL plugins 4.0, several Orthanc instances can read and write the same database. This allows horizontally scaled and highly available designs, but it also means the database must be sized for the combined load of all nodes, plus the connections each node opens. Before you commit to a design, confirm the current plugin versions, the supported PostgreSQL versions and how the index behaves under concurrent writes with the Orthanc Book, and check the Orthanc release notes for changes that affect the database layer.

Choosing the index and file storage for each archive size

This table compares the index options (SQLite, PostgreSQL, MySQL or MariaDB, ODBC) and the file storage options (local storage area, S3, Azure and Google Cloud object storage) against when each fits and what it adds to operations. Read each row against your expected instance count, and treat the takeaway as a starting point to confirm with your platform team before choosing a design.

OptionWhen it fitsWhat it adds to operationsWhat to confirm
SQLite index (default)Small archives well below several hundred thousand DICOM instances, such as a single clinic or a test environmentNothing beyond the Orthanc server itself; backups are file-based and simpleYour expected instance count over the retention period and whether a later move to an enterprise engine is planned
PostgreSQL pluginLarge archives at or beyond several hundred thousand instances, and multi-instance setups sharing one indexA database server to size, back up, patch and monitor; SSD-backed storage for the indexPlugin version compatibility with your Orthanc release, and the PostgreSQL version your team supports
MySQL or MariaDB pluginSites with an existing MySQL or MariaDB platform and operations skillsA parallel database engine to run, with its own backup, upgrade and tuning routineWhich engine and version the plugin supports in your Orthanc release and whether your team already operates it
ODBC pluginSites that must reach a database engine through a standard driver their organization already approvesDriver installation and maintenance on each Orthanc host, plus driver-level troubleshootingDriver and database combinations that the plugin supports and how they are tested before upgrades
Local storage areaSmall to mid-sized archives where DICOM files stay on the Orthanc host or a mounted diskDisk capacity monitoring, file-level backups and growth planning on the serverFree space headroom for expected growth, and whether shared storage is needed for more than one instance
S3 object storage pluginArchives that need object storage capacity separate from the Orthanc host, on an S3-compatible platform you run or useCredentials, bucket policies, endpoint availability and object-level backup or replicationWhich storage plugin release matches your Orthanc version and that your S3-compatible platform is supported
Azure or Google Cloud object storage pluginsOrganizations that already run archives or governance controls on those cloudsCloud account, network, key management and egress considerations to review with the cloud teamPlugin availability for your Orthanc version, and the cloud region, retention and encryption requirements that apply

How modalities, Orthanc, the index and storage fit together

The flow starts at modalities and PACS, which send instances to Orthanc over DICOM. Orthanc writes metadata to the index database and DICOM files to the storage area or object storage, so the index tracks study count while files track total volume. Viewers read through the REST API and add load without adding stored data. A separate backup copy must cover both the index and the files, so check that each is sized and copied together.

Data flow from modalities into Orthanc, with the sizing-relevant stores and the backup copy.

How to size an archive in six steps

This sequence turns study volumes and retention rules into a sized storage, database and server plan that you can check against a pilot before any hardware or cloud spend.

  1. Collect current study and instance counts

    Gather study, series and instance counts for each modality, site and time period from your existing PACS, modality logs or any current archive. Ask the imaging IT lead to export counts by modality and by month so growth patterns are visible, not just a total. The step is done when you have a table of current counts per modality and a note of where each number came from, so a reviewer can trace it back to the source system.

  2. Set retention and deletion rules in writing

    Work with the data owner, typically the clinical or research lead and the records or compliance function, to agree how long each class of study must be kept and when it may be deleted. Record the rules per modality or study type, including any legal hold or patient-level exceptions. The step is done when the signed or emailed decision names the retention period for each class, because every later number depends on it and a retention period that is only assumed will change the storage model.

  3. Measure average stored size on a sample

    Pull a representative sample of studies from each modality and measure the on-disk size per instance as Orthanc would store it, including any transfer syntax and compression you plan to use. Count instances per study so you can convert studies to bytes. Keep the sample size and method in your notes. The step is done when you have an average size per instance for each modality, along with the range, since CT, MR and digital pathology often differ by an order of magnitude.

  4. Project growth across the retention window

    Multiply the current monthly volume by the average instance size and by the retention period, then add growth for new modalities or sites. Run a low, expected and high scenario so the budget owner sees the sensitivity. The step is done when you have a table of total instances and bytes at the end of each year of retention for each scenario, with the assumptions written beside it so they can be challenged.

  5. Size database and storage separately

    Treat the Orthanc index and the DICOM files as two sizing problems. Estimate database growth from the instance count, not from file bytes, and confirm the planned engine with the Orthanc scalability guidance, which recommends replacing the built-in SQLite index with an enterprise engine once an archive holds several hundred thousand instances. Put the database on fast local SSD storage and size the file store for the projected bytes plus headroom for backups and growth. The step is done when the database and file store each have their own capacity figure and a stated reason for the chosen storage type.

  6. Plan server resources and backup copies

    Decide CPU, memory, network and the number of Orthanc instances from expected peak transfer and query load, then add the storage for backup copies and any mirror, using the retention figures from the earlier steps. Ask the vendor or partner to state how each figure was derived. Validate the whole model with a pilot load: import a known number of studies, compare the Orthanc REST statistics for counts and bytes against your expected totals, and measure database response under query load. The step is done when pilot counts match the model within an agreed tolerance and the purchase request cites that pilot evidence.

How sizing differs for a clinic, a hospital and a multi-site network

A single clinic or small group usually has modest study volumes, a short list of modalities and a small number of users. Sizing is driven less by peak load and more by how long studies must stay available and how much disk the practice can justify. The main risk is underestimating growth from a few modalities that produce large series, such as CT or digital pathology, over the years the archive must keep them.

  • Retention period: Decide how long studies stay online locally before they are moved, deleted or kept only at a partner site. This single answer sets most of the storage figure.
  • Modality mix: Ask which modalities write to the archive and how large their typical series are. Image-heavy modalities drive disk growth far more than the number of studies.
  • Index choice: A small archive often starts on the built-in SQLite index. Confirm with the Orthanc Book scalability guidance when the instance count makes an enterprise database engine worth planning for.
  • Backup target: Size the backup copy with the primary archive, since a clinic with no spare disk often has no usable backup.
  • Server role: Decide whether the same machine runs the viewer, the modality connections and other services, because shared hosts reduce the headroom available for the archive.

Before sizing, confirm the expected monthly study count, the retention rule and who is accountable for disk alerts.

Security and operations that change capacity needs

Access, encryption, logging and recovery decisions do not only protect the archive. Each one adds storage, compute or restore time that the capacity estimate has to carry. Review these choices with the security team before you fix disk and server numbers, not after.

Localhost or reverse proxy access

By default Orthanc only accepts HTTP connections from localhost. Remote access usually means a reverse proxy in front of Orthanc, which adds a component to size for connections, TLS termination and logging. Confirm with the security team where TLS ends, which proxy handles client traffic, and how many concurrent viewer sessions the proxy must carry.

Security FAQ

Authentication before remote access

When RemoteAccessAllowed is enabled, the Orthanc documentation says AuthenticationEnabled should be true with users defined in RegisteredUsers. Authentication itself costs little CPU, but it changes who generates load and which accounts appear in logs. Confirm with the security team whether users come from local configuration or an external identity service, since an advanced authorization plugin adds a web service call per REST request.

Authorization plugin

Script and export routes disabled

The Orthanc security FAQ warns that the /tools/execute-script route can run any system command and that the export route can overwrite files, so both should stay disabled. Keeping them off means exports must go through approved channels, which affects how you plan staging space and transfer throughput. Confirm with the security team that no workflow depends on those routes before you size the export area.

Security FAQ

DICOM TLS for inter-site exchange

Orthanc supports DICOM TLS encryption for inter-site exchanges starting with version 1.9.0. Encrypted associations do not change what is stored, but they do add handshake work on busy links and matter when you plan transfer windows and peer counts. Confirm with the security team which sites require TLS, which certificates they will issue, and how renewals are scheduled.

Security FAQ

Audit and log retention

Access logs, audit records and Orthanc logs grow with every request, and many security programs require them to be kept for a defined period. Logs can rival the archive in growth rate on busy systems, so they need their own volume and rotation plan. Confirm with the security team the retention period, where logs are shipped, and whether they must be tamper-resistant.

Restore capacity for backups

Backups double the storage footprint unless they are kept off the primary volume, and a restore needs free space for both the index and the DICOM files. Plan the backup target, retention copies and restore test duration together with the archive size. Confirm with the security team how backups are encrypted, who can restore, and how often a restore test is required.

Common questions about sizing an Orthanc archive

What drives the cost of an Orthanc sizing study?

The cost depends mainly on how much of the archive you can measure and how many systems the study must cover. Drivers include the number of sites, the number of Orthanc instances or PACS sources feeding the archive, how much historical data must be analyzed, the retention rules you need modeled, and whether the study covers only storage or also database, memory and network capacity. Fewer unknowns and a clearly defined set of outputs usually shorten the work. Ask any provider for a written list of deliverables, the inputs they need from you, and the assumptions behind the recommended disk, database and server sizes, so you can compare quotes on the same basis.

How long does a sizing exercise take?

The duration depends mostly on data availability. If you already have study counts, instance counts, storage growth history and a hardware inventory, the analysis can start quickly. If those numbers must be extracted from several Orthanc nodes, legacy archives or modality logs, collecting and checking them often takes longer than the modeling itself. Retention decisions made by your clinical and legal teams can also hold the work up. Orthanc Team and DeployOpen both scope work in writing, so ask for the timeline tied to the specific inputs and approvals the plan depends on.

What does the work need from our team?

A sizing study needs accurate inputs from your side. The most useful items are the current number of studies and DICOM instances, the average and peak daily ingest, the retention policy for each modality or department, the expected access pattern (how often old studies are opened, retrieved or sent to peers), and an inventory of the servers, storage arrays and network links that will host Orthanc. Your team should also name an owner who can confirm growth assumptions and sign off on the results. Missing inputs are the most common reason a sizing estimate has to be revised later.

Can our internal team size the archive without outside help?

Yes, a team with storage, database and Linux experience can make a reasonable first estimate using the Orthanc documentation and its own measurements. The harder parts are usually modeling index growth under real access patterns, deciding when a database engine change is needed, and deciding how backups, replicas and retention interact with capacity. An outside review is most useful when the archive is large, shared across sites, or subject to compliance requirements that your auditors will test. Whichever route you take, document the assumptions so they can be checked as the archive grows.

When is SQLite no longer enough for an Orthanc index?

The Orthanc project says the built-in SQLite index should be replaced by an enterprise database engine once the server stores several hundred thousand DICOM instances. For larger datasets, the project recommends the PostgreSQL plugin, which is also the basis for running several Orthanc instances against one shared index. Plan the switch before you reach that scale, because migrating a large index is easier on a quiet system with recent backups. Confirm the current database recommendations in the official Orthanc Book scalability FAQ before you fix the design.

Is object storage required for a large Orthanc archive?

No. Orthanc can keep DICOM files on a local or network file system, and the database index is separate from that choice. Object storage such as S3, Azure or Google Cloud is available through official plugins and is useful when you want elastic capacity, cloud-hosted data, or storage managed outside the server. The decision should follow your data residency rules, your backup design, your network bandwidth to the storage and your team's operating skills. Verify which storage backend and plugin versions match your Orthanc release before you commit.

How does DeployOpen quote an Orthanc sizing engagement?

DeployOpen does not publish a price list. Engagements are fixed-scope, and the quote follows from a written scope that states the systems covered, the inputs you will provide, the deliverables such as the sizing model and recommendations, the timeline and the acceptance criteria. Orthanc Team separately sells deployment, configuration and development services and pre-paid dedicated support hours valid for 12 months, quoted on request. When comparing options, ask each provider to itemize who does which task, what is one-time work, what recurs, and what changes if your archive grows faster than the assumptions.

Limits to confirm in your own environment

The figures and behaviors the Orthanc project reports are useful starting points, not sizing guarantees. Each card below names one assumption that a sizing model depends on and the check that confirms it for your hardware, version and data.

Reported production scale is not a guarantee

The Orthanc Book cites production hospital deployments holding more than 65 TB of data, 340,000 studies and around 150 million instances. Those figures describe specific sites with their own hardware, network, storage layout and workload. Treat them as proof that the software can reach that scale, not as a capacity your server will reach. Ask for the storage, database and memory configuration behind any reference you rely on.

Scalability FAQ

Memory estimates depend on the version

Orthanc 1.13.0, released on 2026-08-15, rewrote storage-area access and DICOM parsing and transcoding to improve caching and reduce memory use. Memory figures measured on 1.12.x releases may overstate or misstate what 1.13.0 needs. Repeat your memory and cache measurements on the exact version you will run before fixing server RAM, and record the version in the sizing worksheet.

Orthanc NEWS file

Plugin support for each back end

Database and object storage plugins, including PostgreSQL, MySQL/MariaDB, ODBC, S3, Azure and Google Cloud, are versioned separately from the core. Confirm that the plugin version you select supports the core version you run, the database engine version you have, and the storage features your design needs, such as encryption or compression. Do not assume a plugin released for an earlier core will run unchanged after an upgrade.

Orthanc plugins list

Index behavior follows instance count

The built-in SQLite index is intended for smaller archives, and the project recommends an enterprise database engine once an archive holds several hundred thousand DICOM instances. Index growth depends on how many instances you store and how much metadata each carries, not only on total terabytes. Measure index size and query times against a copy of your real metadata, because a few large studies and many small instances stress the index differently.

Instances before database move
Several hundred thousand
Scalability FAQ

A pilot load must test the model

A sizing model built on paper assumptions needs a pilot before purchase or contract commitments. Load a representative slice of your modalities and retention pattern, then measure ingest rate, storage growth per month, index size, backup duration and restore time. Compare those numbers with the model and adjust the estimate. Ask any partner to show the pilot results behind their proposed server and disk sizes.

Retention duties belong to the data owner

How long images must be kept, whether deletion is allowed, and where copies may be stored depend on contracts, national rules and institutional policy, not on Orthanc settings. Confirm the retention period, legal hold needs and deletion rules with the data owner before you size storage, because they multiply total capacity and backup scope. Orthanc recycling settings that remove old studies only fit the design if the owner has approved that deletion.

How DeployOpen scopes an Orthanc sizing engagement

DeployOpen approaches sizing an Orthanc archive as a written, fixed-scope engagement that starts from your study volumes, retention rules and modalities. The work produces a sizing model, a tested reference build and documentation your infrastructure and imaging teams can maintain after handover.

How we scope

  • We collect study, instance and modality volumes, growth rates and retention rules before any sizing estimate is written.
  • The written scope names which Orthanc storage and database options are assessed, such as the PostgreSQL plugin or object storage.
  • Scope also states which servers, network paths and hospital systems are in or out of the sizing work.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.

How we build

  • We build a reference Orthanc environment in your infrastructure to measure database growth and storage use under your own data.
  • Load tests apply your expected study ingestion and viewer query patterns, and results are recorded against the sizing model.
  • Database placement, SSD requirements and backup storage are sized from measured index and file growth, not assumptions.
  • Each sizing assumption is traced to a measurement, a vendor fact or a stated requirement that you can review.

How we hand over

  • You receive the sizing model, the test results, and a capacity table showing storage and database growth by year.
  • Documentation covers the configuration choices behind each figure, so your team can re-run the model when volumes change.
  • A review session walks your infrastructure, imaging and security teams through the assumptions and the open risks.
  • Items that depend on your own environment, such as network bandwidth or hardware procurement lead times, are listed for you to confirm.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • A retainer can re-run the sizing model when study volumes, retention periods or Orthanc releases change the picture.
  • Support covers capacity reviews at intervals agreed in the written scope, with the same measurements used each time.
  • Support requests and changes to the sizing model are recorded in writing so the archive history stays traceable.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.