public getStatsIndexTuples ( $table ) : A | ||
$table | The table to fetch index stats for | |
Résultat | A | recordset |
function getStatsIndexTuples($table)
{
$c_schema = $this->_schema;
$this->clean($c_schema);
$this->clean($table);
$sql = "SELECT * FROM pg_stat_all_indexes \n\t\t\tWHERE schemaname='{$c_schema}' AND relname='{$table}' ORDER BY indexrelname";
return $this->selectSet($sql);
}