Postgres::getStatsTableIO PHP Method

getStatsTableIO() public method

Fetches I/0 statistics for a table
public getStatsTableIO ( $table ) : A
$table The table to fetch stats for
return A recordset
    function getStatsTableIO($table)
    {
        $c_schema = $this->_schema;
        $this->clean($c_schema);
        $this->clean($table);
        $sql = "SELECT * FROM pg_statio_all_tables \n\t\t\tWHERE schemaname='{$c_schema}' AND relname='{$table}'";
        return $this->selectSet($sql);
    }
Postgres