Project

General

Profile

Actions

Architecture #4428

closed

Avoid useless requests and commits in SQL database

Added by Christophe Nowicki over 10 years ago. Updated about 10 years ago.

Status:
Released
Priority:
2
Category:
Performance and scalability
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

Hi,

I've activated the postgresql logs on my development rudder server /
there is only ONE host on this server and after two days / pgFuine
found more than 538k request in the logs, strange isn't?

See the attached pgFuine rapport : 1391089351.html

There is 100k request of COMMIT; looks like every request is atomic ?
(maybe it's useless to protect select requests ?)

The ORM does more than 165k requests for the 'eventlog' in information_schema.

Best Regards,


Files

1391089351.html (401 KB) 1391089351.html Christophe Nowicki, 2014-01-31 11:32

Subtasks 3 (0 open3 closed)

Architecture #4527: Don't commit on database when no modification are madeReleasedFrançois ARMAND2014-02-26Actions
Architecture #4528: Change the query made to check the database status in the system TechniqueReleasedJonathan CLARKE2014-02-26Actions
Architecture #4526: Change the validation query for the databaseReleasedFrançois ARMAND2014-02-26Actions

Related issues 1 (0 open1 closed)

Has duplicate Rudder - Architecture #4525: Improve use of database in RudderRejectedNicolas CHARLESActions
Actions

Also available in: Atom PDF