Charis and Joshen Lim
271ee3af6d
fix: estimate number of users when count is large ( #38638 )
...
* fix: estimate number of users when count is large
In the Auth Users table, we always fetch an exact count of users. This
can be a problem for projects with many (>50K) users as the count(*)
might cause performance issues on the database. We already have logic on
the Table Editor to only run automatic count estimates (fetching the
exact count only if usr requests it), this change ports the same logic
over to Auth Users.
* Nit refactor
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-09-12 13:07:31 +08:00
..
2024-11-18 05:15:37 +00:00
2025-08-20 07:53:51 +02:00
2025-07-22 16:05:16 +08:00
2025-09-05 10:43:57 +00:00
2025-09-11 16:36:07 +02:00
2025-08-14 15:24:30 +07:00
2025-05-08 12:11:03 +02:00
2025-09-12 13:07:31 +08:00
2024-08-31 07:50:51 +08:00
2025-09-09 19:47:46 +08:00
2024-11-07 07:53:14 +00:00
2025-09-10 11:26:26 +08:00
2025-08-29 12:20:51 +02:00
2025-06-24 13:18:12 -04:00
2025-07-17 17:04:51 +08:00
2025-07-04 14:57:59 +10:00
2025-05-20 10:34:59 +08:00
2025-09-11 11:40:02 +08:00
2025-08-06 10:53:10 +07:00
2025-05-08 12:11:03 +02:00
2025-06-30 13:06:18 -02:30
2025-08-06 10:53:10 +07:00
2025-07-21 10:39:46 +02:00
2025-05-08 12:11:03 +02:00
2025-05-08 12:11:03 +02:00
2025-08-12 17:34:53 +07:00
2024-06-05 16:32:24 +07:00
2025-08-07 16:12:54 +08:00
2025-09-02 10:23:22 +09:00
2025-03-27 17:46:57 +08:00
2025-07-21 10:39:46 +02:00
2025-08-04 12:44:53 +07:00
2025-09-03 17:17:52 +02:00
2025-07-21 10:39:46 +02:00
2025-06-24 13:18:12 -04:00
2025-08-22 13:43:47 +02:00
2025-05-08 10:05:02 +02:00
2025-07-14 10:04:24 +02:00
2025-08-29 12:20:51 +02:00
2025-06-17 17:36:36 +08:00
2025-07-17 19:13:52 +00:00
2025-07-21 10:39:46 +02:00
2025-08-27 13:42:20 +07:00
2024-08-31 07:50:51 +08:00
2025-05-02 15:45:03 +07:00
2025-03-27 14:16:37 +01:00
2025-05-26 15:43:14 +02:00
2025-05-26 15:43:14 +02:00
2025-05-02 15:45:03 +07:00
2025-09-10 18:09:18 +08:00
2025-09-03 17:17:52 +02:00
2024-05-21 15:51:11 +08:00
2025-08-06 10:53:10 +07:00
2025-07-21 10:39:46 +02:00
2025-08-25 07:30:57 -07:00
2025-09-12 10:50:55 +08:00
2025-05-08 12:11:03 +02:00
2025-05-26 15:43:14 +02:00
2025-09-11 15:25:39 +08:00
2025-09-05 11:49:08 +02:00
2025-04-04 11:44:09 +02:00
2025-06-18 18:14:16 +08:00
2025-08-06 10:53:10 +07:00
2024-09-26 11:26:59 +00:00
2025-08-05 17:03:30 -07:00
2025-09-10 18:09:18 +08:00
2024-11-04 17:59:17 +01:00
2025-09-10 18:09:18 +08:00
2025-05-08 12:11:03 +02:00
2025-09-12 13:07:31 +08:00
2025-08-14 13:24:06 +07:00
2025-05-05 13:18:48 +08:00
2024-08-31 07:50:51 +08:00
2025-07-09 16:58:55 +12:00
2025-07-28 17:51:00 +08:00
2025-07-25 10:54:17 +02:00
2025-07-21 10:39:46 +02:00
2025-07-04 14:57:59 +10:00
2024-07-04 14:48:10 +08:00
2025-09-03 17:17:52 +02:00
2025-05-27 19:37:05 +08:00