Informix

Informix

Connect with Db2, Informix, Netezza, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only
  • 1.  pfsc_boost

    Posted Thu October 31, 2019 02:23 PM
    Does anyone know what this scheduled task is in IDS 14.10.FC2? It executes C UDR adm_pfsc_boost and the description is "PFSC Boost", so no clues there...

    Also found a minor bug in InformixHQ that you can't specify zero in Automated Update Statistics / Configuration / AUS_PDQ which would cause noise in the message log for restricted editions. You can set it to zero using Task Scheduler / Auto Update Statistics Refresh / Parameters, though. Alternatively:

    UPDATE ph_threshold SET value = 0 WHERE name = 'AUS_PDQ';


    ------------------------------
    Regards,
    Doug Lawry
    ------------------------------

    #Informix


  • 2.  RE: pfsc_boost

    Posted Fri November 01, 2019 01:44 AM
    Edited by System Admin Fri January 20, 2023 04:13 PM
    Hi Doug,
    This feature is available since 14.10.xc2.

    The output of the onstat -g cfg command shows that the feature is enabled by default.
    The pfsc_boost task seems to be related to this.

    I found a description of that feature (PFSC, Partition Free Space Cache) in JC Lengyel's IIUG2019 conference presentation.


    And it could not modify the AUS_PDQ to 0 as shown below in InformixHQ v2. Thank you for sharing the information.







    ------------------------------
    SangGyu Jeong
    Software Engineer
    Infrasoft
    Seoul Korea, Republic of
    ------------------------------



  • 3.  RE: pfsc_boost

    Posted Fri November 01, 2019 07:04 AM
    Thanks, SangGyu. For those who haven't seen it, JC Lengyel's presentation says:

    Boosted Partition Free Space Cache

    Applicable only when MAX_FILL_DATA_PAGES is set, and for tables that have variable-length rows.
    Note that a compressed table has variable-length rows.
    The "fullness" of every data page with room for another row is tracked in memory.
    Circumvents bitmap scans, which have the potential to be unproductive.
    YMMV [your mileage may vary] depending on schema and typical row size.
    This feature is available in 14.10.xC2.


    ------------------------------
    Doug Lawry
    ------------------------------



  • 4.  RE: pfsc_boost

    Posted Fri November 01, 2019 06:08 AM
    Edited by System Admin Fri January 20, 2023 04:25 PM
    Since MAX_FILL_DATA_PAGES was implemented there has been a problem with it for tables with variable length columns, high insert activity, and frequent deletes. Review: Before MAX_FILL_DATA_PAGES and when it is disabled, Informix will only place a new variable length row on a page if the maximum length of the row would fit. This could cause wasted storage up to 50% for some tables. When this feature is enabled Informix tries to place new variable length rows onto pages that have room for that particular row so long as 10% is free on the page afterwards for rows to expand into without having to be moved to a forwarding page. On a table with deletes that might mean checking many many pages before finding a home for the new row and tends to severely slow down systems that perform many many inserts to these tables. That is because the bitmap pages only tell the engine whether a page is full, nearly full, half full, or empty not how much space is left on it. So, in 14.10.FC2 they implemented a cache recording the free space on not-full pages for variable length tables so the engine just has to check the cache instead of having to read many many pages into memory to check their free space.

    The task manager task that you are seeing, Doug, is how the cache gets populated. It is enabled by default. The feature to use the cache or not to is controlled by the new ONCONFIG parameter PFSC which is set to '1' - ON by default.

    ------------------------------
    Art Kagel
    ------------------------------



  • 5.  RE: pfsc_boost

    Posted Fri November 01, 2019 07:05 AM
    Thanks, Art.

    ------------------------------
    Doug Lawry
    ------------------------------