Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hACW4-00061R-K3 for pgsql-general@arkaria.postgresql.org; Sat, 30 Mar 2019 11:51:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hACW2-00060U-1x for pgsql-general@arkaria.postgresql.org; Sat, 30 Mar 2019 11:51:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hACW1-00060N-MD for pgsql-general@lists.postgresql.org; Sat, 30 Mar 2019 11:51:13 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hACVu-0004QH-PF for pgsql-general@postgresql.org; Sat, 30 Mar 2019 11:51:12 +0000 Received: by mail-pl1-x644.google.com with SMTP id g12so2236154pll.11 for ; Sat, 30 Mar 2019 04:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=h4WuShoS1lNb6DZ0g2L9uvv9qFBwn+NjnRfPZePWgyI=; b=nB6qblIqhNvs0T6kLfygrXk11G/9P8klANqswAGWh60ubA+fNwZhX9lWhR8jf0mkUV SWLXrUXo+t9shFaAagA6eHWWehWOU+DI8X70BIp3WsZXNv50TguRtBEy8fVcODDr4/8s 73uVydW5mPbaxxg4uJ/+7bN9H+LL73M/nT+7ATWx3rdxa/DPVXgOiOGBu18qlBE8r2tr 3lG0NYtKRN9ZhfgpgVBhoCocOCr3qNkd0PNI4Hf0C1zJRCp59Cfz3gJGfAoVYahHwjLn ApL94n6lbCJPN3AR6cMBVoWiTir8raDhl1XsF2RwHFx8IO2CAyh/dLEIIDL21cehp3Pd q/Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=h4WuShoS1lNb6DZ0g2L9uvv9qFBwn+NjnRfPZePWgyI=; b=VYmxoW21kCX7TTUzZ5a2p/RHhIF4yUqWUwP/4Mh8dS2C2wl0PzvqypE8SIDreNi00u oWXy4eT7HbYn/9ycH3iF6Up07aNNgkKFQlhmmkXfrGqxMXPg0XqNYDoeAm2rI6lRgHUz 9K/4TiNCjWW7lGmBCEabOxB9h576+GNQSEJSCZZLoul/K+Y8MYTiwtDTIxDTeqOf1/Rk CqRzKIXRVmKvOz8rQnYkW0PkF9fygINJ3MmfM/Iv1xMqWxdh5OnGR7tnMPHuCYRjWYH8 pyVbvCgOFlqPTddmVe7rXFIXoV/GQNZpbU7sjnEH/jqHt5u8ZcG+qcgczDlifxXHDhvX iU+Q== X-Gm-Message-State: APjAAAU+nyeZmOqv40LDW6BTfEvpL7mdyOfjIMt3aQjsanOIpEABx1JX WmXy9fu90xgfu/v7BcnTa/Q= X-Google-Smtp-Source: APXvYqziLDm1yjsV4l8buZamN0s8/lzXo5SUpWlxs2AzwqTdOCVEkZLgFxgTBjkSwx6uK9xWHGipIQ== X-Received: by 2002:a17:902:44a4:: with SMTP id l33mr54260570pld.292.1553946663797; Sat, 30 Mar 2019 04:51:03 -0700 (PDT) Received: from [10.10.3.3] ([65.158.40.194]) by smtp.gmail.com with ESMTPSA id i16sm5927015pgk.51.2019.03.30.04.51.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Mar 2019 04:51:03 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: stale WAL files? From: Gmail X-Mailer: iPad Mail (15F79) In-Reply-To: <20190329125811.GF1954@paquier.xyz> Date: Sat, 30 Mar 2019 05:51:02 -0600 Cc: Adrian Klaver , "pgsql-general@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <10FF70E2-9F70-4469-A4F4-4081988F0204@gmail.com> <3dccbbe4-e115-11ab-2d78-74c3cc9e2e43@aklaver.com> <599C6022-1DA1-477D-895C-7E217D350B85@gmail.com> <20190328133005.GB2558@paquier.xyz> <973f0fdf-e20f-a8a1-86c8-7f145eb31b70@gmail.com> <20190329125811.GF1954@paquier.xyz> To: Michael Paquier List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Mar 29, 2019, at 6:58 AM, Michael Paquier wrote: >=20 >> On Thu, Mar 28, 2019 at 09:53:16AM -0600, Rob Sargent wrote: >> This is pg10 so it's pg_wal. ls -ltr >>=20 >>=20 >> -rw-------. 1 postgres postgres 16777216 Mar 16 16:33 >> 0000000100000CEA000000B1 >> -rw-------. 1 postgres postgres 16777216 Mar 16 16:33 >> 0000000100000CEA000000B2 >>=20 >> ... 217 more on through to ... >>=20 >> -rw-------. 1 postgres postgres 16777216 Mar 16 17:01 >> 0000000100000CEA000000E8 >> -rw-------. 1 postgres postgres 16777216 Mar 16 17:01 >> 0000000100000CEA000000E9 >> -rw-------. 1 postgres postgres 16777216 Mar 28 09:46 >> 0000000100000CEA0000000E >=20 Today there are 210 Mar 16 WAL files versus the originally reported 271. I c= annot at this point confirm the original count, other that to say I used =E2= =80=9Cls -ltr | grep =E2=80=98Mar 16=E2=80=99 | wc -l=E2=80=9D to get both n= umbers. Is it interesting that the earliest files (by ls time stamp) are not lowest n= umerically? Those two file names end =E2=80=9C0000B[12]=E2=80=9D (written at= 16:33) in a range across the directory from =E2=80=9C00001A=E2=80=9D throug= h =E2=80=9C0000E9=E2=80=9D? =E2=80=9C0000B0=E2=80=9D was written at16:53 and= =E2=80=9C0000B3=E2=80=9D was written at 16:54 Is there any analysis of the file names I could do which might shed any ligh= t on the issue?=