If you compile/recompile your SPL procedures (ie update statistics) with
PDQPRIORITY set they will always run with that priority. My dostats utility
will change PDQPRIORITY to zero (unless you tell it otherwise) before
recompiling your stored procedures for that reason. There are lots of odd
things that happen when you have a procedure that's compiled with a non-zero
PDQPRIORITY. I have seen any session that runs such a proc grab PDQ
resources and never release them, odd locks on catalog tables, etc. No one
has ever explained why this is or reported that it's being fixed (I reported
it to Informix first many years ago). Bottom line, as Tom says, don't
compile any procedure with non-zero PDQPRIORITY unless there is a specific
reason for doing so and you have tested it thoroughly.
Art
Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
IIUG Board of Directors (art (AT) iiug (DOT) org)
Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
organization with which I am associated either explicitly, implicitly, or by
inference. Neither do those opinions reflect those of other individuals
affiliated with any entity with which I am affiliated nor those of the
entities themselves.
On Sat, Jun 12, 2010 at 11:12 AM, Tom Lehr <tomcaml (AT) gmail (DOT) com> wrote:
Quote:
There sems to be a bug (?) that is not very widely advertised - When
running stats in a daily/weekly script, run stats for the procs first
with no pdq being set.
Then set pdq to your liking and run table stats. i have never heard an
explanation - official or otherwise - why setting pdq and running
stats over procs does "weird" things but apparently it sure does.
Maybe you can include this in your communications to IBM support.
Tom
_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list |