Kiva
Kiva

Reputation: 9353

Commit rails 2.3

I'm working to optimize my website in ror. The rails version is 2.3.5. So, I log mysql query. And I see what rails use transaction (begin commit) to create or update object in database. This method use my server resource and I would like to know how I can disable this commit ?

I don't find a configuration for this thing.

Thanks for you help.

Upvotes: 1

Views: 262

Answers (1)

Luke Francl
Luke Francl

Reputation: 31464

This is a terrible idea.

However, you could switch to the MyISAM table type, which does not support transactions.

Upvotes: 2

Related Questions