Board index » delphi » Is there a limit to the number of connections for MSDE

Is there a limit to the number of connections for MSDE


2005-05-31 09:20:45 PM
delphi51
I recently replaced the Paradox engine with MSDE. Works like a charm.
Since every user requires a sever this is about the only way they could
afford a more powerful database. My application writes approximately 3
records per second to the database and creates>120 megs/day of data. I
also run analytical processes against the data. On occassion I have seen an
error as "MSDE out of resources" or words to that effect.
All the writes are on the main thread though one of the analysis (freg dist)
is on a worker thread since it demands so much. But I am judicial about
creating and releasing database connections where appropriate such as when
my report is completed.
Is there a limit to the number of simultaneous connections to MSDE?
Thanks
 
 

Re:Is there a limit to the number of connections for MSDE

Larry Killen writes:
Quote

Is there a limit to the number of simultaneous connections to MSDE?
MSDE is basically MS SQL with a governor attached. You will see serious
performance degradation, by design, after 5 concurrent users (I believe
users, not connections, i.e. each of the 5 users can have multiple
connections - but best to confirm).
--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: www.logicfundamentals.com/RADBooks.html
"The purpose of morality is to teach you, not to suffer and die, but to
enjoy yourself and live." - Ayn Rand
 

Re:Is there a limit to the number of connections for MSDE

Do not forget about 2GB limit per database - if you insert 120 MB/day, you
may reach this limit. 2GB is size of database, it is more than cumulative
size of records, so you have ~ 1 week before going too close to this limit.
//------------------------------------------
Regards,
Vassiliev V. V.
www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)
"Larry Killen" <XXXX@XXXXX.COM>сообщи?сообщила ?новостях
следующе? news:429c6483$XXXX@XXXXX.COM...
Quote
I recently replaced the Paradox engine with MSDE. Works like a charm.
Since every user requires a sever this is about the only way they could
afford a more powerful database. My application writes approximately 3
records per second to the database and creates>120 megs/day of data. I
also run analytical processes against the data. On occassion I have seen
an error as "MSDE out of resources" or words to that effect.
All the writes are on the main thread though one of the analysis (freg
dist) is on a worker thread since it demands so much. But I am judicial
about creating and releasing database connections where appropriate such
as when my report is completed.

Is there a limit to the number of simultaneous connections to MSDE?

Thanks

 

Re:Is there a limit to the number of connections for MSDE

Quote
>Its 5 processes not users or connections
>2GB limit per database
Thanks all.
I am easily pushing the query limit in my reports and I will need to monitor
the growth rate closely.
Larry
 

Re:Is there a limit to the number of connections for MSDE

Brian Bushay TeamB writes:
Quote

Its 5 processes not users or connections.
Running a query takes up a processes and when the query is finished
the process gets released. If all processes are in use query
requests wait for one to free up.
Even more limited than I thought then. Thanks for the correction.
--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: www.logicfundamentals.com/RADBooks.html
SpaceShipOne; GovernmentZero
 

Re:Is there a limit to the number of connections for MSDE

Hi,
Quote
I recently replaced the Paradox engine with MSDE. Works like a charm. Since every user requires a
sever this is about the only way they could afford a more powerful database.
There are more free good databases as MSDE even with less limits.
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird open source database (based on IB-OE) with many SQL-99 features :
www.firebirdsql.org
www.firebirdsql.info
www.fingerbird.de/
www.comunidade-firebird.org/
Support list for Interbase and Firebird users :
XXXX@XXXXX.COM
Nederlandse firebird nieuwsgroep :
 

Re:Is there a limit to the number of connections for MSDE

Actually I'd say less than you thought.
As a general rule 5 concurrent batches means up to 20 users connected
depending on the nature of the workload etc. Of course its also possible for
one user to hog the system.
The workload governor actually has a limit of 8 but the 5 is a planning fig
as the system maybe using some of the workload, especially if you are using
replication.
The complexity and confusion around the governor is the reason it has been
removed for SQL Server Express 2005.
-Euan
"Wayne Niddery [TeamB]" <XXXX@XXXXX.COM>writes
Quote
Brian Bushay TeamB writes:
>
>Its 5 processes not users or connections.
>Running a query takes up a processes and when the query is finished
>the process gets released. If all processes are in use query
>requests wait for one to free up.

Even more limited than I thought then. Thanks for the correction.

--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: www.logicfundamentals.com/RADBooks.html
SpaceShipOne; GovernmentZero

 

Re:Is there a limit to the number of connections for MSDE

If you use DBCC CONCURRENCYVIOLATION you can find out whether you are close
or hitting the governor.
-Euan
"Larry Killen" <XXXX@XXXXX.COM>writes
Quote

>>Its 5 processes not users or connections
>>2GB limit per database

Thanks all.
I am easily pushing the query limit in my reports and I will need to
monitor the growth rate closely.
Larry

 

Re:Is there a limit to the number of connections for MSDE

Not really. I'd say this is less limiting. In my line of business in
vertical market applications, I could have 20 users connected and it would
be rare for 5 of them to be simultaneously running a query.
Craig, www.h3k.biz
Quote

Even more limited than I thought then. Thanks for the correction.

--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: www.logicfundamentals.com/RADBooks.html
SpaceShipOne; GovernmentZero


 

Re:Is there a limit to the number of connections for MSDE

Euan Garden writes:
Quote

The complexity and confusion around the governor is the reason it has
been removed for SQL Server Express 2005.
Sounds good, so what are the new limits of that?
--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: www.logicfundamentals.com/RADBooks.html
Working for yourself is great because you get to work half days, and
you can choose any twelve hours you want.
 

Re:Is there a limit to the number of connections for MSDE

Hello,
here is the link to Microsoft. That should answer the questions about the
MSDE.
www.microsoft.com/sql/msde/productinfo/features.asp
Regards
Karl-Heinz Reng
Reng-EDV
Germany
"Arno Brinkman" <bnewsgroups @ abvisie.nl>schrieb im Newsbeitrag
Quote
Hi,

>I recently replaced the Paradox engine with MSDE. Works like a charm.
Since every user requires a
>sever this is about the only way they could afford a more powerful
database.

There are more free good databases as MSDE even with less limits.

Regards,
Arno Brinkman
ABVisie

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird open source database (based on IB-OE) with many SQL-99 features :
www.firebirdsql.org
www.firebirdsql.info
www.fingerbird.de/
www.comunidade-firebird.org/

Support list for Interbase and Firebird users :
XXXX@XXXXX.COM

Nederlandse firebird nieuwsgroep :
news://newsgroups.firebirdsql.info


 

Re:Is there a limit to the number of connections for MSDE

Hi,
Quote
here is the link to Microsoft. That should answer the questions about the
MSDE.
I meant there are other choices for a database that fit your needs.
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird open source database (based on IB-OE) with many SQL-99 features :
www.firebirdsql.org
www.firebirdsql.info
www.fingerbird.de/
www.comunidade-firebird.org/
Support list for Interbase and Firebird users :
XXXX@XXXXX.COM
Nederlandse firebird nieuwsgroep :
 

Re:Is there a limit to the number of connections for MSDE

Wayne Niddery [TeamB] schrieb:
Quote
Euan Garden writes:

>The complexity and confusion around the governor is the reason it has
>been removed for SQL Server Express 2005.


Sounds good, so what are the new limits of that?

check this
download.microsoft.com/download/9/1/e/91e659f1-4ea2-43c5-b2a4-d48e4b8b120f/SQL_DataSheet_final.pdf
Heinrich