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

Thread: Pl. Advise in performance Tuning

  1. #1
    Join Date
    May 2001
    Location
    Dallas, US
    Posts
    78

    Angry

    Hi Folks,
    We are writting PL/SQL procedures for warehouse project.. We have to take care about huge records in terms of lakhs...

    But we are struggling in performance tuning part... Please advise about query optimisation.. How 2 optimize queries..

    What types of tuning we have to opt for..
    whether can we go for all rows, first rows, hash, indexing.. or any other stuff...

    Please give ur valuable advise in this..
    please send ur comments to...
    palanir@sakinfotech.co.in

    Eagerly waiting 4 ur reply...

    Thanx in advance
    bye
    Palani Kumar. R
    RP Kumar
    You Can Win, if u believe Yourself

  2. #2
    Join Date
    Jul 2001
    Posts
    1
    Hi,
    Make use of a tool SQLabExpert which is available at http://www.quest.com
    It is not free but you can download the trial version and use it.
    This tool will advise you about the changes to be made in the query.
    I found it very beneficial.

    All the best !!
    Tejal

    Originally posted by Kumar_RP
    Hi Folks,
    We are writting PL/SQL procedures for warehouse project.. We have to take care about huge records in terms of lakhs...

    But we are struggling in performance tuning part... Please advise about query optimisation.. How 2 optimize queries..

    What types of tuning we have to opt for..
    whether can we go for all rows, first rows, hash, indexing.. or any other stuff...

    Please give ur valuable advise in this..
    please send ur comments to...
    palanir@sakinfotech.co.in

    Eagerly waiting 4 ur reply...

    Thanx in advance
    bye
    Palani Kumar. R

  3. #3
    Join Date
    Jan 2001
    Posts
    2,828

    Talking

    Hello

    You are looking for specific answers .you gotta givev us some specifics like the table structures..they query you r tryin to execute and the execuition plan of teh query only then we can help you.

    regards
    hrishy

    P.S:a fool with a tool is still a fool

  4. #4
    Join Date
    Jul 2000
    Location
    India
    Posts
    60
    hi,

    we are doing something similar. for example, i have 2 tables.

    t1 with fields t1f1, t1f2 .....
    t2 with fields t2f1, t2f1 .....

    t1 has around 2 lac records and t2 has 7 lac records. i want to update t1 with sum( t2f2) where t1f1 = t2f1. what will be optimal query ?

    update t1 set t1f2 =
    ( select sum(t2f2) from t2 where t2f1 = t1f1)

    but this runs fro a very long time. is there a better way to write this ?

    satishpc

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