Jump to content

Separating read / write queries on different databases in prestashop


TheLousyCoder

Recommended Posts

I am trying to reduce the load on master database by separating queries.

I have my huge shop having almost 1200 categories. I have currently two database servers, a Master and a Slave.

I need to allocate read queries (select, explain, describe )  to slave db and write queries (update, delete, insert etc ) to Master database. 

I am new to prestashop and your help doing this, any help will greatly appreciated.

 

Edit: running version 1.5.6

Thanks in advance.

Edited by TheLousyCoder (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...