• Blog
    • Oracle EBS ERP
      • DBA
      • Developer
      • Application
    • Db2 Database
    • MySQL
  • About Me
  • Skills
  • Education
  • Employment
  • Contact

Generate execution plan of script

  • Home
  • Generate execution plan of script

Developer develop script for db2 which is sometimes take huge load so need to take necessary action which is tuned the script. For tuning purpose DBA has to generate the execution plan to understand the load of script on server. [Both steps valid in db2] 

$db2 set current explain mode explain
$db2 –tvf <filename>.sql
$db2exfmt -1 –d <database name> –o db2exfmt.out
$ db2 set current explain mode no
$db2advis -d <database name> -i <filename>.sql –o output.out
Tags
db2 database, db2 execution plan, db2 tuning script, generate execution plan
Categories
  • Application
  • Db2 Database
  • DBA
  • Developer
  • MySQL
  • Oracle EBS ERP
o
  • Extract & restore single mysql table from backup of databaseSaturday - September 04, 2021
© 2019 KS is proudly powered by Kapil Savaliya.