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
GREAT EXPLANATION MAN. I USED TO ALWAYS CHECK INSIDE HEREAFTER I WILL CHECK THESE FIRST.... THANKS A LOT👌👌👌👌
Happy to help
Hi Mallik thankful for your support Eswar from Vizag
Always welcome
Great work bro, im becoming fan of yours. Thanks for doing this type of videos....
Excellent video.. keep update
Thanks Sanjeev
Excellent explanation.
Awesome
Nice video
Thanks
Thank you for the explanation but lower the NI value (nice value) higher the priority and higher the NI value lower the priority.
Excellent explanation
Glad it was helpful!
Thanks for the detail explanation
Very well explained
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.
Nice explained
Thanks brother
MashaAllah brother. very nice info.
Thanks
Good explanation
Thank you dear.
Very nicely explained. Only thing that could have been better is the volume of voice.
nice
Thank you Arun. Please so share with you friends and colleagues
Nice explanation ❤
Excellent explain please upload all da main topic
Sure noted
Very well explained. Thanks for the session
You are welcome
Great session sir
Thank you.
Very usefull video! Good job!
Thank you.
Please make more videos
Excellent Session Mallik. Could you please take a session on SQL Profiler and SQL BASELINE
Thank you Ramesh, My next session will be on SQL profile and SQL baseline including SPM package.
Very nicely explained 👍
Thank you.
Very nice sir
Thanks and welcome
Good Job Brother !!
Thanks ✌
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
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.
Looking more videos on wait events,SQL tuning, sorting, Joins, Baseline, SQL profile. Pls
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
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.
@@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?
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
@@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?
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.
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
Hi Mallik ,how to identified zombie ,stopped process ,can you please let me know where i have look.
i am able to see zombie ,stopped process .how to resolve in database level
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
Can you put your previous session link here pls
I am sharing all the session documents and everything on our DBA group in Telegram.
Join our DBA gtoup @mallik034 on Telegram