Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

當您使用 Microsoft SQL Server 2016 時,在 sysobjvalues 和 sysseobjvalues 系統資料表的資料庫頁面上,會增加 PAGELATCH_EX 和 PAGELATCH_SH 等待時間。

因應措施

若要解決此問題,請查看您的應用程式,並在適當的地方套用下列方法。 此外,請務必在未來的 Transact-sql 開發中使用這些方法做為最佳做法:

  • 移除在相同的儲存程式執行中不會重複使用的任何臨時資料表的 DROP TABLE 命令。 當建立臨時資料表的會話結束時,SQL Server 會移除臨時資料表。

  • 避免對臨時資料表使用 [截斷資料表] 命令。

  • 避免在建立臨時資料表後變更它們。

  • 如果針對臨時資料表建立索引,請考慮在 [建立表格] 命令中將這些專案移至內嵌索引建立語句中。

解決方案

此修正程式隨附於下列更新:

SQL Server 2016 的累積更新 1 Service Pack 2

SQL Server 2016 的累積更新 9 Service Pack 1

關於 SQL Server 組建

每個新組建的 SQL Server 都包含先前組建中的所有修復程式和安全性修正程式。 我們建議您安裝適用于您的 SQL Server 版本的最新組建:

SQL Server 2016 的最新組建

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×