Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / November 2006

Tip: Looking for answers? Try searching our database.

Caching an sql table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nemisis - 23 Nov 2006 11:08 GMT
Hi everyone,

I would like to test how big an sql table would be in kb if i put it in
the web cache.  I need to do this as i will need to do it for 80
databases!  So need to check this information before actually
implementing it.

Does anyone know of a tool where by it will tell me the size of the
cache before and after i put an object into it??

The table will have approximately 300-500 rows and about 7 fields in
each row.
Nemisis - 23 Nov 2006 11:35 GMT
Or a could cache an object list, either one, but still need to test the
size once it is in the cache, if anyone can help?
Dave Sexton - 26 Nov 2006 08:44 GMT
Hi,

This method will help you to calculate the approximate size of a single row
of data in the database.  In managed memory, the average size of a row will
probably be somewhat different.  If you feel that your estimates will be too
far off then the only accurate way is to create a prototype application and
test it for yourself using scaled test data (preferably, live data samples).

"Estimating the Size of a Table (Sql Server)"
http://msdn2.microsoft.com/en-us/library/aa933068(SQL.80).aspx

Signature

Dave Sexton

> Hi everyone,
>
[quoted text clipped - 8 lines]
> The table will have approximately 300-500 rows and about 7 fields in
> each row.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.