# Scaling Jira to ~6M Versions

DevFeed: [Scaling Jira to ~6M Versions](<https://devfeed.tech/articles/scaling-jira-to-6m-versions-129709.md>)

Original publisher: [Read original article](<https://www.atlassian.com/blog/jira/scaling-jira-to-6m-versions>)

Author: Jovana Dunisijevic

Published: 2026-11-11T08:10:36Z

Content type: article

Language: en

Sources: [How We Build Archives - Inside Atlassian](<https://devfeed.tech/sources/how-we-build-archives-inside-atlassian.md>)

Topics: [jira](<https://devfeed.tech/topics/jira.md>), [search-engines](<https://devfeed.tech/topics/search-engines.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Amazon OpenSearch Service](<https://devfeed.tech/topics/amazon-opensearch-service.md>)

Tags: [how-we-build](<https://devfeed.tech/tags/how-we-build.md>), [jira](<https://devfeed.tech/tags/jira.md>), [loading](<https://devfeed.tech/tags/loading.md>), [memory](<https://devfeed.tech/tags/memory.md>), [query](<https://devfeed.tech/tags/query.md>), [release](<https://devfeed.tech/tags/release.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [search](<https://devfeed.tech/tags/search.md>)

## AI overview

Jira Search cut P99 resolution time for project-scoped version queries from about 18 seconds to 92 milliseconds by detecting project clauses and limiting version lookups to that project. This reduced the scan from millions of rows to hundreds and estimated memory use from about 3 GB to 250 KB. For unscoped queries, Atlassian split large ID fetches into parallel chunks: scale tests reduced SQL fetch time from over 30 seconds to under 700 milliseconds. Batch size had to balance index use against too many parallel calls. An array-based PostgreSQL query was considered, but its performance was not established; the post says that requires direct testing with representative data and concurrency. The excerpt also describes plans to index version data in the OpenSearch-based JSIS search engine.

## Source excerpt

Jira Search has to keep up as our customers' data grows. Our largest customers tracks millions of releases, and for us that meant supporting nearly 6 million software release versions. At that scale, even preparing a search query became a bottleneck. It relied on loading versions into memory and filtering them there, which stopped being [...] The post Scaling Jira to ~6M Versions appeared first on Inside Atlassian.