sql - SqlCacheDependency multiple / bulk updates -



sql - SqlCacheDependency multiple / bulk updates -

i'm trying understand how sqlcachedependency works in mass update situation. understand how set , if create 1 row alter in database cache becomes invalid.

my question if mass update on table has 100 rows

update mytable set col = 1

question

do 100 invalidate notifications, or smart plenty know info changed , 1 notification sent, invalidates info once?

i'm using similar this:example

my concern if invalidates on , on 1 time again hitting database 100 times fresh info , have think of alternative strategy.

regards dotnetshadow

sql asp.net sql-server

Comments

Popular posts from this blog

php - How to pass multiple values from url -

php - Laravel not returning controller -

c# - Confused on how to specify a Platform and Version while using ChromeOptions for RemoteWebDriver with Selenium donNet since recent updates -