SQL Query Optimization and performance tuning | How to optimize SQL Queries | SQL Query tune

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • In this video you will know how to speed up sql queries to improve database performance and also known how to write efficient sql queries to improve sql database.
    @DatabaseAcademyRT @Oracle #sql #oracledatabase #sqlqueries #performance #plsql
    In this tutorial, you will learn how to optimize the SQL query with example.
    💻Oracle Interview Question and Answer - • Oracle Difference betw...
    💻 Looking for more What is SQL - • SQL Basics for Beginne...
    Feel free to comment and ask questions about SQL or PL/SQL tutorial below and we will get back to you with the answer ASAP!
    If you enjoyed the video, please give a thumbs up, comment, share.
    Do not forget to SUBSCRIBE to this channel to get our new SQL and PL/SQL tutorials delivered straight to you each week!
    Thank You :)
    ❤️ Let’s connect on social ❤️
    LinkedIn:
    lnkd.in/duvhWDuw
    Facebook:
    / databaseacademyrt

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

  • @balakrishnad9246
    @balakrishnad9246 หลายเดือนก่อน +2

    Great.

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

    great

  • @USA_to_Asia_in_2024
    @USA_to_Asia_in_2024 2 หลายเดือนก่อน +1

    Thank you so much,

  • @DivyaMahiChennai
    @DivyaMahiChennai 10 หลายเดือนก่อน +2

    Expecting more plsql video’s

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

      th-cam.com/video/xDWE6n2yDFo/w-d-xo.htmlsi=DL3WmFzTDNcu8Dsc

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

    Nicely explain Great 👍

  • @santoshkumar-dz1jb
    @santoshkumar-dz1jb ปีที่แล้ว

    Very nice and great

  • @gouthamgoudmangoli2043
    @gouthamgoudmangoli2043 4 หลายเดือนก่อน +1

    Sir Could you explain more videos on performance tuning

    • @DatabaseAcademyRT
      @DatabaseAcademyRT  4 หลายเดือนก่อน +1

      Sure I'll create a new video on performance tuning.

  • @maksim0933
    @maksim0933 8 หลายเดือนก่อน +1

    Nice video and topic 👍 what books would you recommend to learn more about writing styles in sql ?

    • @DatabaseAcademyRT
      @DatabaseAcademyRT  8 หลายเดือนก่อน

      I learned these things with my experience and referring to oracle books.

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

    So the union all is basically for large data sir and for columns which index is not created

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

      If we use OR in where condition then index will not be used if we have index on filter column. To use index we can use union so that index will be used and query performance will be improved.

  • @sriprabavathik7629
    @sriprabavathik7629 8 หลายเดือนก่อน

    Thank you so much for this excellent video. I have one doubt. Yoi have explained for select statement same like what are all the possible things we will perform for an update statement for performance tuning. Plz reply

    • @DatabaseAcademyRT
      @DatabaseAcademyRT  7 หลายเดือนก่อน

      Thanks for your comment.
      1. While updating records you should take care about where conditions the same way as mentioned in the video.
      2.You can use Bulk collect and FORALL to update records in bulk.

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

    thanks for great video.
    I have question:
    at 2:03 if I set index on n2 column too, then will it be used in OR query?

    • @DatabaseAcademyRT
      @DatabaseAcademyRT  8 หลายเดือนก่อน +1

      An "OR" condition typically involves evaluating multiple expressions, and it may result in a full table scan rather than using an index.

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

    Have you created an index on n1 or n2 columns already?

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

      If there is large amount of data then it’s mandatory to create indexes on joining columns

    • @DatabaseAcademyRT
      @DatabaseAcademyRT  ปีที่แล้ว +2

      We should create an index only when we have performance issues and have a large amount of data. Index will slow down your DML operation.