Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2014

    Unanswered: Data Studio - Is the execution time correct?

    Hi all, new here.
    I'm timing some queries to build up a benchmark of sorts using Data Studio 4.1 on Windows. What I have found though is that after starting; the query might run for 5 minutes but the execution time will display as 245ms, as an example. There can be a massive discrepancy between me with a stop watch measuring and the Data Studio "execution time".
    I guess the question is; what does execution time measure?
    Does it include server round-trips? In my example it spent 4min+ doing that?
    By the way I only observe this occasionally, not all the time.
    Anyone else having this issue?

  2. #2
    Join Date
    Jun 2003
    Toronto, Canada
    Provided Answers: 1
    For a benchmark of sorts I suggest you use db2batch, which is available specifically for this purpose.
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Apr 2006
    Provided Answers: 11
    never do benchmarking on remote stations - only if you want to show that your station or the network is the problem part.
    there is a benchmark tool with db2 that can be used for this purpose. see infocenter for details
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5-V11 Fundamentals- DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

  4. #4
    Join Date
    Jun 2014
    Thanks for the quick replies.
    The db2batch command was exactly what I was after, without knowing it.
    There I was running statements one-by-one and recording the time!
    Sure made my day!

Posting Permissions

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