DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: 10053 trace

  1. #1
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865

    10053 trace

    Hi,

    I have a 250 lines query with lot of joins developed by our BO team for one of the BO reports. I tried to generate explain plan for that query but it just simply hanging there.

    So, I stopped that and started generating explain plan with 10053 trace. It is running since last one and half hour and the trace file is now 50MB.

    As I am using 10053 first time, I have no idea how much time it will take (but I am sure it should not be more than one and half hour). Any comments will be much appreciated.

    Thanks,
    Vijay Tummala

    Try hard to get what you like OR you will be forced to like what you get.

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    10053 trace It will take as much time as the query takes to run.
    Last edited by PAVB; 07-24-2010 at 08:08 PM. Reason: typo
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    Thanks Paul. I killed the session after two hours. Trace file is so huge 75MB so it is impossible for me to understand it.

    My first trial with 10053 was not successful ...

    Thanks,
    Vijay Tummala

    Try hard to get what you like OR you will be forced to like what you get.

  4. #4
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    I am in a strange situation where in I am not able to generate explain plan for one query.

    This is the same query that I tried to do 10053. 10053 is generating gigs of trace file and never ending. 10046 trace file size is increasing but when I do tkprof on the trace file i can't see any thing there apart from system queries.

    The same query is fine in UAT. Indexes / constraints are same in both the environments. Only difference is production had few million rows more than UAT.

    If any one want to know more information to help me out please let me know. I am happy to provide.

    Thanks,
    Vijay Tummala

    Try hard to get what you like OR you will be forced to like what you get.

  5. #5
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    adding to my above post ...

    when I try to generate explain plan or try to execute the query that particular session is using 100% CPU.

    Thanks,
    Vijay Tummala

    Try hard to get what you like OR you will be forced to like what you get.

  6. #6
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Quote Originally Posted by vnktummala View Post
    ...i can't see any thing there apart from system queries.
    Use tkprof sys=no option
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  7. #7
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    Thanks Paul.

    Yes, I have used that.

    Finally, developers changed the query logic and it is good now...

    Thanks,
    Vijay Tummala

    Try hard to get what you like OR you will be forced to like what you get.

Posting Permissions

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


Click Here to Expand Forum to Full Width