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

New PersistentStoreMetrics, MemoryMetrics interface improvements

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • persistence
    • None

    Description

      Notes

      Original discussions on dev list: on Persistent Store Metrics; on a new way of thinking of Memory Policies as virtual memory.

      Existing MemoryMetrics interface will be enhanced with additional methods for monitoring persistence activities (only new methods are listed):

      public interface MemoryMetrics {
          ...
          public long getDirtyPages();
      
          public float getPagesReplaceRate();
      
          public long getPhysicalMemoryPages();
      }
      

      Proposed interface for Persistent Store Metrics:

      public interface PersistentStoreMetrics {
          public float getWalLoggingRate();
      
          public int getWalArchiveSegments();
      
          public float getWalFsyncTime();
      
          public float getCheckpointingTime();
      
          public float getCheckpointingFsyncTime();
      
          public long getCheckpointingTotalPagesNumber();
      
          public long[] getCheckpointingPagesByTypeNumber();
      
          public long getCheckpointingCopiedOnWritePagesNumber();
      }
      

      Acceptance Criteria

      1. MemoryMetrics interface is expanded with new methods
      2. Persistent Store Metrics are implemented according to the proposed interface
      3. Semantics of existing method MemoryMetrics::getTotalAllocatedPages is changed to return not only pages residing in memory, but total amount of paged including ones on disk.
        For amount of pages in RAM new method getPhysicalMemoryPages is added.

      Attachments

        Activity

          People

            agoncharuk Alexey Goncharuk
            sergey-chugunov Sergey Chugunov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: