If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I clone db2 database from server1 to my vmware
and try to ran explain plan same query, same #rows, same index and primaky but not same explain plan
server1 use indexes but my vmware is table scan
You are running on different hardware, possibly with a different number of (virtual) CPUs, more/less memory, ... So you'll usually expect the plans to be different as soon as the statements become reasonably more complex.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development