PostgreSQL performance on ARM i.MX6 - Mailing list pgsql-performance

From Druckenmueller, Marc
Subject PostgreSQL performance on ARM i.MX6
Date
Msg-id VI1P122MB01741C0DBFCE0AC2F51DBB66FB409@VI1P122MB0174.EURP122.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: PostgreSQL performance on ARM i.MX6
Re: PostgreSQL performance on ARM i.MX6
Re: PostgreSQL performance on ARM i.MX6
Re: PostgreSQL performance on ARM i.MX6
List pgsql-performance

Hi there,

 

I am investigating possible throughput with PostgreSQL 14.4 on an ARM i.MX6 Quad CPU (NXP sabre board).

Testing with a simple python script (running on the same CPU), I get ~1000 request/s.

 

import psycopg as pg

conn = pg.connect('dbname=test')

conn.autocommit = True

cur = conn.cursor()

while True:

    cur.execute("call dummy_call(%s,%s,%s, ARRAY[%s, %s, %s]::real[]);", (1,2,3, 4.0, 5.0, 6.0), binary=True )

 

where the called procedure is basically a no-op:

 

CREATE OR REPLACE PROCEDURE dummy_call(

    in arg1 int,

    in arg2 int,

    in arg3 int,

    in arg4 double precision[])

AS $$

BEGIN

END

$$ LANGUAGE plpgsql;

 

This seems to be a quite low number of requests/s, given that there are no changes to the database.

Looking for suggestions what could cause this poor performance and where to start investigations.

 

Thanks,


Marc



The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

pgsql-performance by date:

Previous
From: aditya desai
Date:
Subject: Connection drops on postgres 11.16
Next
From: Daniele Varrazzo
Date:
Subject: Re: PostgreSQL performance on ARM i.MX6