What is NOCOPY Hint | Oracle Pass by reference & Pass by Value | Will NOCOPY improve performance?

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 100

  • @Hari_Ramana
    @Hari_Ramana Месяц назад

    The simple yet elegant way of explaining.

  • @Wilq09
    @Wilq09 3 года назад +1

    this is so far the best explanation of nocopy i've seen. thank you!

  • @joseronald111
    @joseronald111 4 года назад +3

    Excellent video..and as always crystal clear explanation..thank you so much sir👍

    • @SivaAcademy
      @SivaAcademy  4 года назад

      You are most welcome. Thanks for your comment bro

  • @shivanand.s.magadum6276
    @shivanand.s.magadum6276 3 года назад +1

    Crystal clear, Thank you.
    You got new subscriber today.

  • @ajinkyagaikwad2387
    @ajinkyagaikwad2387 3 года назад

    Really you are simply amazing ,,,, I tried to understand what is no copy since last 4 years ,,but today I got everything about No copy ,,, God bless you ,,, You are great 🙏🙏🙏🙏🙏

    • @SivaAcademy
      @SivaAcademy  3 года назад +1

      My pleasure, thank you 💐🙏

  • @pressi14188
    @pressi14188 2 года назад

    Great concept and we learn good concepts every time, thanks for your great video

  • @deepakjagdale6215
    @deepakjagdale6215 4 года назад

    Really nice.. with graphics more easy to understand.. Thanks sir

  • @chaitanyaas3044
    @chaitanyaas3044 4 года назад

    Outstanding Explanation...

  • @lunasworld1110
    @lunasworld1110 4 года назад +2

    Hi bro, need more videos about all types of hints. Thanks in advance.

  • @abifreeflowers
    @abifreeflowers 3 года назад

    really awesome video series with neat and clear explanation..my fingers are looking for one or the other videos of urs ,making me sit all time infront of my lappy

  • @TheHarishAgarwal
    @TheHarishAgarwal 3 года назад +1

    Can you rollback in the exception block to prevent passed by reference overwriting the memory location?

  • @thiru601mbt6
    @thiru601mbt6 2 года назад

    Thanks for all your videos. I never miss your videos. In the current topic can please share the video with multiple parameters. It will helpmany of them who are beginner. Please sir kindly requesting one more video in this topic...

    • @SivaAcademy
      @SivaAcademy  2 года назад

      Thank you, can you please eloborate your question, do you want procedure with multiple parameters?

  • @vikrantmukkawar9737
    @vikrantmukkawar9737 4 года назад +3

    The way of explanation is excellent can you please make series on Oracle from beginner level to expert level it will very helpful for all of us

  • @nareshkatta9740
    @nareshkatta9740 4 года назад +2

    please make a video on oracle awr report.

  • @shashank2004
    @shashank2004 4 года назад

    Awsome explanation bro👍... Very useful
    Ur way to explain it's unique and easier

    • @shashank2004
      @shashank2004 4 года назад

      Thanks a lot bro to make the video and I am awaiting for your upcoming videos.

    • @SivaAcademy
      @SivaAcademy  4 года назад

      Welcome bro, Please stay tuned

  • @jayashreejay2989
    @jayashreejay2989 4 года назад +1

    In a interview it was asked to tell about partition

    • @SivaAcademy
      @SivaAcademy  4 года назад

      Sure please stay tuned, will cover in upcoming videos

  • @pradeepverma8277
    @pradeepverma8277 4 года назад

    Thank u so much sir provide such a good and useful video.

  • @letsreview6517
    @letsreview6517 2 года назад

    If I 've any doubt on concept I always look for your video, hoping that there must be a solution or explanation video available in RUclips.

  • @gauravshukla6799
    @gauravshukla6799 3 года назад

    Perfectly explained,In depth concept explaination,great work :)

  • @minicat1983
    @minicat1983 4 года назад

    Very clear explanation.

  • @WorldEye88
    @WorldEye88 4 года назад

    Thank you sir. Clear and very helpful explanation.

  • @Ujjwal_dreams
    @Ujjwal_dreams 4 года назад

    Few things knew about NOCOPY after doing practice.
    1) If exception occurred in main procedure and it can not be handle & formal parameters(in out or out) defined without NOCOPY.
    Then value will not change for calling environment.
    2)If exception occurred in main procedure and it handled & formal parameters(in out or out) defined without NOCOPY.
    Then value will change for calling environment.
    3)If exception occurred in main procedure and it can not be handle & formal parameters(in out or out) defined with NOCOPY.
    Then value will get change for calling environment.
    4) If exception occurred in main procedure and it handled but in exception section if it re-raised & formal parameters(in out or out) defined without NOCOPY.
    Then value will not change for calling environment
    NOCOPY is used to change the behaviour of call by value parameter to call by reference

  • @srinivass5552
    @srinivass5552 3 года назад

    Great explanation !!

  • @arjunchauhan888
    @arjunchauhan888 2 года назад

    AWESOME Explanation

  • @nrini16
    @nrini16 4 года назад

    Awesome explanation

  • @gunjanbhatt4543
    @gunjanbhatt4543 3 года назад

    Hi,
    Please make a complete video on oracle hints

  • @sujaa1000
    @sujaa1000 4 года назад

    Hi Siva, thank you again, I have a request, can you please make a video on how oracle arrives at an excecution plan.....CBO or RBO, on what basis Oracle decides to use CBO or RBO, how oracle or the optimizer process a query for the beginning.......to the end.
    Look forwards to hear from you.
    Regards,
    Sujaa

    • @SivaAcademy
      @SivaAcademy  4 года назад

      Sure, i will cover as part of performance tuning video series, content preparation in progress. Will update you soon, please stay tuned

  • @kumar-bi1to
    @kumar-bi1to 2 года назад

    Very helpful. Thank you

  • @in2sun275
    @in2sun275 4 года назад

    inside package , u mentioned nested table but u did associative array inside loop . How does it executed i dont know( index by datatype should be there right).But nocopy hint u explained very well .Thank you so much

    • @SivaAcademy
      @SivaAcademy  4 года назад

      no, both places, its nested table only., we cannot define as nested table, and treat it like associative array

    • @in2sun275
      @in2sun275 4 года назад

      @@SivaAcademy sorry i am confused

  • @shaikrasheed2861
    @shaikrasheed2861 4 года назад +1

    Please make performance tuning related videos sir

  • @manjunathreddy3484
    @manjunathreddy3484 4 года назад

    highest salary of the dept which has largest no of employees

  • @rampandraju1812
    @rampandraju1812 4 года назад +1

    I do have a big doubt from long ago and no one clarified me yet.....Hope u do......In a set of 100 queries for example can we get the tables from all the query which is blocking that query because of some issue issue with table as table getting locked..improper use of indexes etc......its like can we get names of those tables which is blocking or making a query execute for long time

    • @SivaAcademy
      @SivaAcademy  4 года назад

      Can you please elaborate your question little bit more, is all the 100 statements are select statement only? Or is there any update statement that prevents others session to do dml operation? Or is the question about finding the long running queries??

    • @rampandraju1812
      @rampandraju1812 4 года назад

      first of all thank you for the quick reply.My question is i have a set of 100 select queries just select count(*) queries and the job i need to do is to execute all those queries and dump the output count in result table..I created a procedure to fetch count from those 100 queries....but there are 2 to 3 queries out of 100 that gets executed continuously because of the problem with tables in that query (creating false index,table getting locked etc)......how i can identify those queries which will take longer time prior with the help of script so that i will stop those queries from entering into procedure to execute

    • @rampandraju1812
      @rampandraju1812 4 года назад

      In a simple way i need to find the long running queries with the help of some script

    • @SivaAcademy
      @SivaAcademy  4 года назад

      Finding the long running queries is easy, but finding the underlying reason immeditly may not be straight forward... i will further test some real time examples, and reply with relevent informations, and will post a video with practical sqls.
      quick answer.to finding the locked objects we can use the "v$locked_object" view, however to find the long running queries, we can check on the v$session_longops

    • @rampandraju1812
      @rampandraju1812 4 года назад

      ​@@SivaAcademy​U mean to find the long run queries I definitely need to run them?

  • @PankajPal-iy7kn
    @PankajPal-iy7kn 4 года назад

    parallel hint please?

  • @nntrainingandplacementsolu9734
    @nntrainingandplacementsolu9734 4 года назад

    very nice video sir with clear explanation,please share code in description section

  • @swapnaram8799
    @swapnaram8799 4 года назад

    Thank you so much sir

  • @nrini16
    @nrini16 4 года назад

    Please make videos on other hints too

  • @deepanshugaur8674
    @deepanshugaur8674 4 года назад

    Hi,
    Your video is very helpful. Thanks!!
    Can u please explain the difference between cluster and non cluster index.
    And between primary and unique index..

    • @SivaAcademy
      @SivaAcademy  4 года назад +1

      sure, please stay tuned.

    • @deepanshugaur8674
      @deepanshugaur8674 4 года назад

      @@SivaAcademy thanks,
      Please also explain how many null values we can have in unique key and why we have only one primary key per table

    • @SivaAcademy
      @SivaAcademy  4 года назад

      Hi, partially answered here, please look into this video
      ruclips.net/video/OulkSRSFJC8/видео.html

  • @palanivelu.a
    @palanivelu.a Год назад

    Super..

  • @dineshkumar-vp9dm
    @dineshkumar-vp9dm 4 года назад

    Pls send what is different between for clause and forall clause plsql
    Pls share video

    • @SivaAcademy
      @SivaAcademy  4 года назад

      sure, please stay tuned

    • @Ujjwal_dreams
      @Ujjwal_dreams 4 года назад

      Doesn't matter how much u have practiced on PLSQL how much u provide conceptually right answer in the interview but but if u could not give RIGHT SQL output of NORTH INDIAN INTERVIEWER(specially noida Gurgaon) u will be never selected.
      Had given interview in 20 mnc all they have same SQL query interview question .

    • @Ujjwal_dreams
      @Ujjwal_dreams 4 года назад

      Sapient Interviewer asked 1.5 years experience candidate: how will u reschedule failed procedure ?
      Even this question don't know 7 years experienced TCS and Oracle guys ..
      Fidelity investments interviewer answer conflict :
      Select 1,2 ,3 from.dual
      Union
      Select 1,2from dual ;
      Ujjwal can u give me o/p .. candidate: we can't join it directly ...but if we place null as an thrid attribute in second query then it will give the o/p ..
      Interviewer said : no u r wrong ...
      Maruti india Gurgaon interview anwer conflict :
      How many types of triggers there?
      Candidate : dml ,ddl ,mutating trigger.
      Interviewer: thr is no such trigger named mutating...
      Candidate : pls check it at ur end it is trigger and also error

  • @nareshkatta9740
    @nareshkatta9740 4 года назад

    what is the use of awr report?

  • @abbeydudeuk
    @abbeydudeuk 4 года назад

    dang again had to give LIKE.

  • @googdriveforme4115
    @googdriveforme4115 4 года назад

    Very useful

  • @jayashreejay2989
    @jayashreejay2989 4 года назад

    Can yu also teach about partition concept in plsql sir

  • @shaikrasheed2861
    @shaikrasheed2861 4 года назад

    Are refcursor and pass by reference are same ??

    • @SivaAcademy
      @SivaAcademy  4 года назад

      Conceptually same, but functionally different. ref cursor will point to the memory, and get fetched by the calling program, however pass by reference load all the data into the memory

  • @juno7893
    @juno7893 3 года назад

    👏🏻👏🏻👏🏻

  • @shobharani8634
    @shobharani8634 2 месяца назад

    Very nice video Siva..can you give your mail id pls

  • @vijayaparasurmannu369
    @vijayaparasurmannu369 4 года назад

    Thank you for the clear explanation sir.Very helpful