Database Performance Issue - Basic Guidelines and OS Analysis [top, vmstat, free, iostat,sar] - PT 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ส.ค. 2024
  • Hello Friends,
    Here with one more topic on.
    Database Performance Issue - Basic Guidelines and OS Analysis [top, vmstat, free, iostat,sar] - PT 1:
    ===================================================================================
     What is a DB performance issue:
    • CPU high?
    • Out of Memory?
    • I/O slow?
    • High wait event?
    • Hang?
     General Tuning Guidelines
     Detecting Performance Problems:
     Database Tuning Methodology:
     Workload Characteristics
     Wait Events
    OS Analyis
    ==========
    top analysis
    vmstat analysis
    memory analysis
    iostat analysis
    sar analysis
    #PerformanceTuning #PT #top #vmstat #iostat #free #sar #RAC #exadata #oracle #oracledatabase #oracledba #database #databaseadministration #databases
    Please do follow me and support me on,
    Blog: mallik034.blog...
    LinkedIn: / mallikarjun-ramadurg-3...
    twitter: / mallik034
    instagram: / mallik034
    TH-cam: / @mallik034
    Regards,
    Mallikarjun Ramadurg
    Mobile: +966 543796525
    WhatsApp: +91 9880616848
    Blog: mallik034.blog...
    LinkedIn: / mallikarjun-ramadurg-3...
    twitter: / mallik034
    Instagram: / mallik034
    TH-cam: / @mallik034

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

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

    GREAT EXPLANATION MAN. I USED TO ALWAYS CHECK INSIDE HEREAFTER I WILL CHECK THESE FIRST.... THANKS A LOT👌👌👌👌

    • @Mallik034
      @Mallik034  2 ปีที่แล้ว

      Happy to help

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

    Hi Mallik thankful for your support Eswar from Vizag

    • @Mallik034
      @Mallik034  2 ปีที่แล้ว

      Always welcome

  • @Prakashsv-dh9ej
    @Prakashsv-dh9ej 4 หลายเดือนก่อน

    Great work bro, im becoming fan of yours. Thanks for doing this type of videos....

  • @sanjeevvellaisamy6282
    @sanjeevvellaisamy6282 4 ปีที่แล้ว

    Excellent video.. keep update

    • @Mallik034
      @Mallik034  4 ปีที่แล้ว

      Thanks Sanjeev

  • @Ulta-Fulta
    @Ulta-Fulta ปีที่แล้ว

    Excellent explanation.

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

    Awesome

  • @SujeetKumar-nz5pl
    @SujeetKumar-nz5pl 3 ปีที่แล้ว +2

    Nice video

  • @Haider_Ain
    @Haider_Ain 3 หลายเดือนก่อน

    Thank you for the explanation but lower the NI value (nice value) higher the priority and higher the NI value lower the priority.

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

    Excellent explanation

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

      Glad it was helpful!

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

    Thanks for the detail explanation

  • @DeviL_07s
    @DeviL_07s 2 ปีที่แล้ว

    Very well explained

  • @nikhilingale9636
    @nikhilingale9636 2 ปีที่แล้ว

    One of the best video. Amazing brother. You're awesome.
    This video gives much clarity and helpful for each one of us here to understand the basics of performance tuning here.

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

    Nice explained

    • @Mallik034
      @Mallik034  4 ปีที่แล้ว

      Thanks brother

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

    MashaAllah brother. very nice info.

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

    Good explanation

    • @Mallik034
      @Mallik034  4 ปีที่แล้ว

      Thank you dear.

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

    Very nicely explained. Only thing that could have been better is the volume of voice.

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

    nice

    • @Mallik034
      @Mallik034  4 ปีที่แล้ว

      Thank you Arun. Please so share with you friends and colleagues

  • @akashkokate8048
    @akashkokate8048 2 ปีที่แล้ว

    Nice explanation ❤

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

    Excellent explain please upload all da main topic

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

    Very well explained. Thanks for the session

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

      You are welcome

  • @BHARARHROYAL
    @BHARARHROYAL 4 ปีที่แล้ว

    Great session sir

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

    Very usefull video! Good job!

  • @BabitaSingh-rn4ol
    @BabitaSingh-rn4ol 6 หลายเดือนก่อน

    Please make more videos

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

    Excellent Session Mallik. Could you please take a session on SQL Profiler and SQL BASELINE

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

      Thank you Ramesh, My next session will be on SQL profile and SQL baseline including SPM package.

  • @kids-kh1ij
    @kids-kh1ij 4 ปีที่แล้ว

    Very nicely explained 👍

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

    Very nice sir

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

      Thanks and welcome

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

    Good Job Brother !!

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

    Hi Mallik
    Thank you so much . Your tutorial is very clear. Could you add one more topic about debgugging by using Toad or oracle developer.
    Thanks again

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

      Sure Aly Kebe, I will show you how to debug using toad or SQL developer. Its much easier than SQL command prompt if you toad or sql developer.

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

    Looking more videos on wait events,SQL tuning, sorting, Joins, Baseline, SQL profile. Pls

  • @RaviManam
    @RaviManam 4 ปีที่แล้ว +4

    Hi Mallik
    I can see my Swap memory usage even we have physical memory free, is it good or bad and why it is using swap memory

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

      1. Swap is Disk memory which is slower than Physical memory (RAM)
      2. Your DB or application should not use any swap memory if you have free memory.
      3. Swap memory should be used only when you exhaust complete physical memory that not longer time.
      4. If you are seeing swap memory usage regularly then you need to either increase your physical memory or tune your database by restricting memory limits.
      5. If you see swap memory usage even thought there is free physical memory then some settings miss config in server.
      /etc/sysctl.conf check for swappiness.
      Also check for linux memory configuration and tune your linux server accordingly.

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

      @@Mallik034is there any way to allocate swap memory to database?
      Generally we will allocate memory to database that will take from physical memory and that is not swappable memory and it will not go beyond that memory
      Can you please tell me if it needs more memory than allocated one it will use from swap?

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

      SGA will take from RAM and it will not go more than what defined. But
      PGA will go more than what allocated in 11g.
      To avoid that starting from 12c new parameter PGA_agregate_limit parameter introduced

    • @bharathkumar-ds8cd
      @bharathkumar-ds8cd 4 ปีที่แล้ว

      @@Mallik034 only some situations we are facing huse swap usage issues, that time I am informing to application team then kill the session.mostly it's happens peak business hours. So how to pro actively fix?

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

    Mallik Sir - please correct your words. ni is Nice. As you said higher nice higher priority and less nice less priority.
    It should be Less nice value (-20) higher priority and more nice (+20) less priority.

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

      There are more videos in clearing your doubts on my channel. Check them if still did not clear then i will take one live webinar on these topics for live discussion. Stay tuned

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

    Hi Mallik ,how to identified zombie ,stopped process ,can you please let me know where i have look.

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

      i am able to see zombie ,stopped process .how to resolve in database level

    • @Mallik034
      @Mallik034  4 ปีที่แล้ว

      Okay, I will take on session on the handling these zombie process and OS wait events.
      1. Ideally we need to kill those zombie process
      2. For the OS wait events we need to check further why those are waiting, waiting for resource or waiting for CPU or waiting for client process and then we need to take appropriate action

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

    Can you put your previous session link here pls

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

      I am sharing all the session documents and everything on our DBA group in Telegram.
      Join our DBA gtoup @mallik034 on Telegram