Oracle SQL Tuning Expert Series - Understanding Indexes

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 32

  • @hoki8296
    @hoki8296 4 місяці тому

    He is a Great instructor. I learned a lot. Thank you.

  • @waldoaraya3058
    @waldoaraya3058 3 роки тому

    Excellent talk. Crystal clear explanation. Thanks a lot. Greetings from Chile-SoutAmerica.

  • @rjairtel
    @rjairtel 6 років тому +7

    I was once thrown out of oracle interview for telling B tree is Binary Tree... :)
    Wish the interviewer would have seen this and knew I am not alone...

    • @necbranduc
      @necbranduc 4 роки тому

      Most RDBMS actually use B+trees as a data structure for an index. So, saying an index is a B-tree is an over-simplification of this and is generally not used as a data-structure, maybe the presenter just said it as an example. If your interviewer asked specifically a "B-Tree", then shame on him for acting so unprofessional! Otherwise, he might have expected for you to correct him or know of a B+Tree.
      Anyway, I hope you found this information useful and hope you got the next great job!

  • @DebabrataPatnaik
    @DebabrataPatnaik 8 років тому

    A very elegant presentation. The exercise was perfect and I feel the guy representing Buffer Cache will definitely remember oracle index working for a long long time.

    • @boganpies
      @boganpies 8 років тому

      Thanks Debabrata. Yes, the demo worked better than I had any right to expect, mostly thanks to Jordan's sublime comic timing.

  • @mmaller0319
    @mmaller0319 6 років тому +1

    Excellent Presentation.Cleared a lot of concepts.

  • @prachideshmukh9527
    @prachideshmukh9527 7 років тому +1

    Excellent Video. I could able to solve my performance problem with this information. Thanks Ross

  • @mohan1958
    @mohan1958 Рік тому

    Great work.

  • @itminds5452
    @itminds5452 8 років тому

    good to learn and understand in simple ways

  • @damajikalunge7896
    @damajikalunge7896 5 років тому

    In example 5.
    select c.customer_name , c.customer_address, i.invoice_num, i.invoice_date,i.invoice_amount
    from Customer c, ---100 k rows
    Invoice i ---- 10 M rows
    where c.cust_id=i.cust_id
    AND c.customer_name=' Tarun Kumar' -- exactly one row
    AND i.invoice_date >= (sysdate-12) -- 20 % of all rows
    If we are scanning more than 20% of rows should we add the index on an invoice date? Does not it violate the thumb rule?

  • @waldoaraya3058
    @waldoaraya3058 3 роки тому

    Where can we download the slides? It would be very helpful. Thanks a lot

  • @quannguyen185
    @quannguyen185 5 років тому

    thank you so much for your sharing.

  • @mgml3330
    @mgml3330 8 років тому +2

    In Q&A, talking about network latency as a reason for performance degradation reading from disks, because the data has to go back and forth - Even if the data has to be read from the buffer cache where the buffer cache is also in the server memory and hence there is a round trip (network latency). So, doesn't it just come down to only the quick access from memory versus relatively slow access from the disk? Because, there is network latency in both? Thanks

    • @boganpies
      @boganpies 7 років тому +1

      Hi MGM L. I'm not sure I understand your question. Are you saying the cost of a round trip to memory is the same as Network Latency. I'm no hardware geek, so I'm prepared to be shouted down on this, but Memory (RAM) is resident on the machine and directly accessible by the CPU. Latency to pick something out of RAM is vanishingly fast.Disk systems CAN be resident on the machine (like the SSD in my laptop), but are not directly accessible by the CPU. It needs to send a message to the disk controller to find and read data. That round-trip is called (at least I call it) Disk Latency, and it is fast, but nothing like as fast as reading from memory.Enterprise databases don't exist on my laptop. More often than not, their disk storage is NOT resident on the machine - it's on a whole nuther machine. When the database wants something off that disk system, it needs to send a message across the network to that machine, and THAT'S Network Latency - it takes time.

  • @mantu1234567890
    @mantu1234567890 8 років тому +1

    where can I find the link to more presentation s of urs. loads of things to learn from you

  • @jayak3768
    @jayak3768 3 роки тому

    22:09 How come an 8kb block with int as 8 byte only holds 400 entries. It should be 8kb/8 bytes, 1000 entries.

  • @rahulkumaragrawal8113
    @rahulkumaragrawal8113 5 років тому

    I have one doubt- during B-Tree slide, how come 400 entries comes in one block of 8KB if you are creating an index on a 8 byte field? As per my calculation it will be 8000/8 = 1000 entries, does it make sense? Will help if you anyone can clarify.

  • @309saurabh
    @309saurabh 8 років тому

    Thank you Ross! Excellent video, where can I find the video for next session?

    • @boganpies
      @boganpies 8 років тому +1

      It hasn't been made yet. But subscribe to the channel so you don't miss out.

    • @waldoaraya3058
      @waldoaraya3058 3 роки тому

      Where can I fin the next session video?

  • @mahmudurkhan5754
    @mahmudurkhan5754 4 роки тому

    Wow, he is the best

  • @mantu1234567890
    @mantu1234567890 8 років тому +1

    Ross you are awesome. I need more links to your video s

    • @boganpies
      @boganpies 8 років тому

      Cheers Parag. If only I could turn kudos into cash :-)

    • @mantu1234567890
      @mantu1234567890 8 років тому

      He he he... :)... Yeah, I agree with you. Thanks anyways.

  • @mantu1234567890
    @mantu1234567890 8 років тому

    I want to learn your way - in the end you said there will be more presentations in future. Hope you have given them. But sadly, I was not able to find the links in UA-cam. Can you help me finding those. Thanks in advance.

    • @boganpies
      @boganpies 8 років тому

      There's no more Oracle presentations ... yet. But if you follow the DWS channel, UA-cam will let you know when they arrive.

    • @mantu1234567890
      @mantu1234567890 8 років тому

      Thanks Ross.

  • @vitoroliodasda
    @vitoroliodasda 8 років тому

    excellent.

  • @itminds5452
    @itminds5452 8 років тому

    what r disadvantage of index

    • @DebabrataPatnaik
      @DebabrataPatnaik 8 років тому

      Index has straight impact on the data loads as index has to be rebuild for data loads as specified in the presentation for new data blocks for attributes which are indexed. Be very careful on choosing what to index. If there are multiple index data loads will get impacted as well as those might or might not be used for all sql queries.

  • @balgovindtiwari7577
    @balgovindtiwari7577 7 років тому

    English songs
    lyrics