Postgres::getStatsIndexIO PHP Method

getStatsIndexIO() public method

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