Project

General

Profile

Actions

Architecture #4527

closed

Architecture #4428: Avoid useless requests and commits in SQL database

Don't commit on database when no modification are made

Added by Nicolas CHARLES over 10 years ago. Updated over 9 years ago.

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

Description

For the multi databases support, we had to change the way to use Squeryl (see http://www.rudder-project.org/redmine/issues/2121 )
However, one drawback is that we commit after every query, even when it's not necessary, causing stress on database.

We have to prevent this behaviour

Actions

Also available in: Atom PDF