cb******@gmail.com wrote:
What exactly would be that syntax? I've never used 'explain' before.
Thanks,
+CB
cd sqllib/misc
db2 -tvf EXPLAIN.DDL
db2 "explain plan for update ....."
db2exfmt -d <dbname> -o badupdate.exfmt -1 <- this is "minus one" not "L"
check out the badupdate.exfmt file.
(you can also post it here and hope someone comments)
How many idexes do you have on the table?
Keep in mind that adding indexes slows down changes to the table...
Cheers
Serge
PS: If you run a db warehouse explaining (and interpreting) plans is a
base skill.... google for "visual explain" and db2exmt. There are quite
a few resources available.....
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab