Skip to content

Huge Firebird 5 impact on disk io #8833

Description

@resign1648357-ops

Many simple select statements cause high write load in my drive.
It's a continuous load of a few MBps.

Image

Activity

  1. mrotteveel commented on Dec 22, 2025

    @mrotteveel
    Member

    That looks to me like a write to the header page each time a transaction is started. You have a 32KiB page size by the looks of it. This is entirely expected and normal if you (or a driver in auto-commit mode) starts a new transaction for each select, and executes those selects near continuously.

  2. hvlad commented on Dec 22, 2025

    @hvlad
    Member

    And why do you think it is not correct, or problem, or ... what ?

    Note, you use biggest possible database page size, also, you disabled filesystem caching - no wonder it creates some load on IO.

    PS usage of read-only transactions when possible will lower header page writes.

  3. mrotteveel commented on Dec 22, 2025

    @mrotteveel
    Member

    PS usage of read-only transactions when possible will lower header page writes.

    I thought that was no longer the case with ReadConsistency = 1

  4. hvlad commented on Dec 22, 2025

    @hvlad
    Member

    PS usage of read-only transactions when possible will lower header page writes.

    I thought that was no longer the case with ReadConsistency = 1

    I speak about #5706 (CORE-5434)

  5. mrotteveel commented on Dec 22, 2025

    @mrotteveel
    Member

    @hvlad Do you think this should be moved to discussions?

  6. hvlad commented on Dec 22, 2025

    @hvlad
    Member

    @hvlad Do you think this should be moved to discussions?

    Yes, please. So far I see no bug or real issue here.

  7. locked and limited conversation to collaborators on Dec 22, 2025
  8. converted this issue into a discussion #8834 on Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions