Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Posts
    6

    Unanswered: Time taken for Query Execution

    Hi iam trying to do performance testing on the db2 UDB 8.1 PE. Is there any way the DB2 gives us the time taken for a query to execute.

    Thanks
    Satish

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    Try using the db2batch utility (see the Command Reference manual) which was specifically developed for benchmark testing.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  3. #3
    Join Date
    Feb 2004
    Location
    Copenhagen
    Posts
    220

    Time command

    If you're on AIX, Linux or Unix,
    You can use the time command
    from the shell.

    i.e.

    time db2 "myquery"

    BOW
    Kristian K. Hansen
    Project Supervisor
    National Board of Health

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •