Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJGTu-0006iI-Qf for pgsql-general@arkaria.postgresql.org; Thu, 26 Aug 2021 14:35:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mJGTt-0007xT-NO for pgsql-general@arkaria.postgresql.org; Thu, 26 Aug 2021 14:35:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJGTt-0007xL-Ew for pgsql-general@lists.postgresql.org; Thu, 26 Aug 2021 14:35:49 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJGTp-0008Vs-0l for pgsql-general@lists.postgresql.org; Thu, 26 Aug 2021 14:35:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=A5ve7m2c3cf2qj5R8CGkDg+Ebs0mabVDc4iQXMhnDVo=; b=josIM6ptPTlOqPFHZcR908qCKX R3q0GMRhlQ9DFkDXOZOIHntBrZKWBa8QXln0jSHclvj6tTq9wwfaOZsC0drWJfvgwe4gkEMCiVj2c N1iCIyyxFoidubhqA93z2dKYXkEfBM8+ON8GPTlhlArd1cJO3+ti8hQ9nza+dKDRsKYM=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1mJGTn-0001Hf-Hs; Thu, 26 Aug 2021 16:35:43 +0200 Date: Thu, 26 Aug 2021 16:35:43 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Adrian Klaver Cc: pgsql-general Subject: Re: Can we get rid of repeated queries from pg_dump? Message-ID: <20210826143543.GA4040@depesz.com> Reply-To: depesz@depesz.com References: <20210826084430.GA26282@depesz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Aug 26, 2021 at 07:34:26AM -0700, Adrian Klaver wrote: > On 8/26/21 1:44 AM, hubert depesz lubaczewski wrote: > > Hi, > > I have following case: local pg_dump (v15) connecting to remote > > PostgreSQL (v12). > So you are using a dev version of pg_dump or is that a typo? Yes. I'm running pg_dump from my computer to (very) remote db server. > > It's been 15 minutes, and pg_dump (called: pg_dump -v -s -f schema.dump, > > with env variables configuring db connection) hasn't written even single > > byte to schema.dump) > What happens if you run without the -v? Well, I guess it works, but with no output I can't judge how fast. Definitely doesn't seem to be going any faster. Best regards, depesz