« Asus V6V (V68740DD) 實測感言 | 首頁 | MS-SQL Server 2K Backup/Restore T-SQL Notes »
2005年09月28日
Microsoft SQL Server 2000 Replication Notes
相關技術文件
- 微軟官方文件: SQL Server 的分散式資料複寫技術 (繁體中文)
- Setting Up Microsoft SQL Snapshot Replication: Step-by-Step Guide
啟用 Replication 前的相關設定
- Enterprise Manager 註冊的本機 sql server 名稱不得為 (local), 如果是, 須刪除 sql server 註冊資料, 重新以別的名稱註冊
- SQL Server Agent 不能以系統帳號 (System Account) 啟動, 需改用 NT 帳號啟動. 通常是額外新增一 NT 帳號專門用來啟動 SQL Server Agent Service
解決啟用 Replication 後, text / ntext / image 欄位無法儲存大於 65536 bytes 的問題
啟動 Query Analyzer, 執行:
sp_configure 'max text repl size', 2147483647
go
RECONFIGURE WITH OVERRIDE
go
解決 The agent is suspect. No activity reported within the last 10 minutes. 的問題
SQL Server Enterprise Manager -> Replication Monitor (right click) -> Refresh Rate and Settings
Inactivity threshold = 9999參考資料: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q285106
解決 The process could not bulk copy into table "table_name" 的問題
SQL Server Enterprise Manager -> Tools -> Replication -> Create and Manage Publications...
Select your publication -> Properties and Subscriptions
Snapshot -> Character mode formatps. 設定為 "Character mode format" 之後在長時間的 Push Subscription 過程中, 是能有效降低 process could not bulk copy into table 的出現機率, 不過實測結果並不是百分之百有效... :(
Posted by Jamyy at 2005年09月28日 13:59
Trackback Pings
TrackBack URL for this entry:
http://cha.homeip.net/cgi-bin/mt/mt-tb.cgi/129