Bug #72219 | Add first and last connection timestamps to P_S.users table | ||
---|---|---|---|
Submitted: | 3 Apr 2014 12:15 | Modified: | 13 Apr 2014 11:01 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Performance Schema | Severity: | S4 (Feature request) |
Version: | 5.6+ | OS: | Any |
Assigned to: | Marc ALFF | CPU Architecture: | Any |
[3 Apr 2014 12:15]
Peter Laursen
[4 Apr 2014 19:09]
Sveta Smirnova
Thank you for the reasonable feature request.
[7 Apr 2014 8:50]
Marc ALFF
Adding FIRST_CONNECT / LAST_CONNECT columns or similar is a valid feature request. As for adding a 'HOST' column in the performance_schema.users table, please look at these tables instead: http://dev.mysql.com/doc/refman/5.6/en/accounts-table.html http://dev.mysql.com/doc/refman/5.6/en/hosts-table.html
[13 Apr 2014 11:01]
Peter Laursen
OK .. then I propose to add it to the `accounts` table. But then - as a sideremak - I really do not see any need of neither `hosts` nor `users` tables at all as the information in those can easily be aggregated from `accounts` (SELECT .. SUM ..).