<p>In the business I work for we are discussion methods to reduce the read load on our primary database.</p>

<p>One option that has been suggested is to have live one-way replication from our primary database to a slave database. Applications would then read from the slave database and write directly to the primary database. So...</p>

<ul>
<li>Application Reads From Slave</li>
<li>Application Writes to Primary</li>
<li>Primary Updates Slave Automatically</li>
</ul>

<p>What are the major pros and cons for this method?</p>

[{'answer_id': 43514, 'author': 'Eric Z Beard', 'author_id': 1219, 'author_profile': 'https://Stackoverflow.com/users/1219', 'pm_score': 3, 'selected': True, 'text': '<p>A few cons:</p>\n\n<ul>\n<li>2 points of failure</li>\n<li>Application logic will have to take into account the delay between writing something and then reading it, since it won\'t be available immediately from the secondary database</li>\n</ul>\n\n<p>A strategy I have used is to send key reporting data to a secondary database nightly, de-normalizing it on the way, so that beefy queries can run on that database instead of locking up tables and stealing resources from the OLTP server.  I\'m not using any formal data warehousing or replication tools, rather I identify problem queries that are Ok without up-to-the-minute data and create data structures on the secondary server specifically for those queries.</p>\n\n<p>There are definitely pros to the "replicate everything" approach:</p>\n\n<ul>\n<li>You can run any ad-hoc query on the secondary, since it has all of your data</li>\n<li>If your primary server dies, you can re-purpose the secondary quickly to take over</li>\n</ul>\n'}, {'answer_id': 43535, 'author': 'Biri', 'author_id': 968, 'author_profile': 'https://Stackoverflow.com/users/968', 'pm_score': 1, 'selected': False, 'text': "<p>We are using one-way replications, but not from the same application. Our applications are reading-writing to the master database, the data gets synchronized to the replca database, and the reporting tools are using this replica.</p>\n\n<p>We don't want our application to read from a different database, so in this scenario I would suggest using file groups and partitioning on the master database. Using file groups (especially on different drives) and partitioning of files and indexes can help on performance a lot.</p>\n"}]
['https://Stackoverflow.com/questions/43504', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/383/']