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

Thread: PL/SQL configuration

  1. #1
    Join Date
    Apr 2002
    Posts
    73

    PL/SQL configuration

    Can we configure the Oracle environment or parameters to make PL/SQL to run more efficient?

    One of our PL/SQL hang, we copied the sql out from pl/sql and running it in sqlplus, the response time was fine.

  2. #2
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    This shouldn't happen. Please give us: OS, Oracle Version and the code that "hung".
    "The power of instruction is seldom of much efficacy except in those happy dispositions where it is almost superfluous" - Gibbon, quoted by R.P.Feynman

  3. #3
    Join Date
    Apr 2002
    Location
    Germany.Laudenbach
    Posts
    448
    Hi,
    first : in SQL*PLUS you used fixed values but in PL/SQL not, you used bindparameter (PL/SQL-Variables) and so the Execution-plan diffs.
    Trace your session and you will see why the pl/sql (THE SQL!!) runs so slow.

    second : if you have Oracle 9iR2 then you can improve PL/SQL-Performance BUT NOT your SQL-Performance.

    Orca

  4. #4
    Join Date
    Sep 2001
    Location
    Düsseldorf, Germany.
    Posts
    588

    Re: PL/SQL configuration

    Originally posted by Blu
    One of our PL/SQL hang, we copied the sql out from pl/sql and running it in sqlplus, the response time was fine.
    Other than that SQL what do you have in your code.. Check if you have never ending loops..

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