Skip to content
  • Russell Smith's avatar
    3e7e2ab2
    MDL-40618 backup: centralize info field, use info in queries. · 3e7e2ab2
    Russell Smith authored
    encode_backup_temp_info() and decode_backup_temp_info() have been
    introduced to keep the info field encoding in one place.
    Many locations used get_backup_ids_record() to obtain info, that
    makes lots of calls to get_backup_ids_record() which can be slow.
    We now complete all those inline by adding the info field to the query.
    To reduce memory usage, all queries of that nature have been changed
    to use get_recordset_*. gzcompress was introduced if available to minimize
    traffic to/from the database and to decrease the memory required for caching.
    The compression time is saved by the benefits in other places of having smaller data.
    3e7e2ab2
    MDL-40618 backup: centralize info field, use info in queries.
    Russell Smith authored
    encode_backup_temp_info() and decode_backup_temp_info() have been
    introduced to keep the info field encoding in one place.
    Many locations used get_backup_ids_record() to obtain info, that
    makes lots of calls to get_backup_ids_record() which can be slow.
    We now complete all those inline by adding the info field to the query.
    To reduce memory usage, all queries of that nature have been changed
    to use get_recordset_*. gzcompress was introduced if available to minimize
    traffic to/from the database and to decrease the memory required for caching.
    The compression time is saved by the benefits in other places of having smaller data.
Loading