Showing posts with label queries. Show all posts
Showing posts with label queries. Show all posts

Thursday, March 29, 2012

configuration/load balancing

Hi

On our SQl Server (2000) we can have queries that take at least 10-20mins
(require full table scan fo billion row table). When one of these queries
is running it substantailly slows down very quick queries (sub second
queries take several seconds).

I believe there is no way to set priorities but was wondering if there
are other configuration settings that could help. The server is dual
processor so maybe setting maxdop to 1 will help. Memory size is
dynmaically assigned up to 4Gb but as the DB size is > 1Tb I'm not sure
if allowing this much memory is actually decreasing performance when the
quick query trys to get through.

Any suggestions.

Thanks
MikeMike Read wrote:
> Hi
> On our SQl Server (2000) we can have queries that take at least
> 10-20mins (require full table scan fo billion row table). When one of
> these queries is running it substantailly slows down very quick
> queries (sub second queries take several seconds).

I don't know your env and its requirements but to me the difference
between sub 1 sec and several seconds doesn't sound worth the effort
changing anything - unless, of course, you have lots of these short
queries executed in sequence and the difference sums up dramatically.

> I believe there is no way to set priorities but was wondering if there
> are other configuration settings that could help. The server is dual
> processor so maybe setting maxdop to 1 will help. Memory size is
> dynmaically assigned up to 4Gb but as the DB size is > 1Tb I'm not
> sure if allowing this much memory is actually decreasing performance
> when the quick query trys to get through.
> Any suggestions.

A random list that comes to mind:

- scheduling: make sure the long runners are done during the night or
other time when the DB is mostly idle.

- distribution of data: either via some form of replication or by moving
data from one DB to a complete different system

- optimizing SQL: additional indexes, different query conditions etc.

Cheers

robert|||Hi Robert

> I don't know your env and its requirements but to me the difference
> between sub 1 sec and several seconds doesn't sound worth the effort
> changing anything - unless, of course, you have lots of these short
> queries executed in sequence and the difference sums up dramatically.

Yes there could well be a lot of the small queries.

> - scheduling: make sure the long runners are done during the night or
> other time when the DB is mostly idle.

I'm trying to write some sort of queue to help with this but the chances
are there will always be a long running query executing at a given time.

> - distribution of data: either via some form of replication or by moving
> data from one DB to a complete different system

We're looking at getting another server to handle the long queries
so this might utilmately be the answer

> - optimizing SQL: additional indexes, different query conditions etc.

We've pretty much done what we can but some queries will always need a
full table scan.

As all queries run at the same priority I was kind of expecting a
0.1 sec query to take approx 0.2 sec (rather than 10 secs as is happening)
if another (long) query is running.

As this isn't the case I presume there's some sort of
overhead/cache/swapping occuring that I might have been able to
reduce showhow.

Thanks
Mike|||Mike Read wrote:
> Hi Robert
>> I don't know your env and its requirements but to me the difference
>> between sub 1 sec and several seconds doesn't sound worth the effort
>> changing anything - unless, of course, you have lots of these short
>> queries executed in sequence and the difference sums up dramatically.
>>
> Yes there could well be a lot of the small queries.
>>
>> - scheduling: make sure the long runners are done during the night or
>> other time when the DB is mostly idle.
>>
> I'm trying to write some sort of queue to help with this but the
> chances are there will always be a long running query executing at a
> given time.
>> - distribution of data: either via some form of replication or by
>> moving data from one DB to a complete different system
>>
> We're looking at getting another server to handle the long queries
> so this might utilmately be the answer
>> - optimizing SQL: additional indexes, different query conditions etc.
>>
> We've pretty much done what we can but some queries will always need a
> full table scan.
> As all queries run at the same priority I was kind of expecting a
> 0.1 sec query to take approx 0.2 sec (rather than 10 secs as is
> happening) if another (long) query is running.
> As this isn't the case I presume there's some sort of
> overhead/cache/swapping occuring that I might have been able to
> reduce showhow.

My guess would be that your DB is IO bound during these phases, i.e. the
long running table scans eat up all the IO bandwidth and that's slowing
you down. I'd do some measurements to verify that before you change
anything.

Kind regards

robert|||"Mike Read" <mar@.roe.ac.uk> wrote in message
news:Pine.OSF.4.63.0601251140480.472688@.reaxp06.ro e.ac.uk...
> Hi Robert
> > - distribution of data: either via some form of replication or by moving
> > data from one DB to a complete different system
> We're looking at getting another server to handle the long queries
> so this might utilmately be the answer

This may ultimately be your best answer. But...

> > - optimizing SQL: additional indexes, different query conditions etc.
> We've pretty much done what we can but some queries will always need a
> full table scan.

Why? I'd suggest perhaps posting some DDLs here. Some folks here can
sometimes do some amazing work.

> As all queries run at the same priority I was kind of expecting a
> 0.1 sec query to take approx 0.2 sec (rather than 10 secs as is happening)
> if another (long) query is running.
> As this isn't the case I presume there's some sort of
> overhead/cache/swapping occuring that I might have been able to
> reduce showhow.

Well, generally more RAM is good.

But keep in mind SQL Server 2000 Standard is limited to 2 gig of RAM.

So make sure you're using Enterprise on an OS that will permit use of more
RAM.

I'd highly suggest at least Windows 2003 for your OS and ideally moving to
SQL 2005 to boot.

For example, SQL 2005 Enterprise on Windows 2003 Enterprise can supply up to
64 Gig of RAM. (if you really have money to burn,go to Enterprise for
Itanium Systems.. 1TB of RAM. Oh and send a few checks my way. :-)

Also, you may want to if you haven't already, get more disks and partition
tables accordingly.

For example, if it's only one large table that gets scanned, move it to its
own set of disks. This will isolate the disk I/O.

> Thanks
> Mike|||Hi Greg

>>
>> We've pretty much done what we can but some queries will always need a
>> full table scan.
>>
> Why? I'd suggest perhaps posting some DDLs here. Some folks here can
> sometimes do some amazing work.

The main table is 1 billion rows of about 60 columns, we've indexed on the
most common attributes users might select on but we allow them to mine
the data using arbitary SQL so they might decide to look for an arithmetic
combination of parameters (again some of which we have anticipated and
materialized) or do stats on the columns etc.

> Well, generally more RAM is good.
> But keep in mind SQL Server 2000 Standard is limited to 2 gig of RAM.
> So make sure you're using Enterprise on an OS that will permit use of more
> RAM.
> I'd highly suggest at least Windows 2003 for your OS and ideally moving to
> SQL 2005 to boot.

We're running on Windows 2003 with 4 Gb.

> For example, SQL 2005 Enterprise on Windows 2003 Enterprise can supply up to
> 64 Gig of RAM. (if you really have money to burn,go to Enterprise for
> Itanium Systems.. 1TB of RAM. Oh and send a few checks my way. :-)

A bit out of our price range though we could almost cache the table :)

> Also, you may want to if you haven't already, get more disks and partition
> tables accordingly.
> For example, if it's only one large table that gets scanned, move it to its
> own set of disks. This will isolate the disk I/O.

Currently we spread all database/tables across 4 RAID volumes to increase
aggregate IO. Initially most queries were accessing the main large table
but the new project DB is currentlty much smaller so there is scope for
some separation

Thanks
Mike|||Mike Read (mar@.roe.ac.uk) writes:
> On our SQl Server (2000) we can have queries that take at least 10-20mins
> (require full table scan fo billion row table). When one of these queries
> is running it substantailly slows down very quick queries (sub second
> queries take several seconds).
> I believe there is no way to set priorities but was wondering if there
> are other configuration settings that could help. The server is dual
> processor so maybe setting maxdop to 1 will help. Memory size is
> dynmaically assigned up to 4Gb but as the DB size is > 1Tb I'm not sure
> if allowing this much memory is actually decreasing performance when the
> quick query trys to get through.

Setting MAXDOP to 1 will avoid the CPUs being monopolized by huge query,
but a two-way box sounds a bit thin for that amount of data.

However, the main killer here is probably memory. As you scan that 1TB
table, the cached a number of times, and all those small queries must
read from disk. 4GB also sounds a bit thin, then again, 8 or 12 GB is
not going to make that much difference anyway.

A separate server, ot at least a seprate instance for those mean queries
would be a better bet.

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||Hi Erland

> A separate server, ot at least a seprate instance for those mean queries
> would be a better bet.

Thanks, this sounds like a reasonable way forward.

Mike|||Hello,
It sounds like you are creating a "data warehouse." Basically, there
is transactional data, where you are adding, updating, and deleting
data. For this a more normalized data schema is vastly preferred.

However, someday someone wants to pull that data out, and the users are
NOT very sophisticated about learning inner and outer joins to get
their data out.
Mostly they are looking at querying the data and reporting.

If you have a billion rows, you probably have fairly worthwhile
reporting requirements. How would you like to take your 18 minute
queries, and turn them into sub second response time? How about turning
ALL queries against a billion rows into sub second response? Look into
OLAP.

OLAP requires a different mind set. It does not solve all business
requirements, but it can take the vast majority and make them REALLY
fast.
I've implemented several OLAP solutions for various companies. It takes
a large data set to be worthwhile, and at a billion rows you are
probably approaching critical mass where you can't provide data
solutions to your data customers without it.

For grins, create a cube off your main table. You will have something
along the lines of "names of stuff." in your de normalized table. Make
3 or 4 of these "dimensions." Hopefully these "names of stuff" have no
more then 200-300 variations. Human understood Product names, or
countries or something. Dates are another great Dimension.

You will have numbers. These are frequently dollars, or counts, or
something like that. Make no more then two of these "measures."

It will process once every time you change something, so it takes some
patience to learn how to set it up.
Once you have it set up, it is a LOT faster to query.

Remember how slow it was to do table queries before you had any
indexes? OLAP is a LOT bigger step towards efficiency and speed then
indexes were over raw tables.

drop me a note if you want some help getting it going. I havent' done
one in a while, and i'm getting a little rusty, and would appreciate
being able to help someone get it going.
drmiller 100 at hotmail com

remove spaces!

Sunday, February 19, 2012

Concurrent queries in SQL Server 2005 Express

If applicable, what's the limit on concurrent queries supported by SQL Server 2005 Express? Also, if there's a limit, does next connection after the max errors out or merely queues up?

Thanks,

Phillip

hi Pjhillip,

PhillipM wrote:

If applicable, what's the limit on concurrent queries supported by SQL Server 2005 Express? Also, if there's a limit, does next connection after the max errors out or merely queues up?

Thanks,

Phillip

as in MSDE 2000 (and full blown SQL Server's editions), there's a "tecnical" limit of 32767 connections... and this can not be workarounded..

MSDE has another "limit", a built in Governer, but it does not prevent futher connections when the magic number of 8 concurrent workloads is reached.. it simply linearly slows down every I/O activity for all active connections...

SQLExpress does not include this query governor, but addresses the edition limitation reducing memory the process can address to 1gb (instead of 2gb for MSDE)...

this 1gb of memory includes all memory segments used by the server, so that data (and pages) cahed as long as query plans, memory structures for locks and additional providers are held within this "container"...
connections cost as well in term of memory strucures, so they are held within the very same limited "container"...

so, when no additional resources are available for the "next connection", the connecting process will hang up waiting for released resources... as soon as this task times out (connection timeout property), an exception will be raised...

regards

|||

Andrea,

Thanks a lot! I should extend my query timeout property then to be on the safe side.

Phillip

Concurrent queries exceeded

I am getting the following error message on a test SQL
Server:
'This SQL Server has been optimized for 8 concurrent
queries. This limit has been exceeded by 7 queries and
performance may be adversely affected.'
However, I can't seem to find any reference to this
anywhere let alone how to actually change the number of
concurrent queries!
Has anybody else had this problem or know's how to chnage
the setting?
Cheers
Lee.Looks like you are running MSDE. MSDE is optimized for 5 client and 3 server
process concurrent queries.
MSDE is free but is governed to limit performance.
If you need more concurrent connections and queries, you need to install a
full version of SQL Server.
--
--
Mike Epprecht, Microsoft SQL Server MVP
Epprecht Consulting (PTY) LTD
Johannesburg, South Africa
Mobile: +27-82-552-0268
IM: mike@.NOSPAMepprecht.net
Specialist SQL Server Solutions and Consulting
"Lee Pantling" <Lee.Pantling@.SGP.co.uk> wrote in message
news:054f01c3d9e4$83b146b0$a001280a@.phx.gbl...
> I am getting the following error message on a test SQL
> Server:
> 'This SQL Server has been optimized for 8 concurrent
> queries. This limit has been exceeded by 7 queries and
> performance may be adversely affected.'
> However, I can't seem to find any reference to this
> anywhere let alone how to actually change the number of
> concurrent queries!
> Has anybody else had this problem or know's how to chnage
> the setting?
> Cheers
> Lee.|||This is generated by the workload governor that is in SQL Server 2000
Personal Edition and SQL Server 2000 Desktop Engine (MSDE 2000). Information
about the governor is at this Web page:
http://www.microsoft.com/sql/msde/techinfo/workloadgov.asp
You cannot change the setting of the workload governor. If it is limiting
the performance of your instance of SQL Server, you would have to upgrade to
SQL Server 2000 Standard Edition or Enterprise Edition to get a version of
SQL Server that does not have the governor. If the governor is not getting
invoked often, it may not have much of an effect on the performance of your
systsem.
--
Alan Brewer [MSFT]
Lead Programming Writer
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights

Concurrent queries exceeded

I am getting the following error message on a test SQL
Server:
'This SQL Server has been optimized for 8 concurrent
queries. This limit has been exceeded by 7 queries and
performance may be adversely affected.'
However, I can't seem to find any reference to this
anywhere let alone how to actually change the number of
concurrent queries!
Has anybody else had this problem or know's how to chnage
the setting?
Cheers
Lee.Looks like you are running MSDE. MSDE is optimized for 5 client and 3 server
process concurrent queries.
MSDE is free but is governed to limit performance.
If you need more concurrent connections and queries, you need to install a
full version of SQL Server.
--
Mike Epprecht, Microsoft SQL Server MVP
Epprecht Consulting (PTY) LTD
Johannesburg, South Africa
Mobile: +27-82-552-0268
IM: mike@.NOSPAMepprecht.net
Specialist SQL Server Solutions and Consulting
"Lee Pantling" <Lee.Pantling@.SGP.co.uk> wrote in message
news:054f01c3d9e4$83b146b0$a001280a@.phx.gbl...
quote:

> I am getting the following error message on a test SQL
> Server:
> 'This SQL Server has been optimized for 8 concurrent
> queries. This limit has been exceeded by 7 queries and
> performance may be adversely affected.'
> However, I can't seem to find any reference to this
> anywhere let alone how to actually change the number of
> concurrent queries!
> Has anybody else had this problem or know's how to chnage
> the setting?
> Cheers
> Lee.
|||This is generated by the workload governor that is in SQL Server 2000
Personal Edition and SQL Server 2000 Desktop Engine (MSDE 2000). Information
about the governor is at this Web page:
http://www.microsoft.com/sql/msde/t...workloadgov.asp
You cannot change the setting of the workload governor. If it is limiting
the performance of your instance of SQL Server, you would have to upgrade to
SQL Server 2000 Standard Edition or Enterprise Edition to get a version of
SQL Server that does not have the governor. If the governor is not getting
invoked often, it may not have much of an effect on the performance of your
systsem.
Alan Brewer [MSFT]
Lead programming Writer
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights

Concurrent queries error

On my server running SQL Server 2000 (SP3). I frequently get this
informational message in the Event Viewer log.

17052 :
This SQL Server has been optimized for 8 concurrent queries. This limit has
been exceeded by 2 queries and performance may be adversely affected.

The application that I am running is a vendor application so I do not have
access to the code. I contacted the vendor, but they have never seen this
problem and cannot recreate it. I checked the Microsoft Knowledge Base for
help, but I came up empty. It seems like it should be a simple
configuration change.

Any advice?
Thanks,
JeffI found the answer many times by just searching this site. Should have
done that first.

Go ahead and remove this thread.

Jeff

Concurrent queries

Where do I change the setting for concurrent queries? I
keep seeing the following in my sql log.
This SQL Server has been optimized for 8 concurrent
queries. This limit has been exceeded by 1 queries and
performance may be adversely affected.
ThanksHi Jeanie,
You will only see that message on MSDE or SQL Server Personal Edition, and
it is a limitation built in to these (basically free) versions, so that they
can't be used for large systems. If you don't want to see it anymore you
will have to upgrade to SQL Server Standard Edition.
Jacco Schalkwijk
SQL Server MVP
"Jeanie" <jfhayes@.godwingruber.com> wrote in message
news:67a901c3e672$9083c1c0$a001280a@.phx.gbl...
quote:

> Where do I change the setting for concurrent queries? I
> keep seeing the following in my sql log.
>
> This SQL Server has been optimized for 8 concurrent
> queries. This limit has been exceeded by 1 queries and
> performance may be adversely affected.
> Thanks
|||Jeanie,
Are you running either MSDE or Personal Edition of SQL Server? If so, these
are scaled down in size from the full SQL Server. Your choices would then
be:
1 - Accept the reduced performance
2 - In a development environment, upgrade to SQL Server Developer Edition
3 - In a production environment, upgrade to SQL Server Standard Edition
Russell Fields
"Jeanie" <jfhayes@.godwingruber.com> wrote in message
news:67a901c3e672$9083c1c0$a001280a@.phx.gbl...
quote:

> Where do I change the setting for concurrent queries? I
> keep seeing the following in my sql log.
>
> This SQL Server has been optimized for 8 concurrent
> queries. This limit has been exceeded by 1 queries and
> performance may be adversely affected.
> Thanks
|||If you download the latest BOL update (January 2004) it has new material
specifically about the MSDE 2000 Workload Governor.
http://www.microsoft.com/sql/techin.../2000/books.asp
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Jeanie" <jfhayes@.godwingruber.com> wrote in message
news:67a901c3e672$9083c1c0$a001280a@.phx.gbl...
quote:

> Where do I change the setting for concurrent queries? I
> keep seeing the following in my sql log.
>
> This SQL Server has been optimized for 8 concurrent
> queries. This limit has been exceeded by 1 queries and
> performance may be adversely affected.
> Thanks
|||Jacco
Is it relative easy to update the Personal Edition to Sql
Server Standard. Where can I find the white papers.
Thanks
Jeanie
quote:

>--Original Message--
>Hi Jeanie,
>You will only see that message on MSDE or SQL Server

Personal Edition, and
quote:

>it is a limitation built in to these (basically free)

versions, so that they
quote:

>can't be used for large systems. If you don't want to

see it anymore you
quote:

>will have to upgrade to SQL Server Standard Edition.
>--
>Jacco Schalkwijk
>SQL Server MVP
>
>"Jeanie" <jfhayes@.godwingruber.com> wrote in message
>news:67a901c3e672$9083c1c0$a001280a@.phx.gbl...
I[QUOTE]
>
>.
>
|||Hi Jeanie,
It is fairly straightforward to do an edition upgrade of SQL Server. Just
make sure you back up all your databases first, including the master and
msdb databases.
See the topic "upgrading SQL Server, edition upgrades" for the details.
Jacco Schalkwijk
SQL Server MVP
<anonymous@.discussions.microsoft.com> wrote in message
news:6eb301c3e6b7$5bb1f9e0$a501280a@.phx.gbl...[QUOTE]
> Jacco
> Is it relative easy to update the Personal Edition to Sql
> Server Standard. Where can I find the white papers.
> Thanks
> Jeanie
> Personal Edition, and
> versions, so that they
> see it anymore you
> I

Concurrent queries

Where do I change the setting for concurrent queries? I
keep seeing the following in my sql log.
This SQL Server has been optimized for 8 concurrent
queries. This limit has been exceeded by 1 queries and
performance may be adversely affected.
ThanksHi Jeanie,
You will only see that message on MSDE or SQL Server Personal Edition, and
it is a limitation built in to these (basically free) versions, so that they
can't be used for large systems. If you don't want to see it anymore you
will have to upgrade to SQL Server Standard Edition.
--
Jacco Schalkwijk
SQL Server MVP
"Jeanie" <jfhayes@.godwingruber.com> wrote in message
news:67a901c3e672$9083c1c0$a001280a@.phx.gbl...
> Where do I change the setting for concurrent queries? I
> keep seeing the following in my sql log.
>
> This SQL Server has been optimized for 8 concurrent
> queries. This limit has been exceeded by 1 queries and
> performance may be adversely affected.
> Thanks|||Jeanie,
Are you running either MSDE or Personal Edition of SQL Server? If so, these
are scaled down in size from the full SQL Server. Your choices would then
be:
1 - Accept the reduced performance
2 - In a development environment, upgrade to SQL Server Developer Edition
3 - In a production environment, upgrade to SQL Server Standard Edition
Russell Fields
"Jeanie" <jfhayes@.godwingruber.com> wrote in message
news:67a901c3e672$9083c1c0$a001280a@.phx.gbl...
> Where do I change the setting for concurrent queries? I
> keep seeing the following in my sql log.
>
> This SQL Server has been optimized for 8 concurrent
> queries. This limit has been exceeded by 1 queries and
> performance may be adversely affected.
> Thanks|||If you download the latest BOL update (January 2004) it has new material
specifically about the MSDE 2000 Workload Governor.
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
--
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Jeanie" <jfhayes@.godwingruber.com> wrote in message
news:67a901c3e672$9083c1c0$a001280a@.phx.gbl...
> Where do I change the setting for concurrent queries? I
> keep seeing the following in my sql log.
>
> This SQL Server has been optimized for 8 concurrent
> queries. This limit has been exceeded by 1 queries and
> performance may be adversely affected.
> Thanks|||Jacco
Is it relative easy to update the Personal Edition to Sql
Server Standard. Where can I find the white papers.
Thanks
Jeanie
>--Original Message--
>Hi Jeanie,
>You will only see that message on MSDE or SQL Server
Personal Edition, and
>it is a limitation built in to these (basically free)
versions, so that they
>can't be used for large systems. If you don't want to
see it anymore you
>will have to upgrade to SQL Server Standard Edition.
>--
>Jacco Schalkwijk
>SQL Server MVP
>
>"Jeanie" <jfhayes@.godwingruber.com> wrote in message
>news:67a901c3e672$9083c1c0$a001280a@.phx.gbl...
>> Where do I change the setting for concurrent queries?
I
>> keep seeing the following in my sql log.
>>
>> This SQL Server has been optimized for 8 concurrent
>> queries. This limit has been exceeded by 1 queries and
>> performance may be adversely affected.
>> Thanks
>
>.
>|||Hi Jeanie,
It is fairly straightforward to do an edition upgrade of SQL Server. Just
make sure you back up all your databases first, including the master and
msdb databases.
See the topic "upgrading SQL Server, edition upgrades" for the details.
Jacco Schalkwijk
SQL Server MVP
<anonymous@.discussions.microsoft.com> wrote in message
news:6eb301c3e6b7$5bb1f9e0$a501280a@.phx.gbl...
> Jacco
> Is it relative easy to update the Personal Edition to Sql
> Server Standard. Where can I find the white papers.
> Thanks
> Jeanie
> >--Original Message--
> >Hi Jeanie,
> >
> >You will only see that message on MSDE or SQL Server
> Personal Edition, and
> >it is a limitation built in to these (basically free)
> versions, so that they
> >can't be used for large systems. If you don't want to
> see it anymore you
> >will have to upgrade to SQL Server Standard Edition.
> >
> >--
> >Jacco Schalkwijk
> >SQL Server MVP
> >
> >
> >"Jeanie" <jfhayes@.godwingruber.com> wrote in message
> >news:67a901c3e672$9083c1c0$a001280a@.phx.gbl...
> >> Where do I change the setting for concurrent queries?
> I
> >> keep seeing the following in my sql log.
> >>
> >>
> >> This SQL Server has been optimized for 8 concurrent
> >> queries. This limit has been exceeded by 1 queries and
> >> performance may be adversely affected.
> >>
> >> Thanks
> >
> >
> >.
> >

Concurrent Queries

Hi
Would like to ask anyone who knows what are the probable causes of the error below
This SQL Server has been optimized for %d concurrent queries. This limit has been exceeded by %d queries and performance may be adversely affected
Does adding memory helps. this error occurs every 5 mins
JefYou can get the error when you are using MSDE or are using
the Personal Edition. If you are getting the error that
often, you should consider upgrading to SQL Server standard
or higher. Adding memory won't make a difference.
-Sue
On Mon, 1 Dec 2003 15:06:10 -0800, "Jeff"
<anonymous@.discussions.microsoft.com> wrote:
>Hi,
>Would like to ask anyone who knows what are the probable causes of the error below:
>This SQL Server has been optimized for %d concurrent queries. This limit has been exceeded by %d queries and performance may be adversely affected.
>Does adding memory helps. this error occurs every 5 mins.
>Jeff
>

Concurrent queries

I have an accounting program that is runing very slow. The
only error that shows in the errorlog is "spid12 This SQL
Server has been optimized for 8 concurrent queries. this
limit has been exceeded by 12 queries and performance may
be adversely affected." What dose this mean? the program
runs on SQL Server 2000.
Thaks,Daniel,
It means that you are running either MSDE or SQL2000 personal engine and
this behavior is by design.They are not meant for heavy workload and you may
want to upgrade to a retail edition.
--
Dinesh.
SQL Server FAQ at
http://www.tkdinesh.com
"Daniel Barnaby" <dbarnaby@.beltonschools.org> wrote in message
news:658101c37d52$ff644ee0$a601280a@.phx.gbl...
> I have an accounting program that is runing very slow. The
> only error that shows in the errorlog is "spid12 This SQL
> Server has been optimized for 8 concurrent queries. this
> limit has been exceeded by 12 queries and performance may
> be adversely affected." What dose this mean? the program
> runs on SQL Server 2000.
> Thaks,