2026 PostgreSQL 14 End of Support: How to Test NVMe Before Migration?

Do not approve an NVMe device from its advertised throughput or a single fio score: test the planned WAL path with pg_test_fsync, compare fio jobs with your own I/O pattern, then validate the database workload in an isolated environment. Set the pass criteria from your service-level objectives (SLOs) and pre-migration baseline, not a universal score.

This applies if you are deciding whether storage is ready for a PostgreSQL migration—not if you need a pg_upgrade walkthrough or a disk-capacity estimate. PostgreSQL’s version policy lists November 12, 2026, as the final support date for PostgreSQL 14; check the official versioning policy when setting your migration schedule.

Your timeline: Before the migration window, record your baseline and SLOs. During acceptance, test sync writes, random I/O, and a representative database workload. Before production approval, review the evidence and rehearse recovery from a backup stored off the production server.

Who should read this:
DBAs responsible for PostgreSQL 14 lifecycle planning who need a storage acceptance process before migration.
Technical leads assessing a dedicated database server against a real workload.
Operations and backend engineers preparing a migration rehearsal and comparing synthetic results with database behavior.

What PostgreSQL 14 NVMe acceptance should prove

PostgreSQL 14 NVMe acceptance is not a search for a headline throughput figure. It is a decision process: does the proposed storage behave acceptably for the workload you intend to migrate, and can you recover if the migration or storage fails?

Keep the scope narrow. This article covers disk and workload acceptance. It does not choose a target PostgreSQL release, estimate migration space, or prescribe a general-purpose “good” IOPS score. Those decisions need their own requirements and evidence.

PostgreSQL’s WAL reliability documentation explains why storage write behavior matters: PostgreSQL relies on the operating system and storage stack to honor synchronization requests. A fast sequential-write result cannot, by itself, establish that the full WAL path behaves as expected.

Record your criteria before testing. For example, define which transaction-latency percentiles must remain within your SLO, which database waits are acceptable under your expected workload, and what change from the current baseline would block approval. The actual thresholds must come from your team’s requirements and measurements; this guide does not set them.

First step: establish the path and the baseline

Before running tools, identify where the candidate system will store PostgreSQL data and WAL. If they are on separate filesystems, record each target path and test each relevant path independently. Don’t assume that a test on one mount says anything about another.

Capture the current environment as well as the candidate. Note the PostgreSQL build and configuration, filesystem, mount options, storage path, operating-system version, and competing background activity. Record whether the candidate is idle or under other load. Without that context, a result is difficult to reproduce or compare.

The baseline should reflect the workload you intend to move: representative data volume, read/write mix, concurrency, and the application’s normal transaction patterns. Mask or use non-production data in the test environment. Keep the production system available as a reference; do not turn it into the target of destructive storage tests.

A usable acceptance plan has distinct evidence for each question:

Test option What it helps answer What it cannot establish alone
pg_test_fsync on the planned WAL filesystem How the tested synchronization methods compare on that path Full database throughput or application transaction latency
fio jobs on a dedicated test file or isolated device How selected random-read, mixed-I/O, and sync-write patterns behave Whether PostgreSQL and the application meet their SLOs
Isolated database workload test How the database behaves with representative data and application patterns Whether results will persist under a different configuration or background load

Use the official pg_test_fsync documentation to understand the utility’s purpose and output. Treat its results as diagnostic input—not as a database benchmark or a guaranteed prediction of production performance.

How should you read pg_test_fsync results?

Run pg_test_fsync against a test file on the filesystem intended for pg_wal. Save the full output and note the path, filesystem, mount configuration, and test conditions. The comparison is useful when it shows how supported synchronization methods behave on your candidate path; the output is not a direct estimate of transactions per second.

Interpret the result in the context of the method PostgreSQL will actually use. Don’t select a PostgreSQL setting just because one method looks fastest in a tool output. Confirm the active synchronization configuration, understand the candidate’s storage stack, and compare the relevant result with your current baseline. The PostgreSQL documentation describes the utility as a way to provide information about fsync and related synchronization methods, not as a substitute for testing a real database workload.

This answers the practical question of how to interpret pg_test_fsync: use it to investigate the WAL synchronization path, retain the output, and then confirm the result with an isolated PostgreSQL test. If a result looks unusually favorable or inconsistent, first check that you tested the intended filesystem and that the test conditions match the intended configuration.

Second step: use fio to test the I/O patterns you care about

A database disk test should match a question, not chase a single score. Random reads help investigate access patterns that differ from long sequential transfers. Mixed random reads and writes help explore concurrent I/O behavior. Synchronous-write jobs help examine write completion behavior, but their settings must be chosen carefully and interpreted in the context of PostgreSQL’s own synchronization path.

The fio documentation describes the job options that affect results, including read/write patterns, block size, queue depth, and synchronization behavior. Cache-bypass settings also change what a test measures. Document each choice; otherwise, two fio reports may not be comparable even if they use the same device.

Use a new, dedicated test file on an isolated test filesystem, or a device explicitly reserved for testing. Never point a destructive write job at a live production data device or a path containing database files. Check the target path before execution and make sure no job can overwrite existing data.

A command template can help make the test repeatable. Replace the variables with values chosen for your workload and test plan; do not treat these placeholders as recommended settings:

fio --name=pg-randread \
  --filename=/mnt/isolated-test/pg-nvme-testfile \
  --size="$TEST_SIZE" \
  --rw=randread \
  --bs="$BLOCK_SIZE" \
  --iodepth="$QUEUE_DEPTH" \
  --direct="$CACHE_BYPASS_SETTING" \
  --group_reporting

For mixed read/write behavior, create a separate job using the documented mixed I/O mode and record the chosen ratio. For synchronous writes, use fio’s documented synchronization options and specify the operation you intend to study. Don’t simply reuse a random-read job and call it a sync-write test. Keep each job’s output and settings together so you can repeat the test after a configuration change.

The result should include the selected I/O pattern and configuration, not just the reported throughput or IOPS. Review latency distributions and whether the behavior changes under the concurrency relevant to your service. fio helps isolate storage questions; it cannot show whether PostgreSQL’s query plan, cache behavior, locks, or application request flow will meet your SLO.

fio test type Set and document Review alongside
Random read Read pattern, block size, queue depth, and cache-bypass choice Read latency and the database’s read-related waits
Mixed random I/O Read/write mix and concurrency settings Latency changes under concurrent reads and writes
Synchronous write Synchronization option and test-file location pg_test_fsync output and WAL-related database behavior

This is why fio alone cannot determine whether a disk suits PostgreSQL. It answers the question posed by the job file, not every question about a database server. If the fio result and database result disagree, check the test path and configuration before making a purchasing decision.

Third step: verify behavior with a representative database workload

Use an isolated environment with representative data and application read/write patterns. A pgbench test can help create repeatable database activity, but its workload must resemble the behavior you intend to migrate. If your application has important query shapes or write bursts that a generic test does not represent, add an application-level test.

Follow the pgbench documentation to understand its modes and options. Record the test configuration and compare the result with your team’s own baseline and SLOs. Don’t treat a default test as a proxy for a different workload.

During the run, correlate transaction-latency distributions with database waits and operating-system disk measurements. PostgreSQL’s monitoring and statistics documentation explains the available database statistics. The goal is to identify what constrained the test: storage latency, CPU pressure, locks, query behavior, or another part of the system.

Evidence What to compare Decision use
Database transaction latency Candidate result against the same workload on your baseline Check whether the application’s SLO is met
PostgreSQL waits and statistics Changes during the workload, not only after it ends Investigate whether storage or another database condition is limiting work
Operating-system disk metrics Activity and latency during the same test window Correlate database behavior with the storage path
Application-level outcomes Representative reads, writes, and error behavior Confirm the test reflects the service you plan to migrate

Don’t use third-party benchmark results as a performance promise for a candidate machine. They may use different data, filesystems, settings, concurrency, or cache conditions. Your acceptance decision should rest on reproducible evidence from your workload and your baseline.

Fourth step: resolve mismatches and document the decision

When fio looks strong but the database workload misses its SLO, don’t average the scores or pick the more favorable result. First verify that both tests used the intended filesystem and storage path. Check the fio job settings, PostgreSQL synchronization configuration, filesystem and mount options, background activity, and test concurrency. Then repeat the relevant test under controlled conditions.

The reverse mismatch also needs investigation. A weak synthetic result may come from a job that does not reflect the actual workload, a cache-bypass choice, or a queue depth that does not match the test objective. Recheck the job definition and test conditions before rejecting storage. One number—whether it is bandwidth, IOPS, sync-write timing, or transaction latency—cannot stand in for the rest of the evidence.

Keep an acceptance record that another engineer can reproduce:

Acceptance record item Minimum evidence to retain Approval question
Test target Device, mount, filesystem, and WAL path Did every test target the intended storage path?
Test configuration Tool settings, PostgreSQL settings, and workload definition Can another engineer reproduce the test?
Results Raw outputs, database observations, and baseline comparison Did the actual workload meet the team’s criteria?
Data protection Redundancy design and off-machine backup evidence Can you recover if the server or local storage is lost?

A storage pass is not a data-protection plan. AmdBit’s confirmed product facts specify no hardware RAID, so you need to plan redundancy yourself, such as software RAID or replication where appropriate. Neither replaces an off-machine backup. Keep the backup separate from the production server and rehearse a restore before you approve production use. PostgreSQL’s backup and restore documentation covers the recovery methods and considerations to include in that rehearsal.

For the purchasing handoff, preserve the same evidence rather than sending only a score or a verbal summary. If the test is not reproducible, the team cannot tell whether a later result reflects a storage change, a configuration change, or a different workload.

When is a dedicated database server the better fit?

If your current shared cloud instance has variable neighbor contention, resource limits that leave too little room for PostgreSQL’s working set, or storage performance that is difficult to evaluate against your workload, an independent server can make the acceptance boundary clearer: you can test the actual storage path and control the database configuration directly. That still does not guarantee performance or prevent data loss; your own tests, redundancy plan, and off-machine backups remain essential.

If the workload is short-lived, light, or needs rapid elastic scaling more than predictable long-term resource ownership, a managed database or shared cloud instance may be the better fit. Don’t rent dedicated hardware just to avoid running a benchmark.

Before proceeding, compare your acceptance record with the NVMe, memory, and operating-system options currently listed for AmdBit, rather than assuming an unverified configuration. You can review AmdBit’s server options, then decide from your test results whether the candidate is ready for a migration rehearsal. If the listing leaves a configuration or access question unresolved, check AmdBit’s service answers before committing.

Further reading

Validate Your PostgreSQL Migration on Dedicated AMD Hardware

Run your migration tests on an AmdBit dedicated AMD EPYC 7543P server with 32 cores and 64 threads reserved for your workload.