Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5961

Align pages in LFS partition files to pageSize

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1
    • 2.3
    • persistence
    • None

    Description

      We store 17 bytes of header at the start of every partition file:

          /** Allocated field offset. */
          static final int HEADER_SIZE = 8/*SIGNATURE*/ + 4/*VERSION*/ + 1/*type*/ + 4/*page size*/;
      

      Even if pageSize is equal to OS page cache size and equal to SSD disk page size (which is best scenario), we generate two dirty pages instead of one. This is suboptimal and can be a bottleneck of checkpoint write speed.

      Attachments

        Issue Links

          Activity

            People

              ivan.glukos Ivan Rakov
              ivan.glukos Ivan Rakov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: