My Table tbl_FieldeData_ColStore Data Example:
/NonClustred Column Store Index on Table/
CREATE NONCLUSTERED COLUMNSTORE INDEX NCCI ON tbl_FieldeData_ColStore ( PDID,FieldID )
/Below Select was using Non CLustered Column Store Index/
SELECT * FROM tbl_FieldeData_ColStore WHERE PDID = 46222 AND FieldID = 102582
Plan for Select Statement
https://www.brentozar.com/pastetheplan/?id=HJKsB0MT_
/ Not Using Above Created NonClustered ColumnStore Index, when i run below Update / Delete statement /
UPDATE tbl_FieldeData_ColStore SET InActive = 0 WHERE PDID = 46222 AND FieldID = 102582
DELETE tbl_FieldeData_ColStore WHERE PDID = 46222 AND FieldID = 102582
Plan for Update Statement:
https://www.brentozar.com/pastetheplan/?id=rkFADT-pu
Plan for Delete Statement:
https://www.brentozar.com/pastetheplan/?id=S1DCcpbpO
May I know Why This Happening With Non Clustered Column Store Index?
Is this way Non Clustered Column store Index Works?
Please Help me, Want to know How Non Clustered Column Store Index Works For Update / Delete Statements.
WHERE
clause result in? Can you link the actual execution plan (you can use Paste The Plan) in both cases? (Please update your post with the answers to these questions.)