PostgreSQL performance on ARM i.MX6

Поиск
Список
Период
Сортировка
От Druckenmueller, Marc
Тема PostgreSQL performance on ARM i.MX6
Дата
Msg-id VI1P122MB01741C0DBFCE0AC2F51DBB66FB409@VI1P122MB0174.EURP122.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы 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
Список 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 по дате отправления:

Предыдущее
От: aditya desai
Дата:
Сообщение: Connection drops on postgres 11.16
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: PostgreSQL performance on ARM i.MX6