Score:0

Is PostgreSQL 13 slower than 11?

ng flag

I've set up 2 VirtualBox machines with the same parameters. The first one with Debian 10 - PostgreSQL 11, the second with Debian 11 - PostgreSQL 13. The installation is only the base system + SSH server - no additional package. The postgres configuration has been left as in the package default - no variation at all.

I've set up the same test db using pgbench with a scaling factor of 100 and then executed the following test several times on both machines:

$ pgbench -r -T 60 test

Test are sometimes in parallel, sometimes in sequence, randomly selecting the first server.

These are the results (transactions completed):

Debian10 1370 1569 1753 1208 1831 1126 1289 1159 1130 Average: 1381

Debian11 1143 1314 1626 1119 1733 1058 1175 1057 1089 Average: 1257

Debian 11 with PostgreSQL 13 seems always slower than the older version. Test have been repeated several times without registering results, but always with 13 slower than 11.

Notes:

  • same results with longer tests
  • configurations are the same on the 2 server to allow compare: I want to undestand if there are problems in standard Debian settings and how to deal with them
  • the problem is linked to a programmed upgrade that can't be done with a server 10% slower

Did you find the same problem? It depends on Debian compile time configurations?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.