SQL Server 2000 Live data mirroring

孤者浪人 提交于 2019-12-11 02:22:46

问题


I am currently working with 2 sql 2000 servers one I can query but not add any databases to which lead to the second one having lots of queries that use the first as a linked server. I would like to improve performance while still querying live data.

Is it possible to mirror the live data to the second server, that way the queries would be local to that server? What are my options?

If an upgrade from sql 2000 is needed that is a possibility.

The data has low update, insert, delete use and high select use so I think this would be ideal if possible.


回答1:


You have three options.

  1. use replication to move the data from the first server to the second. This has the drawback of making changes extremely difficult due to the need to tear down and set the replication up for each change.

  2. Use log shipping in SQL 2000. The idea is that immediately after changes occur on your primary server, data is transferred to your standby server. I haven't done this so I dont personally know the drawbacks. http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/logship1.mspx

  3. Upgrade to SQL 2005 or SQL 2008 and use the built in mirroring features of it. Be aware that you should do some fairly in depth testing to make sure everything works correctly after a major upgrade like this. Although compatible I have had to make tweaks to certain application queries after an upgrade to keep everything functioning normally.



来源:https://stackoverflow.com/questions/182101/sql-server-2000-live-data-mirroring

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!