i dont want to fully update the molap cache and i also dont want to fully read the source database that is why i am using polling query to poll the changes and processing query to get the changed records from database. for information about polling and processing query you can check the link
http://msdn2.microsoft.com/en-us/library/ms188965.aspx
but i am unable to write these queries to get all changes i.e insert, update and delete records can any one tell me how can i use these queries OR SQL Server provide some other way to just read the changes in source database not the whole dabatase.
This is
about proactive caching, right? If the changes in the table happen to be
insert, update and delete then the processing will *most probably* need to be
done fully.
When you end up with full processing, if you need to use polling notification
mechanism then the processing query is not needed. In case of deletes or
updates the polling query should fetch something like timestamp of the last
change in the database. Why not to use automatic SQL notifications?
The link you provided discusses polling and processing queries for incremental
processing. It is possible when only new records appear in the table (only
inserts).
There is one case when incremental processing can be used with "inserts,
deletes and updates". Suppose at time t1 you have a state of records S1 of
your table. Suppose you manage to make proactive caching to be scheduled at
well known time t2. I suppose Client Initiated is the only reliable one for
deterministic start of the proactive caching. If between t1 an t2 the inserts,
updates and deletes in the table do not change the records from S1 but only
create and modify incremental records then it is possible to use incremental
processing with proactive caching.
No comments:
Post a Comment