SELECT pg_database_size('DB1') takes 60ms for 7948 kB size DB. Is there any way to reduce the time taken or any other ways to find data base size?
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных