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

Поділитися
Вставка
  • Опубліковано 12 чер 2023
  • 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

КОМЕНТАРІ • 22

  • @USA_to_Asia_in_2024
    @USA_to_Asia_in_2024 День тому +1

    Thank you so much,

  • @mostafajubayerkhan2448
    @mostafajubayerkhan2448 Рік тому +2

    great

  • @DivyaMahiChennai
    @DivyaMahiChennai 8 місяців тому +2

    Expecting more plsql video’s

    • @DatabaseAcademyRT
      @DatabaseAcademyRT  3 місяці тому

      ua-cam.com/video/xDWE6n2yDFo/v-deo.htmlsi=DL3WmFzTDNcu8Dsc

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

    Nicely explain Great 👍

  • @santoshkumar-dz1jb
    @santoshkumar-dz1jb Рік тому

    Very nice and great

  • @gouthamgoudmangoli2043
    @gouthamgoudmangoli2043 2 місяці тому +1

    Sir Could you explain more videos on performance tuning

    • @DatabaseAcademyRT
      @DatabaseAcademyRT  Місяць тому +1

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

  • @maksim0933
    @maksim0933 6 місяців тому +1

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

    • @DatabaseAcademyRT
      @DatabaseAcademyRT  6 місяців тому

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

  • @sriprabavathik7629
    @sriprabavathik7629 5 місяців тому

    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  5 місяців тому

      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 6 місяців тому

    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  6 місяців тому +1

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

  • @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.

  • @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.