Anybody recognize this fault from Sybase Central? Happens when you press
F5 to reload.. (you have to press a couple of times fast).. and only for
us when we've started a database by hand with "start database" with
"autostop no".
Can anybody explain?
Thanks
Peter
Media Svar AB
+46-511-10000
Jason Hinsperger
Product Quality
Adaptive Server Anywhere
>"Resource governor for prepared statement exceeded"
>
>Anybody recognize this fault from Sybase Central? Happens when you press
>F5 to reload.. (you have to press a couple of times fast).. and only for
>us when we've started a database by hand with "start database" with
>"autostop no".
>
>Can anybody explain?
>
>Thanks
>Peter
>Media Svar AB
>+46-511-10000
I can't explain, but I'll take a WAG... try this from DBISQL:
SET OPTION PUBLIC.MAX_STATEMENT_COUNT = 0
To see all the current options, execute this from DBISQL:
SET
The MAX_STATEMENT_COUNT = 0 turns off the "resource governor" that
limits the number of prepared statements that can be used at one time
by one connection. Why Sybase Central would blow the default limit of
50 is anyone's guess :)
Breck
// Peter
Jason Hinsperger skrev:
> This error occurs when a certain number of statements (50 by default) are
> prepared and not freed.
> This indicates a bug in Sybase Central. It is preparing statements and not
> freeing them.
> This problem has been fixed in the upcoming 6.0.02 maintenance release.
> To head of your response: No, I don't know when it will be available.
>
> Jason Hinsperger
> Product Quality
> Adaptive Server Anywhere
>
Breck
// Peter
Breck Carter skrev:
You can probably reduce the problem by increasing the governor values
through the SET command. See the online help for the syntax for the two
governor values.
--
Jim Egan [TeamPS]
Dynamic Data Solutions, Inc. http://www.dyn-data.com
Houston, TX
***********************************************************
Enterprise Applications in Your Future?
JumpStart '99 Enterprise Solutions Conference
http://www.JumpStart99.com
***********************************************************