DB2 on every other platform has the concept of optimiser statistics to
help the db engine best optimise SQL queries. These are generated
using the RUNSTATS command.
Does DB2/400 have the same concept, and if so, a command like RUNSTATS
to generate the stats?
Ciao
Fuzzy
:-)
Dave
"Fuzzy" <fuz...@nospam.usa.net> wrote in message
news:3bf9a15d...@news.netspeed.com.au...
> No other DB2 platform automacally optimizes the RDBMS for you.
> RUNSTATS is unncessary for DB2/400.
Not exactly. The DB2/400 optimizer is able to suggest you to create
permanent indexes when it creates a temporary one. It does never
create it in a permanent way, which could be said as an automatic
optimization.
>
> Dave
>
>
> "Fuzzy" <fuz...@nospam.usa.net> wrote in message
> news:3bf9a15d...@news.netspeed.com.au...
>> Hi all,
>>
>> DB2 on every other platform has the concept of optimiser
>> statistics to help the db engine best optimise SQL queries. These
>> are generated using the RUNSTATS command.
>>
>> Does DB2/400 have the same concept, and if so, a command like
>> RUNSTATS to generate the stats?
You can use the database monitor thru Operations Navigator.
>>
>> Ciao
>> Fuzzy
>> :-)
>
>
>
--
Cordialement/Best regards
Marc Rauzier
--
Kent Milligan, DB2 & BI team
PartnerWorld for Developers, iSeries
km...@us.removethis.ibm.com GO HAWKEYES!!
>>> www.iseries.ibm.com/db2
(opinions stated are not necessarily those of my employer)
"Fuzzy" <fuz...@nospam.usa.net> wrote in message
news:3bf9a15d...@news.netspeed.com.au...
Thanks everyone for the responses ... things are much clearer now.
Ciao
Fuzzy
:-)