Home
International Journal of Science and Research Archive
International, Peer reviewed, Open access Journal ISSN Approved Journal No. 2582-8185

Main navigation

  • Home
    • Journal Information
    • Abstracting and Indexing
    • Editorial Board Members
    • Reviewer Panel
    • Journal Policies
    • IJSRA CrossMark Policy
    • Publication Ethics
    • Issue in Progress
    • Current Issue
    • Past Issues
    • Instructions for Authors
    • Article processing fee
    • Track Manuscript Status
    • Get Publication Certificate
    • Become a Reviewer panel member
    • Join as Editorial Board Member
  • Contact us
  • Downloads

ISSN Approved Journal || eISSN: 2582-8185 || CODEN: IJSRO2 || Impact Factor 8.2 || Google Scholar and CrossRef Indexed

Peer Reviewed and Referred Journal || Free Certificate of Publication

Research and review articles are invited for publication in March 2026 (Volume 18, Issue 3) Submit manuscript

Reducing postgreSQL read and write latencies through optimized fillfactor and hot percentages for high-update applications

Breadcrumb

  • Home
  • Reducing postgreSQL read and write latencies through optimized fillfactor and hot percentages for high-update applications

Murali Natti *

Lead Database Engineer | DevOps Lead | Database Architect | Cloud Infrastructure Solutions Expert | DB Security Lead

Review Article

 

International Journal of Science and Research Archive, 2023, 09(02), 1059-1062.
Article DOI: 10.30574/ijsra.2023.9.2.0657
DOI url: https://doi.org/10.30574/ijsra.2023.9.2.0657

Received on 02 July 2023; revised on 20 August 2023; accepted on 23 August 2023

In PostgreSQL, optimizing performance [1] for high-transaction, high-update applications is crucial for maintaining low latency and high throughput. One of the primary challenges faced in these environments is the default behavior of PostgreSQL, which can lead to row migration, the accumulation of dead tuples, and increased vacuum overhead due to frequent updates to the same rows. When data is updated frequently, PostgreSQL typically writes updated rows into new locations, which can result in row migration and the creation of "dead tuples" (old versions of rows that are no longer needed). This can slow down database performance because the system has to manage and clean up these dead tuples, which requires additional processing time and resources. Furthermore, PostgreSQL’s vacuum process, which is responsible for cleaning up these dead tuples, can add significant overhead, especially during peak transaction times. This paper proposes a performance-tuning strategy aimed at addressing these challenges by optimizing PostgreSQL’s fillfactor and Heap-Only Tuple (HOT) percentages. The fillfactor determines how much space is left in each data page for future updates, and by adjusting it to leave more space, we reduce the need for row migration. Additionally, by maximizing the efficiency of HOT updates—updates that allow changes to be made within the same data block rather than creating new tuples and moving them—we significantly reduce the overhead caused by dead tuples and row migration. By leveraging these two adjustments, this strategy leads to significant reductions in both read and write latencies, improving query performance and overall application responsiveness. This approach is particularly beneficial for applications with high-frequency updates, such as real-time data systems, where data is frequently modified, and transactional workloads, where consistent, low-latency performance is essential. In these environments, even small performance improvements can have a substantial impact on system efficiency and user experience. By focusing on reducing the time spent managing dead tuples and minimizing the need for row migration, PostgreSQL can be tuned to provide better performance and scalability in high-update, high-transaction settings.

Postgresql; Fillfactor; Heap-Only Tuples (HOT); Write Latency; Query Performance; High-Update Applications; Vacuum Overhead; Database Optimization

https://ijsra.net/sites/default/files/fulltext_pdf/IJSRA-2023-0657.pdf

Preview Article PDF

Murali Natti. Reducing postgreSQL read and write latencies through optimized fillfactor and hot percentages for high-update applications. International Journal of Science and Research Archive, 2023, 09(02), 1059-1062. Article DOI: https://doi.org/10.30574/ijsra.2023.9.2.0657.

Copyright © Author(s). All rights reserved. This article is published under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits use, sharing, adaptation, distribution, and reproduction in any medium or format, as long as appropriate credit is given to the original author(s) and source, a link to the license is provided, and any changes made are indicated.


All statements, opinions, and data contained in this publication are solely those of the individual author(s) and contributor(s). The journal, editors, reviewers, and publisher disclaim any responsibility or liability for the content, including accuracy, completeness, or any consequences arising from its use.

Get Certificates

Get Publication Certificate

Download LoA

Check Corssref DOI details

Issue details

Issue Cover Page

Editorial Board

Table of content

          

   

Copyright © 2026 International Journal of Science and Research Archive - All rights reserved

Developed & Designed by VS Infosolution