Help Center/ Relational Database Service/ User Guide (Ally Region)/ FAQs/ Database Usage/ How Do I View Session IDs and Login and Logout Time of an RDS Database?
Updated on 2025-12-26 GMT+08:00

How Do I View Session IDs and Login and Logout Time of an RDS Database?

  • To view database login and logout time in SQL audit logs, enable SQL audit first. For details, see Enabling SQL Audit.
  • To view sessions, run the show processlist command in the database.