Fixing SQL Performance Troubles - Live 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

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

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

    I was unable to attend the live stream and thank you for having this recorded so useful for many people like us. Much appreciated!

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

    Thank very much Pinal for all DBA, all world!, your solutions ever, ever function for me. I want to more problems, because I know that you are with me. ! Bendiciones desde México ¡

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

    Congratulations on your first live!

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

    Pinal, nice to see your stream. You have been giving great stuff for us and your posts have been solving lot of our SQL issues. Appreciate your efforts!

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

    @24:56 - how does one fix these problem, if they are a problem:
    1. LCK_M_IS
    2. ASYNC_NETWORK_IO
    - are there more wait types to look out for?
    - can you combine your missing index, unused index, and wait stats scripts into one sql script, and allow it to run on any running production database?

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

      Here is the answer to all the questions - blog.sqlauthority.com/2021/03/08/sql-server-wait-stats-collection-scripts-updated-march-2021/

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

    This was great. Please keep them coming.

  • @MUHAMMADALI-nb6tm
    @MUHAMMADALI-nb6tm 3 ปีที่แล้ว +1

    VERY VERY EFFECTIVE MATERIAL FOR THOSE WHO WANT TO BRING PERFORMANCE FOR THEIR DATABASES.
    PLEASE KEEP SHARING YOUR EXPEREINCES WITH US IN A FORM THAT WE CAN LEARN FROM IT...
    THANK YOU THANK YOU.

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

    Hi Mr. Pinal. Thank you very much sir for this great video. I have watched the recorded version. It was very great and helped me a lot. The way you explain things is really great. Please do not change anything and continue exactly like this. I look forward to your future videos. Thank you.

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

    Talking straight to the problem- solution scenario is always fun. 👍 Great video ! And definitely would like to see more on the subject. 😀

  • @igor.brankovic
    @igor.brankovic 3 ปีที่แล้ว +3

    Great video Pinal! Please, update us with more similar content.

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

    Great stream sir! I missed the announcement that you were going on a live stream so had to watch the recording. Hopefully I can join the next one live :)

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

    One more feather in your cap. A live stream. Boss hats off. Keep posting such great content and I would be looking forward to see you live the next time 👏🏻👏🏻👍

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

      You motivate me...you encourage me...you are my source of energy. 🙏

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

    It was very interesting and hope to see more stuff

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

    Your all sessions are very useful thanks a lot.

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

    Good presentation! I missed the announcement but I am glad I was able to watch and learn!

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

    Thank u sir, for bringing this type of material for us with your experience we learn lot. And found very fun learning of sql with u which enhanced our knowledge of SQL. And keep this live session going we eagerly waiting for ur next video.

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

    Thanks Pinal - you are the best. Awesome!

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

    Sorry I missed the video earlier, but this is nice of you to do for everyone. A question I had...is there ever a reason to *not* update the compatibility mode of a database to the version that it actually is (outside of deprecated code perhaps)? What sort of problems have you seen from this and is there a way to forecast that a problem could occur that needs to be addressed before the update?

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

      Hi Jonathan, many people do not update the compatibility mode in the fear of the poor performance and many do not do it, just because they do not know the setting exists.
      I personally like to upgrade to the latest version all the time and iron out performance issues.

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

    Hello Pinal,
    It was a nice session and more informative.
    Thanks

  • @Mamku-zk6is
    @Mamku-zk6is 3 ปีที่แล้ว +1

    Thanks it is really useful information. Also thank you for shearing all your experience with us.

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

    I don't know if you can explain it but in a common select, if I write the following in the where:
    select * from table1
    inner join table2 on table1.id = table2.id
    where table1.date> = '2021-01-01'
    quickly return the data,
    but when I do exactly the same query but with parameters.
    declare @ date smalldatetime = '2021-01-01'
    select * from table1
    inner join table2 on table1.id = table2.id
    where table1.date> = @ date
    Results take too long.
    difference of minutes vs 3 seconds in the first case.

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

    Love this video :)
    - please put some of the links in the video description

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

    Love your videos. I have been watching your videos for a while and you make these subjects really interesting. You have great energy. Weird. I only have audio in left channel.

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

    Thanks for sharing your experience.

  • @raviji-r3h
    @raviji-r3h 3 ปีที่แล้ว +1

    Sorry, I was unable to attend the live stream, but Next one will sure attend, was busy in work, thanks for Email invite Pinal

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

    Hey Pinnal, I've watched a lot of your videos and read your blog. I appreciate the great work you do. I would like to ask you if you would kindly do a video on DMV that will aid with DBA Routine operations with explanation.

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

    Sir, always we should use tempdb and dbname.table.name.colname while writing queries in stored procedure for performance improvement?

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

    Great video! Awesome content!

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

    why did you not show the STATISTICS for IO & TIME for each query ???

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

    thank you, Pinal
    Do more like this

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

    Hello Pinal, I watch almost all of your videos that are amazing, I'm learning many technics with your sixty-second video.
    Can you please make a video on arithmetic overflow error converting float to data type numeric while processing cube?
    How do I find the value that is throwing an error?

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

    Very useful video, please continue more parts

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

    Very useful . Please continue

  • @hari.ramakrishna
    @hari.ramakrishna 7 หลายเดือนก่อน +1

    Hi Pinal Deva,
    I started learning MSSQL and got a task from my boss saying how to reduce the CPU utilization?
    My Findings: I have collected the top 3 queries causing high CPU and one of them is creating procedure, in that procedure they were using multiple "Insert Into" statements so I suggested them to run the query in batch-wise - is this the right approach?
    Could you please help me with your knowledge on this

    • @PinalDaveSQLAuthority
      @PinalDaveSQLAuthority  7 หลายเดือนก่อน +1

      Yes, running queries in batches can help reduce CPU utilization. Additionally, consider these tips:
      Ensure appropriate indexes.
      Rewrite queries for efficiency.
      Update statistics regularly.
      Monitor performance using SQL Server tools.

    • @hari.ramakrishna
      @hari.ramakrishna 7 หลายเดือนก่อน

      How can I conclude that bulk inserts are involved in the query?

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

    Pls do more sessions for azure sql db paas where we are not having control on config settings.

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

    Hello Pinal, this is a very helpful video..can you please tell me about the criteria for choosing which index is required on the table.

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

      Noted. I will create more video on it.

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

      @@PinalDaveSQLAuthority Thanks Pinal..can you provide me the link to your video where I can learn how to read the execution plan and how to improve the performance of SQL queries.
      :)

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

    Hi Pinal,
    I have watched recorded video, thank you for useful information.
    Could you please let us know your second live timings ?

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

    Really informatics !!

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

    Hey Sir, You are good going please record more content on performance tuning.

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

    Very Nice Session sir . its really helpful.

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

      I really wish I could answer this one easily as this one is bit more complex to resolve and need to look at your system in more detail.

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

    Super. I need Q & A session.

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

    Please do more live analysis, it will helpful, Thanks👍

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

    Been a while, but isn't there a lazy index update configuration option that allows the index to update after the completion of the query instead of updating before completion? How well does that work here?

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

      There is one called index online rebuild.

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

      @@PinalDaveSQLAuthority I believe I was thinking async statistics under the db options, would have sworn there was one for indexes too...also curious about delayed durability's effect on performance and real world dangers

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

      @@jbj1836 Currently there is no such option JBJ, I really loved your question.

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

    How to optimize the stored procedure without knowing logic of stored procedure.

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

    the audio was fine the first time, but became worst when you adjusted it :(

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

    i have also hearing from left

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

    you are awesome

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

    I thought my right earbud is not working 😂😂😂

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

    Good evening sir