database row count

Поиск
Список
Период
Сортировка
От Isaac Vetter
Тема database row count
Дата
Msg-id 47A0D9CA.4040306@math.purdue.edu
обсуждение исходный текст
Ответы Re: database row count  (Carol Cheung <cacheung@consumercontact.com>)
Список pgsql-novice
Dear Pg experts;

I'd like to get a (rough) count of the numbers of rows across all tables
in a given database.

I understand that I could write a script to run count(*) on each table
and then sum the counts. Is there an easier way, has someone already
written this script?

Much Thanks,

Isaac Vetter

Вложения

В списке pgsql-novice по дате отправления:

Предыдущее
От: Mija Lee
Дата:
Сообщение: Re: pg_cancel_backend and pg_ctl kill
Следующее
От: Carol Cheung
Дата:
Сообщение: Re: database row count