move users.access into its own table

Created on 13 January 2007, almost 18 years ago
Updated 27 August 2023, over 1 year ago

For each page view by a registered user we update the access value in the users table. For this mysql acquires a write lock which then blocks a lot of reads which want to read from the users table (which happens also each page view, and often more than once). On a high-traffic site such as drupal.org this can decrease mysql performance. For this reason and due to the fact that the access value is hardly ever used (all I found was the user table on /admin/user) I propose to move the access value into its own table, users_access. Attached patch does just that.

📌 Task
Status

Closed: duplicate

Version

9.5

Component
Database 

Last updated 2 days ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇩🇪Germany killes@www.drop.org

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024