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

Thread: Assigning particular execution plan to the sql statement

  1. #1
    Join Date
    Apr 2006
    Posts
    3

    Question Assigning particular execution plan to the sql statement


    Hi!

    Agenda.
    Some 3rd party application, a "black box", produces certain SQLs which execution times could be improved by any of known ways, say, rewriting the statement or simply introducing the hint(s). The question, though, is how to assign the "better" execution plan to the statement issued by the black box?

    Is there any way to implement such a "trick"? Are there other ways which could be used in such a situation?


    Thank you,
    Sincerely
    DiStas


  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    what version are you using

  3. #3
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    Use stored outline.

    Tamil

  4. #4
    Join Date
    Jan 2001
    Posts
    3,134
    LOL

    Good luck getting the developers to change the code on a black box. I have supported a few, the worst was the vanilla based SQL that Crystal Reports used to rape my database with.
    When I picked it out the developers just stared at me with that blank look on their face

    "We don't know where that came from, can't you speed it up, it takes to long"

    I love being a DBA!
    I remember when this place was cool.

  5. #5
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    4,166
    Quote Originally Posted by Mr.Hanky
    LOL

    Good luck getting the developers to change the code on a black box. I have supported a few, the worst was the vanilla based SQL that Crystal Reports used to rape my database with.
    When I picked it out the developers just stared at me with that blank look on their face

    "We don't know where that came from, can't you speed it up, it takes to long"

    I love being a DBA!
    What!?!?!?! No gun play????

  6. #6
    Join Date
    Jun 2006
    Location
    Wales, UK
    Posts
    62
    We, too, use a 'black box' - I'm not alllowed to touch the SQL (except to fix the updates that are sent to us so that I can get them to work ).

    I take my revenge by telling the project 'owners' how cr*p the software/company that provides it/whole project is

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