On Jun 30, 2014, at 1:15 PM, Andres Freund <andres@xxxxxxxxxxxxxxx> wrote:
That would make sense. There are definitely quite a few of those being used. Another item of note is the system catalogs are quite bloated: schemaname | tablename | tbloat | wastedmb | idxbloat | wastedidxmb ------------+--------------+--------+----------+----------+------------- pg_catalog | pg_attribute | 3945 | 106.51 | 2770 | 611.28 pg_catalog | pg_class | 8940 | 45.26 | 4420 | 47.89 pg_catalog | pg_type | 4921 | 18.45 | 5850 | 81.16 pg_catalog | pg_depend | 933 | 10.23 | 11730 | 274.37 pg_catalog | pg_index | 3429 | 8.36 | 3920 | 24.24 pg_catalog | pg_shdepend | 983 | 2.67 | 9360 | 30.56 (6 rows) Would that cause the replica to spin on StandbyReleaseLocks? |