我想嘗試瞭解SQL Server 2008在創建索引視圖時正在做什麼。SQL Server 2008 - 瞭解索引視圖
說我有以下幾點:
CREATE View [vwCoaterC48] WITH SCHEMABINDING
AS
Select
ID,
equipment_id as EquipmentId,
read_time as ReadTime,
C48_R_Act_Temperature,
C48_L_Act_Temperature,
C48_C_Act_Temperature
From dbo.td_coater_c48 c
Where read_time >= Convert(dateTime,'11/4/2011',120)
CREATE UNIQUE CLUSTERED INDEX [IX_vwCoaterC48_ReadTime_EquipmentID_ID] ON [vwCoaterC48]
(
[ReadTime] ASC,
[EquipmentId] ASC,
[ID] ASC
)
我是正確的SQL Server將建立某種形式的物理存儲(表?什麼?)這一點。物理存儲或表只包含read_time列大於或等於11/4/2011的行,並且聚集索引將存在於指示的列上?