SELECT statement Processing in an Oracle Database - DBArch Video 7

Sdílet
Vložit
  • čas přidán 25. 09. 2017
  • You will learn from this video how a SELECT statement is processed in an Oracle Database. You will learn about the a Parse, Execute and Fetch phases in a select statement.
    Our Upcoming Online Course Schedule is available in the url below
    docs.google.com/spreadsheets/...
    Reach us at learn@tisyasolutions.com
  • Věda a technologie

Komentáře • 76

  • @kristinaorgandzieva8913
    @kristinaorgandzieva8913 Před 4 lety +24

    "If you can't explain it simply, you don't understand it well enough" ... You have explained simplest of all .... You understand it perfectly. The auditorium is happy to follow such great videos for Oracle.

  • @claudensuhfor1466
    @claudensuhfor1466 Před 3 lety +6

    This video is the most helpful and concise video on SQL execution. Thanks man

  • @ravikishor143
    @ravikishor143 Před 2 lety +1

    I have attended core dba in multiple institutes and noone is not as clear as you. Your way of explanation is so easy to understand and concepts are explained very clearly...keep up the good work

  • @stefanmoha7437
    @stefanmoha7437 Před 6 lety +6

    Best teaching ever seen unbeleivable!!!!! May GOD guide you to the truth about HIM. It is the best gift someone can get in his life.

  • @p.vijayakumar2755
    @p.vijayakumar2755 Před 5 lety +4

    Best explanation I ever seen..I was searching for right guide for oracle and I found it..Thanks for your effort..We are expecting more videos.

  • @mongodb1833
    @mongodb1833 Před 5 lety +1

    Everything is nice. Presentation, Technic, Explanation. May god bless you.

  • @shivaprasads1257
    @shivaprasads1257 Před 5 lety

    Very clear and simple, easy to understand explanations for the concepts. Awesome sir. I was searching for these concepts in youtube like anything, fortunately, I found your videos.:))

  • @rotrose7531
    @rotrose7531 Před 4 lety

    Thank you very much for explaining the subject of oracle in a way that everyone can understand.

  • @syedanoorumar1419
    @syedanoorumar1419 Před 5 lety

    You are the best of all...My heart satisfies with ur explanations with valid reasons that u provide..please make the practical scenarios also for all ur videos
    ...and also please make the videos on Oracle Apps DBA with practical scenarios..

  • @banojswain9535
    @banojswain9535 Před 2 lety +1

    Excellent explanation. Thank you🙏 sir.

  • @poulomidasbairagi1452
    @poulomidasbairagi1452 Před 5 lety

    Best explanation Sir. _/\_ I was looking for a proper guidance on this. The way you explain every details seems so easy. Thank you.

  • @tirupatiraoyegireddi2575
    @tirupatiraoyegireddi2575 Před 6 lety +1

    Nice Sir...Thank you very much your help...

  • @pavanb3198
    @pavanb3198 Před 6 lety +1

    Hi Sir , Thank you for all your valuable time & energy for making the videos on the oracle Dba and sharing the knowlede.
    Request:Please make a video on Multitenant Architecture in 12c .
    Thanking you in advance.

  • @sujaa1000
    @sujaa1000 Před 4 lety

    Thank you sooo much, superbly explained and understood.
    Regards,
    Sujaa

  • @adityagandhi4532
    @adityagandhi4532 Před rokem

    Amazingly explained sir

  • @lukembogo
    @lukembogo Před 6 lety +2

    Sir!! I salute you... you know what you are teaching, congratulations

  • @tinachaulagai5177
    @tinachaulagai5177 Před 5 lety

    Excellent Tutorial

  • @digvijaydamame7351
    @digvijaydamame7351 Před 6 lety +1

    You are the best :) :) :)

  • @manzoor5554
    @manzoor5554 Před 4 lety

    Good explanation ...DONE...

  • @syedyasirali3743
    @syedyasirali3743 Před 4 lety

    very best explanation (Y)

  • @srikanthgandhi7289
    @srikanthgandhi7289 Před 4 lety

    You are Amazing

  • @nazishtabassum2573
    @nazishtabassum2573 Před rokem

    Short and informative video

  • @lalithaterala7693
    @lalithaterala7693 Před 2 lety

    SUBSCRIBED YOUR CHANNEL🙏 I'm pretty feeling comfortable listening to your classes. Thank you sir.

  • @amankumar9818
    @amankumar9818 Před 5 lety +1

    Sir ji thanks a lot.
    You are beyond best. I don't have word to adjectify you.
    Namaste

  • @saifali7080
    @saifali7080 Před rokem

    Thank you Sir

  • @shivvishnoi2279
    @shivvishnoi2279 Před 6 lety +1

    Thanks you very much. This is very helpful.

  • @himanshubhusanrath212
    @himanshubhusanrath212 Před 6 lety +2

    Really, very nice explanation... You explained such a complex stuff in a very simple manner.. Thank you Sir :)

  • @dayashankarsh
    @dayashankarsh Před 6 lety +1

    it's Very Good Videos. explained in simple method. thanks

  • @raahul1920
    @raahul1920 Před 4 lety +2

    Hi Ram. How are you? Glad to see you on youtube. Had attended one of your fabulous sessions in Dubai a few years ago. Greetings!!

  • @ashwanimishra8215
    @ashwanimishra8215 Před 6 lety +1

    Best teacher ever... God for dba folks

    • @RamkumarSwaminathan
      @RamkumarSwaminathan  Před 6 lety +1

      Thanks... Enjoy learning

    • @ashwanimishra8215
      @ashwanimishra8215 Před 6 lety +1

      Ramkumar Swaminathan seriously sir....in my entire schooling college and work life... Never found such an amazing learning exp....thanks a ton 👏

  • @elmokhliss4852
    @elmokhliss4852 Před 4 lety

    Thanks

  • @rajasekharbellapu1491
    @rajasekharbellapu1491 Před 6 lety +1

    Tq

  • @Tonysarfo123
    @Tonysarfo123 Před rokem

    I have watched all your series and i really like your style of teaching.
    Can you do a video series on Postgresql

  • @harisaim
    @harisaim Před 5 lety +5

    nice background music but pls reduce the volume , sometimes its overlapping your voice.
    Nothing we can say about your teaching skills.hats off

  • @ashokm8348
    @ashokm8348 Před 6 lety +1

    Thank you so much ...please upload more videos on RAC.and advanced technologies

  • @shankargoud1030
    @shankargoud1030 Před 2 lety

    Hi Sir,
    Your Explonation is very well and I have one doubt which background process will read data from database and read into the DBcahche.

  • @claudensuhfor1466
    @claudensuhfor1466 Před 3 lety

    when and where is the hash number for your SQL statement created before the database does the shared pool check for a shared area with an exist sql ID? Thank you

  • @beloraymonyela1704
    @beloraymonyela1704 Před 3 lety

    that is awesome thanks a lot...but one question i have is at the time the blocks are send to the buffer cache to process and give data to the app or user. the question is where is the app or user viewing the info ???
    is it from the app which the data was send from the server to the app or the app is in the database getting data in the instance still. meaning the process that the app is doing with the data its send back to be updated on the server or instance. they where all processing from the instance all along. so the processes are internal in the instance?

  • @madhes23
    @madhes23 Před 4 lety

    Best explanation, it would be even more better if that disturbing background music wasn't included.

  • @shankargoud1030
    @shankargoud1030 Před 5 lety

    Hi Sir,
    Kindly upload a video of " HOW TO CHANGE PLAN HASH VALUE OF A QUERY IF IT TAKES BAD PLAN HASH VALUE INSTAEAD OF REGULAR " and explain it if any impact on execution query.

  • @Dibyajyoti222
    @Dibyajyoti222 Před 6 lety +4

    Sir,
    Thank you for this nice video.Very well explained.
    I have a doubt what will happen if the buffer cache is smaller than the table size. Will it get loaded in the memory?
    Thanks

    • @RamkumarSwaminathan
      @RamkumarSwaminathan  Před 6 lety +3

      It will load in parts one after another part(bunch of blocks) of the table and give you the result

  • @mazharali247
    @mazharali247 Před 5 lety

    Hi Sir, are you giving any online training if yes can you please share the details
    Thanks

  • @priyapattanayak5089
    @priyapattanayak5089 Před 2 lety +1

    all the videos are very helpful, Thank you so much sir
    if you have any Rac Dataguard ASM Videos Link please ?

    • @RamkumarSwaminathan
      @RamkumarSwaminathan  Před 2 lety

      Kindly look into playlists in my channel, videos are organised into topics you have requested

    • @priyapattanayak5089
      @priyapattanayak5089 Před 2 lety

      @@RamkumarSwaminathan ok, Thank you so much sir

  • @SaurabhRelia
    @SaurabhRelia Před 3 lety

    Respects

  • @tarunbhardwaj7967
    @tarunbhardwaj7967 Před 3 lety

    Sir as you said hash is generated again for the same statement on next execution meanwhile oracle documentation says its unique for the same statement because this hash is searched out in shared sql area to avoid a statement from being pasred again on next execution. Please correct where I'm wrong to understand about hash.

  • @abdullahsiddique7787
    @abdullahsiddique7787 Před 4 lety

    Sir what is the future of pl sql

  • @chandrashekharbr6514
    @chandrashekharbr6514 Před 3 lety

    Hi, can u explain please hard parse and soft parse

  • @aubap8058
    @aubap8058 Před 6 lety +1

    Thank you for your excellent video. I have a question: "How does oracle find table blocks in datafiles ? If table exist in buffer cache, how does oracle find it ?" Thanks.

    • @RamkumarSwaminathan
      @RamkumarSwaminathan  Před 6 lety

      You can go through my video on Tablespace, Segments, Extents and Blocks czcams.com/video/cp56dkTSSNk/video.html All this is maintained and hence when you submit a query, the database is able to identify which blocks belong to the table/s that you are querying...
      If the block is present in the Buffer Cache then it reads it from there itself... if not it will have to do I/O and read from the data files in the storage...

    • @aubap8058
      @aubap8058 Před 6 lety

      After watching video you have suggested, i understand how oracle find table blocks in storage. But in buffer cache, how oracle find it ? What does oracle base on to find ? Thanks for your quick reply.

    • @RamkumarSwaminathan
      @RamkumarSwaminathan  Před 6 lety

      Buffer cache is only a cache of data files...

  • @sudheerbella8697
    @sudheerbella8697 Před 3 lety

    Hi Ramkumar,
    How to get the details of sql query from server side.
    Note: database max number of processes reached. So, we need to kill some of the queries

  • @maheshs4056
    @maheshs4056 Před 5 lety +1

    Thank you for making this video sir. A few questions,
    For how long will an SQL-Area for a corresponding Query be stored in the Shared Pool before it is decided to remove it?
    For how long will the Data files blocks be stored in the Buffer Cache before it is erased?
    How would this work for queries involving sub-select statements(ex - select * from Emp where Emp.id in (Select id from Managers...))? I'm assuming the Parse-Execute-Fetch process is done on the sub-select statement before the result is returned as a DataFile Blocks to the outer select statement. Correct me I'm wrong.

  • @LAMERFENER
    @LAMERFENER Před 4 lety

    Thanks a lot but where is the usage of result cache?

  • @vadapalliraju123
    @vadapalliraju123 Před 5 lety +1

    Good overview. Thank you. What happens when a hash is generated and later there is a change in DDL? will the hash be deleted and goes for another hard parse??
    Example : 1. hash created for select empid from emp;
    2. Query executed and result returned.
    3. Ddl executed to drop empid column
    4. Reissue the same command..
    When step 4 executed hash would be same as step 1.. So it should ideally go for soft parse but how this scenario would be handled.??

    • @RamkumarSwaminathan
      @RamkumarSwaminathan  Před 5 lety

      On every ddl, typically all depended SQLs in the SQLArea are invalidated and will have to be hard parsed again... Thats why dont execute DDLs in a Production database, unless its an off peak hour...

    • @vadapalliraju123
      @vadapalliraju123 Před 5 lety

      @@RamkumarSwaminathan Thank you for clear explanation

  • @Nick-ui9dr
    @Nick-ui9dr Před 4 lety

    Okay syntax and semantics cleared…. doesn’t this privilege check also actually comes under semantic checks legally? I mean u can make anything but still… I think semantics is about the legal validity...and privileges is one of them I suppose.
    Anyway doesn't mean much if in oracle u do things like that but was jus curious. :)

  • @kodandram373
    @kodandram373 Před 2 lety

    unable to concentrate due to background music in the video even though you explained it nice

  • @sharadraj9201
    @sharadraj9201 Před 3 lety

    Kindly remove background score its a distraction