{"id":3732,"date":"2025-05-29T17:45:47","date_gmt":"2025-05-29T17:45:47","guid":{"rendered":"https:\/\/w3buddy.com\/?post_type=cposts&#038;p=3732"},"modified":"2025-05-29T17:45:48","modified_gmt":"2025-05-29T17:45:48","slug":"mmon-mmnl-manageability-monitor-processes","status":"publish","type":"cposts","link":"https:\/\/w3buddy.com\/blog\/notes\/getting-started-with-oracle-dba\/mmon-mmnl-manageability-monitor-processes\/","title":{"rendered":"MMON &amp; MMNL (Manageability Monitor Processes)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Manageability Monitor Process (MMON) and Manageability Monitor Lite Process (MMNL)<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Eyes That Watch Performance \ud83d\udc40<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83e\udde0 What Are MMON &amp; MMNL?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">MMON and MMNL are background processes that <strong>monitor and manage database performance<\/strong> through the <strong>Automatic Workload Repository (AWR)<\/strong> and <strong>Active Session History (ASH)<\/strong>. Together, they enable Oracle to detect problems, issue alerts, and support self-tuning.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd27 Responsibilities of MMON &amp; MMNL<\/h3>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table><thead><tr><th><strong>Process<\/strong><\/th><th><strong>Role<\/strong><\/th><th><strong>What It Does<\/strong><\/th><\/tr><\/thead><tbody><tr><td>\ud83e\udde0 <strong>MMON<\/strong><\/td><td><em>AWR Manager<\/em><\/td><td>Collects <strong>SGA stats<\/strong>, creates <strong>snapshots<\/strong> every 60 min, runs <strong>ADDM analysis<\/strong>, and raises <strong>performance alerts<\/strong>.<\/td><\/tr><tr><td>\ud83c\udf10 <strong>MMNL<\/strong><\/td><td><em>ASH Manager<\/em><\/td><td>Samples <strong>active sessions<\/strong> every second, stores in <strong>ASH buffer<\/strong>, and periodically flushes to <strong>DBA_HIST_ACTIVE_SESS_HISTORY<\/strong>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\uddc2\ufe0f Where the Data Lives<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\ud83d\udce6 <strong>AWR<\/strong>: Located in the <strong>SYSAUX<\/strong> tablespace, stores long-term performance history.<\/li>\n\n\n\n<li>\ud83d\udd01 <strong>ASH Buffer<\/strong>: In-memory ring buffer, holds recent session activity.<\/li>\n\n\n\n<li>\ud83d\udd04 <strong>Flush Behavior<\/strong>: MMNL flushes <strong>1 in 10 entries<\/strong> when ASH fills or on MMON snapshot.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udca1 Why They Matter<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\ud83e\udde9 Help diagnose slow queries and resource bottlenecks.<\/li>\n\n\n\n<li>\u26a0\ufe0f Automatically raise alerts on metric thresholds.<\/li>\n\n\n\n<li>\ud83d\udd04 Enable <strong>ADDM<\/strong>, <strong>AWR Reports<\/strong>, and <strong>tuning tools<\/strong>.<\/li>\n\n\n\n<li>\ud83d\udcc9 Help in <strong>trend analysis<\/strong> and <strong>capacity planning<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udee0\ufe0f Technical Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Both run as <strong>threads or OS processes<\/strong>.<\/li>\n\n\n\n<li>They also operate on <strong>Oracle ASM instances<\/strong>.<\/li>\n\n\n\n<li>AWR snapshots can be created per <strong>PDB<\/strong> or at <strong>CDB root<\/strong> level.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udcd8 <em>Tip of the Day:<\/em><br>Want to fine-tune snapshot frequency? Adjust the <code>AWR_SNAPSHOT_TIME<\/code> to align with your workload&#8217;s behavior \u2014 more frequent during peak hours, less during idle times.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manageability Monitor Process (MMON) and Manageability Monitor Lite Process (MMNL) The Eyes That Watch Performance \ud83d\udc40 \ud83e\udde0 What Are MMON &amp; MMNL? MMON and MMNL are background processes that monitor and manage database performance through the Automatic Workload Repository (AWR) and Active Session History (ASH). Together, they enable Oracle to detect problems, issue alerts, and [&hellip;]<\/p>\n","protected":false},"template":"","meta":{"googlesitekit_rrm_CAowu461DA:productID":""},"categories":[960,952],"class_list":["post-3732","cposts","type-cposts","status-publish","hentry","category-getting-started-with-oracle-dba","category-notes"],"_links":{"self":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/cposts\/3732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/cposts"}],"about":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/types\/cposts"}],"wp:attachment":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/media?parent=3732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/categories?post=3732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}