Re: Some observations on very slow pg_restore operations

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Ogden Brash <info(at)litika(dot)com>
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Some observations on very slow pg_restore operations
Date: 2019-10-04 06:03:00
Message-ID: 20191004060300.GA11241@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

What is the state of KSM/THP? Did you try disabling them ? I've seen these
can cause high iowait (although that was a virtual environment). It would be
interesting to see vmstat output.
tail /sys/kernel/mm/ksm/run /sys/kernel/mm/transparent_hugepage/khugepaged/defrag /sys/kernel/mm/transparent_hugepage/enabled /sys/kernel/mm/transparent_hugepage/defrag
https://www.postgresql.org/message-id/20170718180152.GE17566%40telsasoft.com

I realize the postgres params don't seem related to the difference between
local/remote/NFS, but did you see all these ?
https://www.postgresql.org/docs/current/populate.html

Justin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message nikhil raj 2019-10-04 10:22:26 Query went slow all of sudden. ON V 11.3
Previous Message Pavel Stehule 2019-10-04 04:12:41 Re: [HACKERS] proposal: schema variables