Understanding of data cache Dependencies

Source: Internet
Author: User
Recently, I have studied the data cache dependencies provided in Asp.net 2.0 and want to discuss some issues with you.
(1) A lot of materials are always saying "SQL cache invalidation", but in my opinion, all SQL cache invalidation is database dependent cache, and its core implementation is sqlcachedependency. Don't you know this idea, right? Is it SQL cache invalidation that not only contains database cache dependencies, but also includes something else?
(2) database dependent cache is designed for SQL Server 7/2000/MSDE/2005. The implementation step is to first configure the command line, that is, use aspnet_regsql, and then configure the section of the web. config file. The last step is the specific application. These configurations are implemented only when SQL Server 7/2000/MSDE/is used. For SQL Server 2005, these specific configurations (the first two steps) are not required, what about applications that directly rely on database cache?
(3) is the database cache dependency valid only for common SQL statements, and is it ineffective for data changes caused by stored procedures? In SQL Server 7/2000/MSDE, it can only be effective for common SQL statements, but can be applied to stored procedures in SQL Server 2005?
(4) In the implementation of database cache dependencies for SQL Server 7/2000/MSDE, some triggers and data tables are used for regular queries to detect whether data has changed. In SQL Server 2005, how does one implement it?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.