oracle interview question reverse key index

แชร์
ฝัง

ความคิดเห็น • 57

  • @vishalpathak8835
    @vishalpathak8835 3 ปีที่แล้ว

    Shiva academy PLSql videos are awesome and simple to understand.. I am trying to switch my company by these videos only..🙏😊

  • @lunasworld1110
    @lunasworld1110 3 ปีที่แล้ว +1

    Hi Siva, thank you very much. I had gone through this video about an year ago ang noted it. But today interviwer asked about index block contention. I was struggled to answer that question. Now again after this video , got refreshed. Thank tou 😀

  • @sadashiv975
    @sadashiv975 3 ปีที่แล้ว

    Super explanation. Every day I am tuning your channel to get some information from your Academy. Thank you so much.

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      You are most welcome

  • @aniketjagdale7765
    @aniketjagdale7765 11 หลายเดือนก่อน

    You are grate sir, I understand every topic you teach

    • @SivaAcademy
      @SivaAcademy  11 หลายเดือนก่อน

      My pleasure bro, thank you

  • @WorldEye88
    @WorldEye88 5 ปีที่แล้ว

    Very useful and simple way to explain the reverse index pros/cons. Thank you.

  • @nishanthajay
    @nishanthajay 5 ปีที่แล้ว

    One of the best videos/material I've ever seen explaining Index contention and reverse key Index. Thank you so much. You deserve a Like and Subscribe :)

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      It's my pleasure,Thank you so much :-)

  • @amangoel6971
    @amangoel6971 ปีที่แล้ว

    you are a very great person

  • @vijaydubey1734
    @vijaydubey1734 3 ปีที่แล้ว

    You are brilliant Siva , such a key points like range scan is not applicable on reverse key index ,rare people will tell these things in any video

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว +1

      My pleasure, thank you bro

  • @sivakrishna5639
    @sivakrishna5639 3 ปีที่แล้ว

    One of the best !!!!

  • @monicabn3067
    @monicabn3067 ปีที่แล้ว

    Hi shiva,
    Hands down the best explanation.
    I wanted to understand even though it’s addressing the distribution of data, but what is the point of creating the index if after the select query in the explain plan it’s going for full table search instead of index search?
    Please kindly help me understand this.

    • @poonamchauhan5502
      @poonamchauhan5502 9 หลายเดือนก่อน

      Reverse indexes are just as efficient as unreversed indexes for finding specific values, although they aren't helpful for range queries. Range queries are uncommon for artificial values such as sequence numbers. When searching the index, the query processor simply reverses the search target before looking it up. I hope this answer helps you to understand the usage of reverse key index.:)

  • @HariHaran-zy6fk
    @HariHaran-zy6fk ปีที่แล้ว

    Superb ,,❤❤

    • @SivaAcademy
      @SivaAcademy  11 หลายเดือนก่อน

      Thank you

  • @rpbhagato
    @rpbhagato 2 ปีที่แล้ว

    Nice explain. I have one query, if the index key is a varchar column, then how it will reverse it?

  • @Literary_mousi
    @Literary_mousi 2 ปีที่แล้ว

    How does Index work with Varchar columns , how is the tree branches and leafs created and how does reverse index work?

  • @ruchagaikwad20
    @ruchagaikwad20 5 หลายเดือนก่อน

    Thank you

  • @GovindCLT
    @GovindCLT 4 ปีที่แล้ว

    Great explanation. Thank you so much.

  • @wadigzonDiazwong
    @wadigzonDiazwong 3 ปีที่แล้ว

    excellent, thanks for the explanation!

  • @aabha21aug
    @aabha21aug 5 ปีที่แล้ว

    As usual, very nicely explained Siva! However, I have 2 queries.
    1.why would we ever use reverse key index if it does not perform the very function of an index, which is a quick scan using range scan.
    2. Also, why would we rebuild such index. Why not simply drop it and create a new index.
    Thanks!

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      1. Reverse key index is mainly to avoid index index contention
      2. rebuild will not have to recreate the index from scratch

    • @anandsuman2012
      @anandsuman2012 5 ปีที่แล้ว +1

      @@SivaAcademy Same Question I am also having, If you say that reverse key solves the index block contention problem , My antenna says how did we get this problem in the first place , because of the index creation , but that normal index would have given some performance also but the reverse key even after solving the index block contention issue does the full table scan.... It better not to have any index at all in such scenario.... please correct me if I am wrong..

    • @gokulm44
      @gokulm44 4 ปีที่แล้ว

      @@anandsuman2012 I have the same question, also the article "docs.oracle.com/cd/A87860_01/doc/paraserv.817/a76970/appanaly.htm#5247" says it maintains the column order but in the video its says it don't.

  • @vedantpawaskar7606
    @vedantpawaskar7606 5 ปีที่แล้ว

    superbly explain.. Now i understand block contention issue properly and how reverse index works..
    how insertion become fast with reverse index ?

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @Vedant, Thanks for your comment. Insertion wont become faster, indexes help to improve query performance., insert will have additional overhead of inserting into index segment as well..

  • @vivekhadoop3359
    @vivekhadoop3359 4 ปีที่แล้ว

    here question is when reverse key index will be use. can you please tell in which condition this index will be use

  • @vipul1177
    @vipul1177 6 ปีที่แล้ว

    Hey Siva, its really very well explained a layman can also understand the concept....Have a suggestion, Could you also include a topic, in which scenario/s index could be rebuilt??

    • @SivaAcademy
      @SivaAcademy  6 ปีที่แล้ว

      Hi Vipul,
      Sure, I will add a video on index rebuild scenarios and use cases.
      Thanks for your comment.

  • @robertcrues
    @robertcrues 6 ปีที่แล้ว

    Hi Siva
    By default index will have their own impact while insertion. What about reverse key? Can you please explain

  • @pradeepkadam7885
    @pradeepkadam7885 3 ปีที่แล้ว

    Hi what is clustered index is this part of oracle Or sql server

  • @saswatigudli
    @saswatigudli 4 ปีที่แล้ว

    Is there any explanation for index skip scan ?

  • @nishanth3488
    @nishanth3488 3 ปีที่แล้ว

    How this index works for non numerical values

  • @avinashinamdar
    @avinashinamdar 4 ปีที่แล้ว

    To be summarize,
    Only thing we can use this index when there is lot of index data contention and less use of index rage scan.
    Correct me if I'm wrong.

  • @pritamswarupajena1194
    @pritamswarupajena1194 5 ปีที่แล้ว

    What is the problem caused by index block contention

  • @c.nbhaskar4718
    @c.nbhaskar4718 5 ปีที่แล้ว

    if full table scan is going on then the performance would be still slow right ?

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      Yes, but not always. Full table scan would be good in few cases

  • @sushreeshubha9073
    @sushreeshubha9073 5 ปีที่แล้ว

    Hi Siva. Could you please explain the global index and clustered and non clustured index

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      Sure, Please stay tuned.

  • @hello2439
    @hello2439 4 ปีที่แล้ว

    Where Clustered and non-clustered terminolgy used then sir?

  • @ganeshkamble2737
    @ganeshkamble2737 5 ปีที่แล้ว

    Excellent

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @Ganesh, thanks bro 🙏

  • @lekhyadivya2626
    @lekhyadivya2626 4 ปีที่แล้ว

    Please let us know about partition pruning...

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Sure, its already part of my upcoming list, please stay tuned 👍

  • @csekathir1
    @csekathir1 5 ปีที่แล้ว

    Super

  • @robertcrues
    @robertcrues 6 ปีที่แล้ว

    Hi Siva
    By default index will have their own impact while insertion. What about reverse key? Can you please explain

    • @SivaAcademy
      @SivaAcademy  6 ปีที่แล้ว

      @Robertcrues, Any dml changes to the base table, will impact the underlying index data, hence its applicable for reversekey index as well, good that you raised this point, i will post a video specific on index impact due to DML operations