Getting to Know ASH — Opening the Database's "Treasure Box of Time"
ASH (Active Session History) is the OceanBase database's "intelligent monitoring system," taking a state snapshot of active sessions every second. Through three zero-prerequisite experiments, this article lets you experience the charm of ASH and takes a deep dive into its implementation — selective recording, time slicing, and the ring buffer.