3
設定值當在內存中創建優化表散列索引我可以設置爲可變BUCKET_COUNT
SQL服務器在內存OLTP散列索引BUCKET_COUNT
CREATE TABLE [Table1] (
[Id] INT NOT NULL IDENTITY(1,1) PRIMARY KEY NONCLUSTERED HASH
WITH (BUCKET_COUNT = 1000000),
[Name] NVARCHAR(100) NOT NULL
)
WITH (MEMORY_OPTIMIZED = ON, DURABILITY = SCHEMA_AND_DATA);
什麼是此變量的最優值的價值?