that'd be a quick mysql command, and yes it'd work the same way, if i bothered to craft the query; as i wouldn't know where to look offhand I can't craft a simple query; not to mention I think that data is held in a memory resident table as well and am not sure how they work offhand.
Hence the recommendation to login to your SQL server wiht PHPMyAdmin and check.