Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a requirement where I need to cache data base in my application because it has many record which I need to query again and again which take lot of resources of computer.

we want to cache table and then query it again.


this we need to achieve in Biztalk Map

What I have tried:

can cache in dataset.
or Entity object but will it work with biztalk mao.


Thanks,
Amit
Posted
Updated 14-Sep-17 3:48am

1 solution

You're thinking about this backwards. You don't cache the table so you can query it locally. That will actually make it MORE intensive because you're no longer using the SQL engine that was designed to do query operations very efficiently.

You cache the results of queries to reuse them later, not the database table to query.
 
Share this answer
 
Comments
Foothill 14-Sep-17 10:41am    
I agree. The best approach would be to analyze the queries and indexes of the target table to maximize efficiencies at the database. If queries are taking a long time to find data, it could be using a poorly written query or the database is creating the necessary indexes to find the data on each query call. Good indexes are key to fast queries.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900