Caching a Large DataSet
From: George Durzi (anonymous_at_discussions.microsoft.com)
Date: 03/01/04
- Next message: Richard B. Lewis: "Unable to start debugging on the Web Server."
- Previous message: Beryl Small: "DatakeyField with multi-column primary key"
- Next in thread: Alvin Bruney [MVP]: "Re: Caching a Large DataSet"
- Reply: Alvin Bruney [MVP]: "Re: Caching a Large DataSet"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 29 Feb 2004 16:21:05 -0800
I maintain a list of companies in my application. The first time the company table is accessed, I create a dataset and stick it in the Cache. When the company table is modified, I expire the cached item, recreate the DataSet, and stick it in the Cache again.
I get excellent performance when running this on my local machine. I can tell when an aspx is accessing a cached copy of the company list since it's very fast. However, it's painfully slow on my production server.
I'm starting to wonder whether it's efficient to store a DataSet that large (1 table, 4000 rows, 5 columns) in the Cache. Should I consider another data type such as an ArrayList that would be lighter to carry around?
- Next message: Richard B. Lewis: "Unable to start debugging on the Web Server."
- Previous message: Beryl Small: "DatakeyField with multi-column primary key"
- Next in thread: Alvin Bruney [MVP]: "Re: Caching a Large DataSet"
- Reply: Alvin Bruney [MVP]: "Re: Caching a Large DataSet"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|