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 1rFUWX-00A8c3-8M for pgsql-general@arkaria.postgresql.org; Tue, 19 Dec 2023 07:28:17 +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 1rFUWV-00G56C-WD for pgsql-general@arkaria.postgresql.org; Tue, 19 Dec 2023 07:28:15 +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 1rFUWV-00G563-Gx for pgsql-general@lists.postgresql.org; Tue, 19 Dec 2023 07:28:15 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rFUWT-00Cl1n-5M for pgsql-general@lists.postgresql.org; Tue, 19 Dec 2023 07:28:14 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2cc55698c81so43987861fa.0 for ; Mon, 18 Dec 2023 23:28:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataegret-com.20230601.gappssmtp.com; s=20230601; t=1702970892; x=1703575692; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5Talf0wtEpeNZwJpswfgbRNnn6kpd3ONGEY54TOihwg=; b=I70+lSZw0CEkqTCgCwAnQz3VgiGeFPhTFaFPAv9y2ZtdivgtFAyf8bu3twCRAEq1tT hkvFnMwGTBpjeX0SvpIBd4KZPXAWp26/hMJ1u8nz59LMzTabFXvAKomoTHaLuvaEoCWZ 6lY97oBlyKHkzDLQ64JMR6LMSOS+uwjN9P57qKVcEehsjClBvApDyuAoGWPfDwblDizC ftWWdLN5ls9cTNWk9BErwYv0+4egGNGUtB0zTlNswUuARUM28DvorqgMXK7PM5EfuDTR RNvTlwBge88tiiHRkwMgfqLmvRoFUm799VlkfMyz9x6oagKOFMtpx9E8Vyuldti/ywBt POfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702970892; x=1703575692; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5Talf0wtEpeNZwJpswfgbRNnn6kpd3ONGEY54TOihwg=; b=VdgSHg+wi7ok4AHU0CbFx/wTFuJpr5RG8WP6Xgm2RWxKIzAh/hG2VYM2pLkHeQOpLF 5EK8lheeUUwztfMsB+uajgTu6RCtn1WR1nelEJrcHvkP5ShapXnFxeS4/bFVDorZvUAi THxJX9NnQuzAB84mmXrIwdtjT+2rRugN02f45Ippy0+DnIB8/RXyEnV7xdBhFqXEPEz+ /x4VjANeM/TK8VTOanggVjITSwTwZyB+TvXOvPQAfuXgddmkK5fsvuERLi4bRC8tEodC cJ5cpRmdbl9vWHPDEQsnV9UTKeDhOQ1cX41z3cRD0hLabJ2/VHEypeTUQf2o0HNgNjbL /W0A== X-Gm-Message-State: AOJu0YzkOTPaLUNVBHQxNf6u/WUhxVhqSvQRoEf7luRlGclAgxTu2j3o g8XXw62oj3xFfk+Z6LnO9GufH/ode3j/JYE66YQg X-Google-Smtp-Source: AGHT+IHfrsH7dE9pYu13oET+nrYLD8Co5OKkzZW04YIWbt0jKtOoujT7Fa0Zf8nMAVng6yH8cBrpKraKAeB0I8+947w= X-Received: by 2002:a2e:a175:0:b0:2cc:6fe8:9a8 with SMTP id u21-20020a2ea175000000b002cc6fe809a8mr1638475ljl.95.1702970892045; Mon, 18 Dec 2023 23:28:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: ik@dataegret.com From: Ilya Kosmodemiansky Date: Tue, 19 Dec 2023 08:27:35 +0100 Message-ID: Subject: Re: Read write performance check To: veem v Cc: pgsql-general Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Veem, On Tue, Dec 19, 2023 at 7:36=E2=80=AFAM veem v wrote: > 1)For write performance , the rows needs to be inserted from multiple ses= sions 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 wit= h those ~100million rows. Then querying will happen on that table row by ro= w and batched way from the concurrent session. > > I am new to postgresql but mostly worked with Oracle, so I wanted to unde= rstand 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 co= ncurrency 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 --=20 Ilya Kosmodemiansky CEO, Founder Data Egret GmbH Your remote PostgreSQL DBA team T.: +49 6821 919 3297 ik@dataegret.com