Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tqdym-008GGr-5I for pgsql-general@arkaria.postgresql.org; Fri, 07 Mar 2025 20:07:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tqdyk-00GkGP-J3 for pgsql-general@arkaria.postgresql.org; Fri, 07 Mar 2025 20:07:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tqdyk-00GkGD-4x for pgsql-general@lists.postgresql.org; Fri, 07 Mar 2025 20:07:30 +0000 Received: from mail-oo1-xc2c.google.com ([2607:f8b0:4864:20::c2c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tqdyf-001Ypi-2U for pgsql-general@lists.postgresql.org; Fri, 07 Mar 2025 20:07:29 +0000 Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-5fc6fe05460so1280137eaf.1 for ; Fri, 07 Mar 2025 12:07:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741378045; x=1741982845; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+ybZb8YIyMjU/lNIhUaF8CGUA33jg1DOamqTqEJX9jI=; b=iXqFgvIOeFqnjypZYZdKHvuqh0ASAbBvQKJ8yvvyB6DsE5SL4dMd0LuCXEPH4zNaCx PsRp0IaJSZKKnP8JyIbGL2QZj60EiCw4VF8te1q5s2ItpLUy2Ro8mqFvXlw55gi09RJH EVPE3ftEmdx/GP4o1YodBWbkIDI31blWZ5p7mXZPLwYHitBNCH943H/WlaXieNNyuTvY AqjwAJRhfPZ4f+6GXhGsECRG5/4lrSVxdgkCyIOWdyZUWlusy8qdVbMgp74EblzAbC3v 2uQ9trjF/P9Noq3lYbbgyQhYmufBpFdQOC/FbJnWp3zWLTNAh2TEypGm/i9AXe/DHrQm B+Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741378045; x=1741982845; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+ybZb8YIyMjU/lNIhUaF8CGUA33jg1DOamqTqEJX9jI=; b=bsn5tmz3QcQrNvwY3ufqruu6GFiTBskk0xPCbKrCYFdvTfYdmuIV15OqXp1qEVgYVP cBGhegDSvnvlU7u0TNM1r3AGiX9+q2Tju8fNeWcv5DEbJNwR7vwX33wwGb5Zg9nfOsfj 2K3zR3aAt3EP5MOIgzigCCj+OfuQrbsYcBPRPYDPbm1u4BY/JUpohA5AHitqrC4Yo3tJ 8TplL8cq8fT/2qsE7nYii6/7W6Q8ERCKrJOCUcUKuwzpzaUpnA2BO1s2CLtN+8w4bvdE OYxVFEQAlZ/SWeJ0Vu77hY+ZUmSmQgQ5MAgiEXoXPk4lQA6BY0eijVMgH1ZdnkSnfrrR ERLA== X-Gm-Message-State: AOJu0Yxn4U+IHkqPyQARPyRRRnqniDQEh9ALSP0nIVYlVJXBdqvTp0tF EICNiHQrn2vamNRJK6NJLu94DA1DcE3HC7F4jKKza5I6JQy+SW9NYjCDh+z17hzcmULA/x4aBv5 IGWi6PdM/pI+/EmA1flLe+2AMGsow2A== X-Gm-Gg: ASbGncthTAlzrW9l5hsrwNly7Lz/IgRkNQgfEbAGvIagFu0DbMom3m8197qjOQfst3N 19oqd+EwyPkXlhJG+5STPjUeY78EF2Y0zEPvAcXOdv+7BxSTkIsZC1YYsKbCj5nOPLrCNSgFz4T 1uA7Dr8s9vUfD/6gUJtNRbSPZD/TG+qE3sN/xPjkaCbzBYfk9KTTkhEeT8WMkq X-Google-Smtp-Source: AGHT+IH/aOAX8x43/SDwbIGrZl8f6FjtazKPPj/ZLxdZVhLMdmc7N9/B1sKmIwb2TLn0oD4/gRSleajJNY79m9XcxKk= X-Received: by 2002:a05:6808:1508:b0:3ea:f809:44d0 with SMTP id 5614622812f47-3f697bf3d35mr2959470b6e.35.1741378044852; Fri, 07 Mar 2025 12:07:24 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Fri, 7 Mar 2025 15:07:12 -0500 X-Gm-Features: AQ5f1JrwyFGd5ShOGXDvpLqFpXk-Y228JvQhcoUCo6BF7OdAboFebyGJWGyrKVU Message-ID: Subject: Re: No. Of wal files generated To: Atul Kumar Cc: pgsql-general Content-Type: multipart/alternative; boundary="000000000000c88400062fc62bef" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c88400062fc62bef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable inotifywait can log every file creation and deletion in a directory. Honestly, though, I'd strongly think about using PgBackRest instead of something you wrote yourself. On Fri, Mar 7, 2025 at 2:47=E2=80=AFPM Atul Kumar w= rote: > I want to check and compare the speed wal file generation process and > archival process. > > So I want to check how many wal file got created in x minutes and how man= y > .ready files got created in those x minutes. > > > > Regards, > Atul > > On Fri, 7 Mar 2025, 22:45 Ron Johnson, wrote: > >> On Fri, Mar 7, 2025 at 10:59=E2=80=AFAM Atul Kumar wrote: >> >>> Hi, >>> >>> Please could you help me by sharing any redhat linux command through >>> which I can count the no. of wal files and no. of ".ready" files genera= ted >>> in last 10 minutes. >>> >> >> What problem are you trying to solve? >> >> -- >> Death to , and butter sauce. >> Don't boil me, I'm still alive. >> lobster! >> > --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --000000000000c88400062fc62bef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
inotifywait can log every file creation and deletion in a = directory.

Honestly, though, I'd strongly think abou= t using PgBackRest instead of something you wrote yourself.

=
On Fri, Mar 7, 2025 at 2:47=E2=80=AFPM Atul Kumar <akumar14871@gmail.com> wrote:
<= /div>
I = want to check and compare the speed=C2=A0 wal file generation process and a= rchival process.

So I want to = check how many wal file got created in x minutes and how many .ready files = got created in those x minutes.=C2=A0



Regar= ds,
Atul

<= div dir=3D"ltr" class=3D"gmail_attr">On Fri, 7 Mar 2025, 22:45 Ron Johnson,= <ronljohns= onjr@gmail.com> wrote:
On Fri, Mar 7, 2025 at 10:5= 9=E2=80=AFAM Atul Kumar <akumar14871@gmail.com> wrote:
=
Hi,

Please c= ould you help me by sharing any redhat linux command through which I can co= unt the no. of wal files and no. of ".ready" files generated in l= ast 10 minutes.=C2=A0

What prob= lem are you trying to solve?

--
Death to <Redacted>, and butter sauce.
Don'= t boil me, I'm still alive.
<Redacted> lobster!


--
Death to <Redacted>, and butter sauce.Don't boil me, I'm still alive.
<Redacted> lobs= ter!
--000000000000c88400062fc62bef--