Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Speed up user directory rebuild for users some more... #15665

Merged
merged 6 commits into from
May 24, 2023

Commits on May 24, 2023

  1. Speed up selecting users

    Adding an `ORDER BY` clause forces the use of an index, which is much
    faster than a sequential scan. I *think* that's because we keep deleting
    rows from the table, and so a sequential scan has to skip over many
    deleted rows.
    erikjohnston committed May 24, 2023
    Configuration menu
    Copy the full SHA
    dd1581c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc43d01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    79eb03a View commit details
    Browse the repository at this point in the history
  4. Use DELETE.. RETURNING

    erikjohnston committed May 24, 2023
    Configuration menu
    Copy the full SHA
    57d6886 View commit details
    Browse the repository at this point in the history
  5. Newsfile

    erikjohnston committed May 24, 2023
    Configuration menu
    Copy the full SHA
    3aa31d0 View commit details
    Browse the repository at this point in the history
  6. Add comment

    erikjohnston committed May 24, 2023
    Configuration menu
    Copy the full SHA
    01e5c09 View commit details
    Browse the repository at this point in the history