Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hi,
following document shows an example of an explain output for an update
statistics statement.
http://www.ibm.com/developerworks/db2/zones/informix/library/techarticle/miller/0203miller.html
I used following statement in dbaccessset explain on;
update statistics for table x;
but no output is created in sqexplain.out file. The file is created but
it is empty.
I used IDS 11.50.FC1 on Linux.
Any idea how to turn on explain plan for update statistics ?
Regards ...
Joerg
Joerg Rueschenschmidt schrieb:
> Hi,
>
> following document shows an example of an explain output for an update
> statistics statement.
>
> http://www.ibm.com/developerworks/db2/zones/informix/library/techarticle/miller/0203miller.html
>
>
> I used following statement in dbaccess
>
> set explain on;
> update statistics for table x;>
> but no output is created in sqexplain.out file. The file is created but
> it is empty.
>
> I used IDS 11.50.FC1 on Linux.
>
> Any idea how to turn on explain plan for update statistics ?
>
> Regards ...
>
> Joerg
John Miller from IBM wrote to me. It works for distribution only.
You need to do update statistics medium or high to get the explain output.
Regards ...
Joerg
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.