pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ilya Kosmodemiansky <ik@dataegret.com>
To: veem v <veema0000@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Read write performance check
Date: Tue, 19 Dec 2023 08:27:35 +0100
Message-ID: <CAG95seU-yoctWToM2a4a3N_GFztZF2htWRh30fM+1hwVi2nWeQ@mail.gmail.com> (raw)
In-Reply-To: <CAB+=1TVWinj5Zo4K_=LsR74cafhhEo0Zh==sdybaQ+ZO5UtWJQ@mail.gmail.com>
References: <CAB+=1TVWinj5Zo4K_=LsR74cafhhEo0Zh==sdybaQ+ZO5UtWJQ@mail.gmail.com>

Hi Veem,

On Tue, Dec 19, 2023 at 7:36 AM veem v <veema0000@gmail.com> wrote:
> 1)For write performance , the rows needs to be inserted from multiple sessions at same time, with required random values as per the data types i.e. Character, Number, date columns. And this needs to be tested for row by row insert and batched insert.
>
> 2)For the read performance test , the table first has to be populated with those ~100million rows. Then querying will happen on that table row by row and batched way from the concurrent session.
>
> I am new to postgresql but mostly worked with Oracle, so I wanted to understand if the above can be achieved by creating a simple procedure or will a major effort be needed? And I saw a few blogs , pgbench to be used for concurrency tests.

Yes, you are right, pgbench with customized script is what you are looking for

>I want to know if this will still work on Aurora postgresql from intellij client worksheet.

pgbench would work with aurora as with normal postgres, it is
basically a shell script which connects to the database. Not sure if
idea worksheet would help you in such case however, you can run it
just from any machine with pgbench installed


Best regards,
Ilya


-- 
Ilya Kosmodemiansky
CEO, Founder

Data Egret GmbH
Your remote PostgreSQL DBA team
T.: +49 6821 919 3297
ik@dataegret.com





view thread (12+ messages)  latest in thread

Message-ID: <CAG95seU-yoctWToM2a4a3N_GFztZF2htWRh30fM+1hwVi2nWeQ@mail.gmail.com>
Permalink:  ../CAG95seU-yoctWToM2a4a3N_GFztZF2htWRh30fM+1hwVi2nWeQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAG95seU-yoctWToM2a4a3N_GFztZF2htWRh30fM+1hwVi2nWeQ@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ik@dataegret.com, veema0000@gmail.com
  Subject: Re: Read write performance check
  In-Reply-To: <CAG95seU-yoctWToM2a4a3N_GFztZF2htWRh30fM+1hwVi2nWeQ@mail.gmail.com>
  References: <CAB+=1TVWinj5Zo4K_=LsR74cafhhEo0Zh==sdybaQ+ZO5UtWJQ@mail.gmail.com> <CAG95seU-yoctWToM2a4a3N_GFztZF2htWRh30fM+1hwVi2nWeQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox