473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Session memory usage

Hi,
does someone know how much memory a user session takes on a SQLServer
database server? How many concurrent user sessions can a normal server
(4 GB primary memory) handle, before connection pooling is needed?

/Fredrik
Jul 20 '05 #1
2 3894
fr****************@passagen.se (Fredrik Bertilsson) wrote in message news:<31**************************@posting.google. com>...
Hi,
does someone know how much memory a user session takes on a SQLServer
database server? How many concurrent user sessions can a normal server
(4 GB primary memory) handle, before connection pooling is needed?

/Fredrik


24KB by default - see "Memory Used by SQL Server Objects
Specifications" in Books Online. But this isn't usually an issue -
what's more important is the cache memory required to support the
queries the user is executing. As for concurrent users, if an
application is well designed to avoid locking then it should scale
well, but a badly designed one could have problems with just a handful
of users.

Simon
Jul 20 '05 #2

"Simon Hayes" <sq*@hayes.ch> wrote in message
news:60**************************@posting.google.c om...
fr****************@passagen.se (Fredrik Bertilsson) wrote in message news:<31**************************@posting.google. com>...
Hi,
does someone know how much memory a user session takes on a SQLServer
database server? How many concurrent user sessions can a normal server
(4 GB primary memory) handle, before connection pooling is needed?

/Fredrik


24KB by default - see "Memory Used by SQL Server Objects
Specifications" in Books Online. But this isn't usually an issue -
what's more important is the cache memory required to support the
queries the user is executing. As for concurrent users, if an
application is well designed to avoid locking then it should scale
well, but a badly designed one could have problems with just a handful
of users.


Also, it's often the time to build up and tear down the connection that's
time consuming, hence another reason (and probably more important) to use
connection pooling.

Simon

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mario | last post by:
If there is an associated memory cost for using session variables, can the memory used be reclaimed on an ASP page by setting the session variable to undefined or null? If on the same ASP page you...
1
by: Christian Perthen | last post by:
Hi, How can a measure server session memory usage? I have a 20-30 session variables and I would like to know how much they memory they consume then multplied with my projected user load. ...
14
by: mjkahn | last post by:
I've read (and read!) that you shouldn't store objects in Session variables. I've read these reasons: - The object takes up memory that may not be freed until the session times out. Better to...
4
by: John Kandell | last post by:
Hi, I posted this in the asp.net group, but didn't get a response. Maybe someone here can help me with this... --- Would someone be able to shed some light on what is the cost of saving a...
8
by: Steve Letford | last post by:
Hi, I've just read the ms KB article on how sessions can die because of the underscore in the machine name and don't think that it applies to me. I've tried using the IP address of the server and...
8
by: mirek | last post by:
Hi, Is it safe to put my objects that are managed c++ wrappers to the session? I want to pass them from one page to the other in the session object but I noticed strange (maybe it is ok)...
15
by: dee | last post by:
Hi, What is the maximum number of minutes for Session timeout that I can specify in web.config? Thanks. Dee
1
by: Mike McDonald | last post by:
I am trying to free up some memory by forcing a session.clear and a session.abandon. When I startup the application, it starts at about 80,000 KB of memory in the aspnet_wp.exe. I am able to...
1
by: Larry Neylon | last post by:
Hi, I'm working on a VBScript application on IIS6 and I'm looking for some advice about the best way of replacing or improving session variable usage. The application is in a secure extranet...
8
by: Shimon Sim | last post by:
My application seems to grow over 50MB for aspnet_wp.exe and I have no idea why. I am using MS Enterprise Library 1.1 in ASP.NET 2.0 I am not sure if this could be a problem. The problem is that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.