Re: Write workload is causing severe slowdown in Production - Mailing list pgsql-performance

From Gnanakumar
Subject Re: Write workload is causing severe slowdown in Production
Date
Msg-id 00a501cd08f0$11385490$33a8fdb0$@com
Whole thread Raw
In response to Re: Write workload is causing severe slowdown in Production  ("Tomas Vondra" <tv@fuzzy.cz>)
List pgsql-performance
> Are those wrapped in a transaction or not? Each transaction forces a fsync
> when committing, and if each of those INSERT/UPDATE statements stands on
> it's own it may cause of lot of I/O.

Yes, it's wrapped inside a transaction.  May be this could be a reason for slowdown, as you've highlighted here.
Atleast,we've got some guidance here to troubleshoot in this aspect also. 

> There are tools that claim to remove the object vs. relational discrepancy
> when accessing the database. They often generate queries on the fly, and
> some of the queries are pretty awful (depends on how well the ORM model is
> defined). There are various reasons why this may suck - loading too much
> data, using lazy fetch everywhere etc.

Thanks for the clarification.

> Are you using something like Hibernate, JPA, ... to handle persistence?

No, we're not using any persistence frameworks/libraries as such.



pgsql-performance by date:

Previous
From: "Tomas Vondra"
Date:
Subject: Re: Write workload is causing severe slowdown in Production
Next
From: "Kevin Grittner"
Date:
Subject: Re: Write workload is causing severe slowdown in Production