I've been trying to log some benchmark for Postgres XL using pgbench. I've used pgbench in a 78MB database with a json column. And to my knowledge, I cannot judge if my output result is okay to proceed with. I mean with what respect should I consider the results to be good or bad.
The structure of my main database table is as follows:
id: integer,
data: json,
created_at: timestamp without time zone,
updated_at: timestamp without time zone,
user_id: integer
Indexes:
"index_datasets_on_user_id" btree (user_id)"
I've been receiving around 47 tps for this database table with scale factor 1, initial clients 5 and it decreases to 21 tps while the client number reaches up to 200 and scale factor remains constant. The pgbench test runs for 10 seconds each.
I have a system with 8GB RAM and Intel Core i5 CPU with 4 cores.
So it would be great to know if I can improve or if there's anything that'd let me know that I'm doing it the right way will be appreciated too.
Thanks!