Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Is It Possible To Have Two Databases, One For Reading, One For Writing?

$
0
0
Hi,

is there any way to?:

1) Have 2 database components declared for my application, one pointing to a master database, for writing, and one (or many, ideally) read only replicating databases, for reading only data

2) Redirect writings automatically to master and readings to replica?

If it is not possible, it would be a great addition. If it possible, please be kind and point me to the right direction :)

Thanks in advanced.

Viewing all articles
Browse latest Browse all 18717

Trending Articles