<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Cloud Evolving Data on Medium]]></title>
        <description><![CDATA[Stories by Cloud Evolving Data on Medium]]></description>
        <link>https://medium.com/@cloudevolvingdata?source=rss-ef5a8f21e4b6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GkQHWEDHu2kDPjSj2f4Ziw.png</url>
            <title>Stories by Cloud Evolving Data on Medium</title>
            <link>https://medium.com/@cloudevolvingdata?source=rss-ef5a8f21e4b6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 02:36:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cloudevolvingdata/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Oracle Exadata Data Centre Migration]]></title>
            <link>https://medium.com/@cloudevolvingdata/oracle-exadata-data-centre-migration-5e0f3a8c7dcc?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e0f3a8c7dcc</guid>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[exadata]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Sat, 20 Sep 2025 15:21:47 GMT</pubDate>
            <atom:updated>2025-09-20T15:21:47.906Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*i4AwDvRelEtLJM1aEr2Rxg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*c93sytAxupz66wRuNvZFvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*MUm2IZLisZV3BzIQ7-oRrg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*T45SLw_xdLK8U5_3S52Q9g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*9MiFb4RkEDgfueVqV0jhSA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*wIOoIoJd6zN4n-SkW27DsQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*6pua81sNNK83RMhuesMhcw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ryl7FflMpb2fG5PUqRpnqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*hLUiMCnnmqa-mx0nXCzBNw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*2PoQQiaJiUNEB_Kk-apzKA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ODgtcZ9V5Eg-zOUsasa53g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*HN8CBxzsXeBeYiKPrC5eQA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*aXx5gyGPTjpoEcsa15ux4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*F3pl_BOjmJg36sreHZZL8Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e0f3a8c7dcc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Database @Azure]]></title>
            <link>https://medium.com/@cloudevolvingdata/oracle-database-azure-f21e20d7cc8e?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f21e20d7cc8e</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[exadata]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Sat, 20 Sep 2025 15:06:24 GMT</pubDate>
            <atom:updated>2025-09-20T15:07:21.507Z</atom:updated>
            <content:encoded><![CDATA[<h3>Exadata Database Service</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*7O5aWHPgZvcyUJvg1DtaOg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*VPseVLWZsaq_hEpZ7mDuSg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ODar99YsHLoQvt8NzKdwkg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*RqMKWOUq07ZTqHhAhAm75A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*Dp7gFVC4MVNksG_dxGNi6g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*tZ46AJ-G3PTJCKO18m4oOA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*7-CDGm6SNw7eT7wabi8AzQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f21e20d7cc8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Transparent Data Encryption (TDE)]]></title>
            <link>https://medium.com/@cloudevolvingdata/oracle-transparent-data-encryption-tde-2da6e3dec73c?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2da6e3dec73c</guid>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Sat, 20 Sep 2025 14:59:32 GMT</pubDate>
            <atom:updated>2025-09-20T14:59:32.555Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*Sj63C2CyZzJdwRUy3I0yKQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*7-v0wXSNcJCh7dyDtlH9Nw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*qig6DaXiTHEZIR_2492vIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*UUhfFWaLn6kepDDXrH84WA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*DJnUy242O05DG6htgk-PWQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*eg0EaL9iEePVIrJIx76qtQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*mCiDaOpMsmuQfUuD_V5D5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*mdAbrjK5vRkbAnV5jCKhVQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*6P3YrUdYTPx7B7C-KyLkkQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2da6e3dec73c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle High Load SQLs & Advisor]]></title>
            <link>https://medium.com/@cloudevolvingdata/oracle-high-load-sqls-advisor-b10865bdd128?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b10865bdd128</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[database-administration]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[dba]]></category>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Thu, 13 Mar 2025 13:19:52 GMT</pubDate>
            <atom:updated>2025-03-13T13:19:52.610Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Si3nt4nFV34CN_TW640YGg.png" /></figure><h3>🎯High Load SQLs &amp; Tools</h3><h3>🟦<strong>High-load SQL:</strong></h3><ul><li>These<strong> </strong>are poorly-performing, resource-intensive SQL statements that impact the performance of an Oracle database.</li></ul><h3>🟦<strong>Identifying High-Load SQL Statements:</strong></h3><ul><li>High-load SQL statements may consume a disproportionate amount of system resources. These SQL statements often greatly affect database performance and must be tuned to optimize their performance and resource consumption. Inefficient SQL can significantly degrade performance.</li><li>Identifying high-load SQL statements is an important SQL tuning activity that must be performed regularly. ADDM automates this task by proactively identifying potential high-load SQL statements. Additionally, you can use <strong>OEMCC (Cloud Control) to identify high-load SQL</strong> statements that require further investigation. You can use <strong>SQL Tuning Advisor &amp; SQL Access Advisor to tune high load SQLs.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*gaCM3MwbD3v8G8YhzPxJ_w.png" /></figure><h3>🟦<strong>Tools/Ways to identify high-load SQL statements:</strong></h3><ul><li><strong>(gathering data SQL statements)</strong></li><li><a href="https://docs.oracle.com/en/database/oracle/oracle-database/21/tdppt/identifying-high-load-sql-statements.html#GUID-795AF9F0-5CBF-44FB-8D20-FC170EFA149C">Identification of High-Load SQL Statements- <strong>Using ADDM Findings</strong></a></li><li><a href="https://docs.oracle.com/en/database/oracle/oracle-database/21/tdppt/identifying-high-load-sql-statements.html#GUID-572D0FE3-BC16-4107-A8CC-EF59480B9C9E">Identifying High-Load SQL Statements</a>-<a href="https://docs.oracle.com/en/database/oracle/oracle-database/21/tdppt/identifying-high-load-sql-statements.html#GUID-572D0FE3-BC16-4107-A8CC-EF59480B9C9E"> <strong>Using Top SQL</strong></a></li><li>Automatic Database Diagnostic Monitor- <strong>ADDM</strong></li><li>Automatic SQL tuning</li><li>Automatic Workload Repository- <strong>AWR</strong></li><li><strong>V$SQL view, Custom Workload, SQL Trace</strong></li></ul><h3>🎯High Load SQLs &amp; ADDM</h3><ul><li><strong>Let us deep drive to ADDM &amp; TOP SQL:</strong></li><li>Identification of High-Load SQL Statements Using ADDM.</li><li>By default, <strong>ADDM runs proactively once every hour</strong>. It analyzes key statistics gathered by the Automatic Workload Repository (AWR) over the last hour to identify any performance problems, including high-load SQL statements. When the system finds performance problems, it displays them as ADDM findings in the Automatic Database Diagnostic Monitor (ADDM) page.</li><li>ADDM provides recommendations with each ADDM finding. When a high-load SQL statement is identified, ADDM gives recommendations, such as running SQL Tuning Advisor on the SQL statement.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*QUOkPz6Eka-u_nbR2_Ja6A.png" /></figure><ul><li><strong>Identifying High-Load SQL Statements Using Top SQL:</strong></li><li><strong>ADDM automatically identifies high-load SQL </strong>statements that may be causing system-wide performance degradation. Under normal circumstances, manual identification of high-load SQL statements is not necessary.</li><li>The <strong>Top SQL section</strong> of the Top Activity page in Cloud Control enables you to identify <strong>high-load SQL statements for any 5-minute interva</strong>l.</li><li>SQL statements that are using the highest percentage of database activity are listed under the Top SQL section, and are displayed in 5-minute intervals.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*RVORQFoNXDaS36TpdiPQjw.png" /></figure><ul><li><strong>Identifying High-Load SQL Statements Using Top SQL:</strong></li><li><strong>ADDM automatically identifies high-load SQL </strong>statements that may be causing system-wide performance degradation. Under normal circumstances, manual identification of high-load SQL statements is not necessary.</li><li>The <strong>Top SQL section</strong> of the Top Activity page in Cloud Control enables you to identify <strong>high-load SQL statements for any 5-minute interva</strong>l.</li><li>SQL statements that are using the highest percentage of database activity are listed under the Top SQL section, and are displayed in 5-minute intervals.</li><li><strong>The AWR and ASH tables will give better information, but this could be a simple first step:</strong></li><li>select a.sql_id, a.ratio, a.executions</li><li>from ( select sql_id, buffer_gets / executions ratio, executions</li><li>from v$sqlwhere executions &gt; 10order by 2 desc</li><li>) a where rownum &lt;= 10</li><li>To find <strong>long running processes taking up your resources look at v$sesson_long_ops :</strong></li><li>SELECT * FROM v$session_longops</li><li><strong>You can then take the sid to find the sql that is running:</strong></li><li>SELECT sql_text FROM v$session s</li><li>LEFT JOIN v$sqlarea sa ON s.sql_hash_value=sa.hash_value AND s.sql_address=sa.address</li><li>WHERE sid=&amp;sid</li></ul><h3>🎯SQL Access Advisor</h3><h3>🟦<strong>Using SQL Access Advisor:</strong></h3><ul><li><strong>Optimizing Access Paths with SQL Access Advisor:</strong></li><li>SQL Access Advisor is <strong>diagnostic software that identifies</strong> and <strong>helps resolve SQL performance problems</strong> by recommending indexes, materialized views, materialized view logs, or partitions to create, drop, or retain.</li><li>SQL Access Advisor takes an actual workload as input, or the Advisor can derive a hypothetical workload from the schema. It then recommends the access structures for faster execution paths.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*euvL8ZVREZxT_rJ5JP1fxw.png" /></figure><h3>🟦<strong>Purpose of SQL Access Advisor:</strong></h3><ul><li>SQL Access Advisor recommends the proper set of <strong>materialized views, materialized view logs, partitions, and indexes</strong> for a specified workload.</li><li>Materialized views, partitions, and indexes are essential when tuning a database to achieve optimum performance for complex, data-intensive queries. SQL Access Advisor takes an actual workload as input, or derives a hypothetical workload from a schema. The advisor then recommends access structures for faster execution path. The advisor provides the following advantages:</li></ul><h3>🟦<strong>SQL Access Advisor advantages:</strong></h3><ul><li>Provides <strong>simple, user-friendly GUI wizards in cloud control</strong> &amp; does not require you to have expert knowledge.</li><li>Bases decision making on rules that actually reside in the cost-based optimizer.</li><li>Is synchronized with the optimizer and Oracle database enhancements.</li><li>Covers all aspects of SQL access methods in a single advisor</li><li>Generates scripts for implementation of recommendations.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*HnZRGX4DQYM7LgUpTx7G2g.png" /></figure><h3>🎯SQL Access Advisor</h3><h3>🟦<strong>SQL Access Advisor:</strong></h3><ul><li>SQL Access Advisor is a <strong>diagnostic tool that helps improve SQL query performance</strong> by analyzing SQL workloads and recommending access structures. It can be used to analyze a single SQL statement or a group of statements.</li></ul><h3>🟦<strong>How it works ??</strong></h3><ul><li>Analyzes SQL workloads</li><li>Recommends <strong>indexes, materialized views, materialized view logs, or partitions </strong>to create, drop, or retain</li><li>Generates scripts to implement recommendations</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*B2ndZZ4N-6Q12xCKbLheMw.png" /></figure><h3>🟦<strong>Benefits:</strong></h3><ul><li>Doesn’t require expert knowledge</li><li>Makes decisions based on <strong>rules in the optimizer</strong></li><li>Covers all aspects of SQL access in a single advisor</li><li>Provides <strong>user-friendly GUI</strong> wizards</li></ul><h3>🟦<strong>How to use??</strong></h3><ul><li>Can accept <strong>input from SQL tuning sets</strong></li><li>Can take an <strong>actual workload as input</strong> or derive a hypothetical workload from a schema</li><li>Can be used to tune an individual statement using the QUICK_TUNE procedure</li><li>Can be used to <strong>create tasks and templates</strong></li></ul><h3>🎯SQL Tuning Advisor</h3><h3>🟦<strong>SQL Tuning Advisor:</strong></h3><ul><li>In Oracle databases, the “SQL Tuning Advisor” is a tool that analyzes SQL statements and provides recommendations to improve their performance, suggesting actions like creating indexes, collecting statistics, rewriting the SQL statement, or creating SQL profiles to optimize query execution. Key points about SQL Tuning Advisor:</li><li><strong>Function: </strong>It helps identify and resolve issues with sub-optimally performing SQL statements by analyzing execution plans and suggesting tuning options based on the workload and database structure.</li><li><strong>Access:</strong> This feature is part of the Oracle Database Tuning Pack, requiring an appropriate license to use.</li><li>Input: You can provide a single SQL statement or a set of statements (SQL Tuning Set) to the advisor for analysis.</li><li><strong>Output:</strong> The advisor generates recommendations with explanations and expected performance benefits, including suggestions for creating indexes, gathering statistics, or modifying the SQL statement itself.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*fi4M5Bt32q8O8cJ_VOxjsA.png" /></figure><h3>🎯<strong>Benefits:</strong></h3><ul><li>How to use SQL Tuning Advisor:</li><li><strong>Identify target SQL:</strong></li><li>Find SQL statements with performance issues using tools like the Automatic Workload Characterization (AWC) or by analyzing the Active Session History (ASH).</li><li><strong>Run the advisor:</strong></li><li>Submit the SQL statement(s) to the SQL Tuning Advisor through the Oracle database management tools.</li><li><strong>Review recommendations:</strong></li><li>Analyze the provided tuning suggestions, including the rationale behind each recommendation and the potential performance gain.</li><li><strong>Implement changes:</strong></li><li>Apply the suggested modifications to your database schema or SQL code based on the advisor’s recommendations.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b10865bdd128" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Explain Plan & Optimizer]]></title>
            <link>https://medium.com/@cloudevolvingdata/oracle-explain-plan-optimizer-5ec0fb1896fc?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ec0fb1896fc</guid>
            <category><![CDATA[sql-tuning]]></category>
            <category><![CDATA[database-administration]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Thu, 13 Mar 2025 05:40:55 GMT</pubDate>
            <atom:updated>2025-03-13T05:40:55.394Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lxk4cp96leeU_9ccV2t4OA.png" /></figure><h3>🎯Explain Plan &amp; Taxonomy:</h3><h3>🟦<strong>Explain Plan:</strong></h3><ul><li>An execution plan is a step-by-step explanation of how a database engine will execute the query. It outlines the sequence of operations, the indexes that will be used, and the methods for joining tables.</li><li>The primay purpose of an explain plan is to give you insight into the query’ performance. By anaalyzing the explain plan, you can see where the database might run efficiently or where it might enclunter performance bottlenecks.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/1*vn4uNiB_Q9Te2QXPKt6RpA.png" /></figure><h3>🎯<strong>Taxonomy of Explain Plan:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/266/1*hGaNZI8Per-__DR_AdOCAg.png" /></figure><ul><li><strong>Execution Plan (Access Path):</strong> The path followed by the database to execute a query.</li><li><strong>Cost:</strong> An estimate of the resources (like CPU and I/O) needed to perform a query.</li><li><strong>Operation: </strong>The specific database action, such as reading from a table or performing an index scan.</li><li><strong>Rows:</strong> The estimated number of rows that each operation will handle.</li><li><strong>Filter:</strong> Conditions that rows must meet to proceed to the next step in the query processing.</li><li><strong>Join Method:</strong> The type of join used, such as nested loop or hash join.</li><li><strong>Bytes:</strong> Provides an estimate of the amount of data that will be processed by each operation.</li></ul><h3>🎯<strong>Running EXPLAIN PLAN</strong></h3><ul><li>EXPLAIN PLAN FOR</li><li>SELECT last_name FROM employees;</li><li><strong>EXPLAIN PLAN</strong></li><li><strong>SET STATEMENT_ID = ‘st1’ FOR</strong></li><li><strong>SELECT last_name FROM employees;</strong></li><li><strong>EXPLAIN PLAN</strong></li><li><strong>INTO my_plan_table</strong></li><li><strong>FOR</strong></li><li><strong>SELECT last_name FROM employees;</strong></li><li><strong>EXPLAIN PLAN</strong></li><li><strong>SET STATEMENT_ID = ‘st1’</strong></li><li><strong>INTO my_plan_table</strong></li><li><strong>FOR</strong></li><li><strong>SELECT last_name FROM employees;</strong></li><li><strong>Displaying PLAN_TABLE Output</strong></li><li>SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY());</li><li>SELEC vT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY(‘MY_PLAN_TABLE’, ‘st1’,’TYPICAL’));</li><li>SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);</li></ul><h3>🎯Explain Plan: Purpose &amp; Views</h3><h3>🟦<strong>Purpose:</strong></h3><ul><li>Use the EXPLAIN PLAN statement to determine the execution plan Oracle Database follows to execute a specified SQL statement. This statement inserts a row describing each step of the execution plan into a specified table.</li><li>This statement also determines the cost of executing the statement. If any domain indexes are defined on the table, then user-defined CPU and I/O costs will also be inserted.</li><li>The definition of a sample output table PLAN_TABLE is available in a SQL script on your distribution media. Your output table must have the same column names and data types as this table. The common name of this script is UTLXPLAN.SQL.</li></ul><h3>🟦<strong>Oracle Database provides information on cached cursors through several dynamic performance views:</strong></h3><ul><li>For information on the work areas used by SQL cursors, query <strong>V$SQL_WORKAREA</strong>.</li><li>For information on the execution plan for a cached cursor, query <strong>V$SQL_PLAN</strong>.</li><li>For execution statistics at each step or operation of an execution plan of cached cursors (for example, number of produced rows, number of blocks read), query <strong>V$SQL_PLAN_STATISTICS.</strong></li><li>For a selective precomputed join of the preceding three views, query<strong> V$SQL_PLAN_STATISTICS_ALL</strong>.</li><li>Execution statistics at each step or operation of an execution plan of cached cursors are displayed in <strong>V$SQL_PLAN_MONITOR</strong> if the statement execution is monitored. You can force monitoring using the <strong>MONITOR hint.</strong></li></ul><h3>🟦<strong>Difference between Explain Plan and Execution Plan:</strong></h3><ul><li>To avoid any possible confusion, let us clearly define <strong>EXPLAIN PLAN vs EXECUTION PLAN</strong> in Oracle. Both are just sets of instructions for SQL statement that tell the database how to access and combine data to produce the required output.</li><li>As mentioned earlier, <strong>EXPLAIN PLAN is basically what the Oracle optimizer is planning to do</strong>. However, the plan does not always work as expected. Sometimes you have to change and modify it on the fly so that it fits a particular situation. Here is when the EXECUTION PLAN comes in: it is an actual set of steps you end up taking. To sum up, EXPLAIN PLAN predicts how Oracle will process your query, and <strong>EXECUTION PLAN describes the steps it actually took.</strong></li></ul><h3>🎯Optimizer Purpose &amp; CBO</h3><h3>🟦<strong>Optimizer:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*-TixF4Eg-3fN7-SlHwnNog.png" /></figure><ul><li>The Optimizer is one of the most fascinating components of the Oracle Database, since it is essential to the processing of every SQL statement. The Optimizer determines the most efficient execution plan for each SQL statement based on the structure of the query, the available statistical information about the underlying objects, and all the relevant optimizer and execution features.</li></ul><h3>🟦<strong>Purpose of the Optimizer:</strong></h3><ul><li>The optimizer attempts to generate the <strong>most optimal execution plan</strong> for a SQL statement.</li><li>The optimizer choose the plan with the Database Buffer Cache among all considered candidate plans. The optimizer uses available statistics to calculate cost. For a specific query in a given environment, the cost computation accounts for factors of query execution such as I/O, CPU, and communication.</li></ul><h3>🟦<strong>Cost-Based Optimization:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*0zy6eNpqJ8j85pBYaN8BqA.png" /></figure><ul><li><strong>Query optimization</strong> is the overall process of choosing the most efficient means of executing a SQL statement. SQL is a nonprocedural language, so the optimizer is free to merge, reorganize, &amp; process.</li><li>The database optimizes each SQL statement based on statistics collected about the accessed data. The optimizer determines the optimal plan for a SQL statement by examining multiple access methods, such as full table scan or index scans, different join methods such as nested loops and hash joins, different join orders, and possible transformations.</li><li>For a given query and environment, the optimizer assigns a relative numerical cost to each step of a possible plan, and then factors these values together to generate an overall cost estimate for the plan. After calculating the costs of alternative plans, the optimizer chooses the plan with the lowest cost estimate. For this reason, the optimizer is sometimes called the <a href="https://docs.oracle.com/database/121/TGSQL/glossary.htm#GUID-D7916C1E-4AE1-4065-BB33-4CD86842FC6A"><strong>cost-based optimizer (CBO)</strong></a> to contrast it with the legacy<strong> rule-based optimizer (RBO).</strong></li></ul><h3>🎯Components of Optimizer:</h3><ul><li>The purpose of the Oracle Optimizer is to determine the most efficient execution plan for your queries. It makes these decisions based on the statistical information it has about your data and by leveraging Oracle database features such as hash joins, parallel query, and partitioning.</li><li>The explain plan is by far the most useful tool at our disposal when it comes to investigating why the Optimizer makes the decisions it makes. By breaking down the explain plan and reviewing the four key elements of: cardinality estimations, access methods, join methods, and join orders; you can determine if the execution plan is the best available plan.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*15hIPa1dgu_TS-i_NDBylA.png" /></figure><h3>🟦<strong>Components of Optimizer:</strong></h3><ul><li>After a query parse then it is handled by the optimizer. It has three components:</li><li><strong>Query Transformer:</strong> The query transformer transforms our query into a better one.The Oracle tries to find the best query that returns the same result but in a better performing way.</li><li><strong>Estimator:</strong> It optimizes our queries by their costs. The cost is a combination of the CPU usage, Memory Usage and the Disc Usage of our query.</li><li><strong>Plan Generator:</strong> The plan generator calculates various plans for our query by checking different access paths, join methods and join orders.</li><li>It generates a plan, handles it to the estimator to estimate its cost, and creates another plan, and this goes on like that until all the possible execution plans are created.</li></ul><h3>🎯<strong>How Many Access Paths are available to the Optimizer?</strong></h3><p><strong>Oracle supports nine different Access Methods or Paths</strong></p><ul><li>Access Paths: How Oracle gets data</li><li>The optimizer generates the best execution plans for our queries.</li><li>Optimizer verifies all available access paths by factoring in information based on statistics for the tables or indexes accessed by the SQL statement.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PDmLKO1vUBgN2qVuiJxnQw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ec0fb1896fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle SQL Tuning & Indexes]]></title>
            <link>https://medium.com/@cloudevolvingdata/oracle-sql-tuning-indexes-d336b287c106?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d336b287c106</guid>
            <category><![CDATA[database-administration]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Thu, 13 Mar 2025 04:54:32 GMT</pubDate>
            <atom:updated>2025-03-13T05:12:08.464Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-wgpphJRcVbD3rgl5fRM-A.png" /></figure><h3>🎯SQL Tuning: Objective &amp; Steps</h3><ul><li><strong>Introduction to SQL Tuning:</strong></li><li>SQL tuning is the attempt to <strong>diagnose &amp; repair </strong>SQL statements that fail to meet a performance standard.</li><li>SQL tuning is the process of <strong>improving the performance of </strong>SQL statements in an Oracle database. The goal of SQL tuning is to make SQL queries run faster, which can help reduce the response time for users &amp; the resources used.</li><li>SQL tuning is essentially the process of optimizing a database for better performance.</li><li>SQL tuning is the iterative process of improving SQL statement performance to meet specific, measurable, and achievable goals. SQL tuning implies fixing problems in deployed applications.</li></ul><blockquote><strong>Objective of SQL Tuning:</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*qE_fRo6VOGzQMRpG5oQNVw.png" /></figure><blockquote>A SQL statement becomes a problem when it fails to perform according to a measurable standard.</blockquote><blockquote>After you have identified the problem, a typical tuning session has one of the following goals:</blockquote><blockquote><strong>Reduce user response time:</strong> decreasing the time between when a user issues a statement and receives a response</blockquote><blockquote><strong>Improve throughput:</strong> using the least amount of resources necessary to process all rows accessed by a statement</blockquote><h3><strong>Steps involved in SQL Tuning:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/285/1*AgE6QzjL2sJkxi7N_NBT3g.png" /></figure><ul><li>Identify<strong> High-Load SQL</strong>: Use the ADDM or AWR to identify SQL statements that are poorly performing.</li><li>Verify<strong> Execution Plans: </strong>Check that the query optimizer’s execution plans for high-load SQLs are reasonable.</li><li>Implement<strong> Corrective Actions:</strong> Generate better execution plans for poorly performing SQL statements.</li><li>Some ways to<strong> improve SQL Performance include: </strong>Using indexes to reduce the amount of resources used, Optimizing how SQL queries function, Reducing, Balancing, and Parallelizing the workload.</li></ul><h3>🎯SQL Profile</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*TjVBFHyC5ARtgRgag9cfxQ.png" /></figure><h3>🟦<strong>SQL Tuning Tasks:</strong></h3><ul><li>A tuning session depend on many factors, including whether you tune proactively or reactively.</li><li>P<strong>roactive SQL tuning,</strong> you use SQL Tuning Advisor to determine whether to make SQL statements perform better.</li><li><strong>Reactive SQL tuning,</strong> you correct a SQL-related problem that a user has experienced.</li><li>A typical SQL tuning session involves following tasks:</li><li>Identifying high-load SQL statements.</li><li>Gathering performance-related data.</li><li>Determining the causes of the problem.</li><li>Defining the scope of the problem.</li><li>Implementingc corrective actions for suboptimally performing SQL statements.</li><li>Preventing SQL performance regressions.</li></ul><h3>🎯<strong>SQL Profile:</strong></h3><h3>🟦<strong>1. Creating Tuning Task</strong></h3><ul><li>DECLARE</li><li>l_sql_tune_task_id VARCHAR2(100);</li><li>BEGIN</li><li>l_sql_tune_task_id := DBMS_SQLTUNE.create_tuning_task (</li><li>sql_id =&gt; ‘d342t9u6r4jub’,</li><li>scope =&gt; DBMS_SQLTUNE.scope_comprehensive,</li><li>task_name =&gt; ‘d342t9u6r4jub_tuning_task’,</li><li>description =&gt; ‘Tuning task for statement d342t9u6r4jub..’);</li><li>DBMS_OUTPUT.put_line(‘l_sql_tune_task_id: ‘ || l_sql_tune_task_id);</li><li>END;</li></ul><h3>🟦<strong>2. Execute tuning task</strong></h3><ul><li>EXEC DBMS_SQLTUNE.execute_tuning_task(task_name =&gt; ‘d342t9u6r4jub_tuning_task’);</li><li>SELECT task_name, status FROM dba_advisor_log WHERE owner = ‘SYS’</li><li>select owner,status,TASK_NAME from dba_advisor_log where TASK_NAME like ‘%tuning_task%’ and TASK_NAME like ‘d342t9u6r4jub_tuning_task’</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/267/1*ARecDMjXFDbBhgyfowU5kg.png" /></figure><h3>🟦<strong>3. Diplay Recommendations</strong></h3><ul><li>SET LONG 10000000;</li><li>SET PAGESIZE 1000000</li><li>SET LINESIZE 20000</li><li>SELECT DBMS_SQLTUNE.report_tuning_task(‘d342t9u6r4jub_tuning_task’) AS recommendations FROM dual;</li><li>execute dbms_sqltune.accept_sql_profile(task_name =&gt; ‘56s1yjh2s3dw6_tuning_task’, task_owner =&gt; ‘SYS’, replace =&gt; TRUE);</li></ul><h3>🎯How to tune Index??</h3><p><strong>What is Index?</strong> An index in Oracle is a structure that provides a shortcut to a table’s rows, allowing for faster access to data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/168/1*GkDeM7Orot4UFCxMdqk1qg.png" /></figure><ul><li><strong>B-tree Indexes: (default)</strong></li><li><strong>Primary Key Index</strong></li><li><strong>Unique Index</strong></li><li><strong>Index foreign Key columns</strong></li><li><strong>Concatenated Index</strong></li><li><strong>Function Based Index</strong></li><li><strong>Indexing a virtual coloumn</strong></li><li><strong>Creating a Bitmap Index</strong></li><li><strong>Creating an Index-Organized Table</strong></li></ul><h3>🟦<strong>Index cardinality:</strong></h3><ul><li>Consider the number of distinct values in a column when creating an index, as a high cardinality can lead to better performance.</li></ul><h3>🟦<strong>Avoiding over-indexing:</strong></h3><ul><li>Creating too many indexes can negatively impact insert/update performance due to additional overhead, so carefully evaluate the need for each index.</li></ul><h3>🎯<strong>How to tune indexes in Oracle??</strong></h3><ul><li><strong>Analyze query plans:</strong></li><li>Use the EXPLAIN PLAN command to analyze query execution plans and identify potential bottlenecks where indexes could improve performance.</li><li><strong>Gather Statistics:</strong></li><li><strong>Regularly gather statistics on tables to ensure the optimizer has accurate information about data distribution for optimal index usage.</strong></li><li><strong>Monitor Performance:</strong></li><li><strong>Use tools like Oracle’s Automatic Workload Repository (AWR) to identify poorly performing queries and analyze index usage.</strong></li><li><strong>Re-evaluate Indexes:</strong></li><li><strong>Regularly review indexes and drop or modify them as needed based on changing query patterns.</strong></li><li><strong>Important considerations:</strong></li><li><strong>Index Maintenance:</strong></li><li><strong>Periodically rebuild or reorganize indexes to maintain optimal performance, especially after large data insertions or deletions.</strong></li><li><strong>Index-related parameters:</strong></li><li><strong>Adjust relevant database parameters like PCTFREE and PCTUSED to manage index space allocation effectively.</strong></li></ul><h3>🎯Taxonomy of Index:</h3><ul><li><strong>Index types:</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*gEjS7v5HVWJ2NLU0U04Zgg.png" /></figure><ul><li><strong><em>Choose the appropriate index type based on query patterns, including:</em></strong></li><li><strong>B-Tree Index:</strong> The B-Tree index would be placed on columns that were frequently used in the predicate of a query and expect some small fraction of the data from the table to be returned. It is effoicient for range queries and equality searches. High cardinality.</li><li><strong>Bitmap Indexes</strong>: Bitmap indexes that store pointers to many rows with a single index key entry. There will be a very small number of index entries, each of which points to many rows. Suitable for large datasets with distinct values, efficient for filtering on multiple columns. Low cardinality.</li><li><strong>Function-Based Index</strong>: A function-based index calculates the result of a function that involves one or more columns and stores that result in the index.</li><li><strong>Unique Index</strong> is a database constraint that ensures that no two rows in a table have the same value for a given column or columns. Ensures no duplicate values in a column</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/301/1*nBl2npDWaayYJa5l9Z2rZg.png" /></figure><ul><li><strong>Primary Key</strong> is a column or group of columns in a relational database table that uniquely identifies each record in the table:</li><li><strong>Foreign Key</strong> is a column or set of columns in a table that references the primary key of another table, which links the two tables together.</li><li><strong>Concatenated Index,</strong> also known as a multi-column, composite, or combined index, is an index that spans multiple columns in a database table:</li><li><strong>Index Organized Tables (IOT)</strong> have their primary key data and non-key column data stored within the same B*Tree structure. Effectively, the data is stored within the primary key index.</li><li><strong>Virtual Index </strong>is a “fake” index whose definition exists in the data dictionary but has no associated index segment.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d336b287c106" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Six Pillars of “Oracle Database & Application Design”]]></title>
            <link>https://medium.com/@cloudevolvingdata/six-pillars-of-oracle-database-application-design-8d5161b6a96c?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d5161b6a96c</guid>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Fri, 31 Jan 2025 12:57:37 GMT</pubDate>
            <atom:updated>2025-01-31T12:57:37.657Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5V4Mgl-BjrkthWCURbkfcw.jpeg" /></figure><p><strong>Oracle Database design and application design </strong>are processes that involve creating and organizing data and applications to manage and access information efficiently. Oracle Database is a relational database management system (RDBMS) that provides a platform for developing and deploying enterprise applications.</p><h3><strong>🟦 Database design</strong></h3><ul><li>Involves planning, conceptualizing, and creating a database structure</li><li>Involves organizing data into tables, columns, and relationships</li><li>Involves specifying primary keys and applying normalization rules</li><li>Involves ensuring the database is efficient, secure, and captures the essence of the data</li><li>Involves designing for scalability, which is the ability of the system to perform well under increasing load</li></ul><h3><strong>🟦 Application design</strong></h3><ul><li>Involves developing and deploying enterprise applications</li><li>Involves using technologies such as CI/CD, Kubernetes, and low-code</li><li>Involves using application development techniques such as bind variables</li><li>Involves using Oracle Database architectural features such as shared server connections, partitioning, and clustering</li></ul><h3>🎯 Six Pillars of Oracle Database &amp; Application Design</h3><p>✅Business/Application Logic<br>✅Data Design<br>✅Distribution of CPU<br>✅User Access Path<br>✅Restrict Dynamic SQL<br>✅Minimize SQL Required</p><h3>🎯Business/Application Logic:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*budSie7QBs7LY1sg3SOK0g.png" /></figure><ul><li><strong>Business logic</strong> refers to the rules and procedures that govern a business, including thing like pricing, discount, inventory levels, custmer eligibility, etc. <strong>Application logic</strong>, on the other hand, is the code that implement those business rules within a specific application.</li><li>The key difference between business logic &amp; application logic is all about the <strong>data inputs </strong>based on your business, while application logic is how the <strong>user interacts</strong> with the application.</li><li>Business logic encodes real-world business rules that determine how users interact with application and how data should be <strong>created, exchanged, &amp; managed.</strong></li><li>Business logic should be written independently of the technology used to implement it. That way, if the technology ever needs to change, you won’t have to rewrite your business logic. OR, if your business rules change, then alterations can quickly be made to the business logic.</li><li>Business Logic should be completly avoid problem before business build .</li><li><strong>Example:</strong> <strong>Bank, RMAN Backup Schedule, OS, Network, Storage, Teams.</strong></li></ul><h3>🎯 Data Design:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*r1TNbYkMXpmBklcNbUJo9Q.png" /></figure><ul><li><strong>What is Database Design?</strong></li></ul><p><strong>A D</strong><a href="https://www.geeksforgeeks.org/database-design-in-dbms/">atabase Design</a><strong> can be defined as a set of processes or steps taken to implement a database that will manage data for business. It is the organization of data from a database model. A good database design should follow certain rules like making sure all the information is up to date and no redundant information is present as this can cause many mistakes. Another rule will be to make sure inquiries can be answered accurately; the reliability of this data highly depends on the table structure of the design. These rules need to be followed as one mistake alone can be detrimental to a business’s operation and function.</strong></p><ul><li><strong>Phases of a Database Design</strong></li></ul><p>There are three main phases in every database design, conceptual, logical, and physical phase. Let us look briefly at what is developed during each phase.</p><p><strong>Methods to Design a Database:</strong></p><p><strong>Most designs use these two method when database designing is concerned.</strong></p><ul><li><a href="https://www.geeksforgeeks.org/introduction-of-er-model/"><strong>Entity relationship modeling</strong></a><strong>: In this method, things that are interrelated in some interest will be dedicated to some domain. In other words, data are classified into entities with each entity having data that are related to each other in a specific manner which will be specified. This is done to signify real-life objects.</strong></li><li><a href="https://www.geeksforgeeks.org/normal-forms-in-dbms/"><strong>Normalization</strong></a><strong>: A relational database is structured into tables and columns and are linked together based on their relationship. This is done so to reduce the redundancy of information and to increase the integrity of the data. (1NF, 2NF, 3NF).</strong></li></ul><h3>🎯 Distribution of CPU:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*gYf4ra97jb4gD1fF8P67xQ.png" /></figure><p>If the I/O burden of the system are reduced the CPU burden may increase you have several options for managing the CPU resource.</p><ul><li><strong>Schdule the CPU Load:</strong></li></ul><p>Schedule the long running batch queries or update progress to run at off peak hours maintaining their normal priority level while schedaling the jobs appropiratly will minimize locking, undo &amp; CPU conflicts .</p><ul><li><strong>CPU movement:</strong></li></ul><p>Take advantage of the opportunity to physically shift CPU requirements from one sever to another. Where ever possible, isolate the database sever from the application CPU requirement.</p><ul><li><strong>Parrallel Query:</strong></li></ul><p>Use parallel Query to distribute the progessing requirement of SQL statement among the multiple CPU’s. Parallelisrm can be uesd by every SQL, DML &amp; DDL commands. The degree to which a transaction is parallelized depends on the defined degree of parallelism for the transaction .</p><h3>🎯 User Access Path:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*9yMn-vfvqEe3bSW4hOQclw.png" /></figure><ul><li>User access path ensures that <strong>users only have access</strong> to what they need. It envolves multiple stakeholders, including IT, security, and compliance teams, to ensure the process is effective and aligns with Organizations and compliance objective.</li><li>Different users of the same application should query the database in a very similar fashion. Consistent access paths increases the availability of information in SGA. If the queries are identical, parsed version of a query may already exist in the shared pool; redducing the amount of time needed to processthe query. Cursor enhencements in the optimizer increases the likelihood of statement reuse within the shared pool but the application needs to be designed with statement reuse in mind.</li><li>Optimiser generate different access plan, best plan, cost (Index, FT) Rewrite SQL.</li></ul><h3>🎯 Restrict Dynamic SQL:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*qR7Ji-g0J5XhXyJhcVhGsA.png" /></figure><ul><li>You should restruct the use of dynamic SQL</li><li><strong>Dynamic SQL:</strong> by definition defined until run time, perform several full table scans of the order table the second time, and inadvertently perform a cartesian join the third time.</li><li><strong>Dynamic SQL </strong>is a <strong>double edged sword.</strong> You have the flexibility to create your SQL on the fly based on user input, but you open yourself upto SQL injection attacks for both of your in-house applicaions and your external web site application.</li><li>Dynamic code is one of two methods for coding applications for SQL. The other is called stored procedures. The difference between the two is how the application calls information from the database using certain types of statements and processes.</li><li>There are drawbacks to using dynamic SQL, however. Stored procedures execute a lot faster than dynamic SQL statements, since the application is only looking for commands. Using dynamic SQL statements requires the database application to generate the code then execute it as requested, which means it is processing more before it actually starts looking for results. It is then <strong>formatting the results on the fly</strong> as well, which further <strong>slows the application</strong>.</li><li>Other drawbacks are security issues and potential errors. Increased flexibility means holes in the code are easier to find and exploit. Since there are no parameters, there is an increase in flexibility for large databases, and the code is not created until execution, testing for errors and conflicts is more difficult, if not impossible.</li></ul><h3>🎯 Minimize SQL Required:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/255/1*RKT5E0ZtvQ0Yojv9sh2t5A.png" /></figure><ul><li>Application should minimize the number of times they request the data from the database. By using<strong> sequences, PL-SQL blocks and the denormalization of tables</strong>, also <strong>MVIEW</strong> in distributed objects to reduce how many times DB queried.</li><li>You should minimize the number of times you open and close sessions in the DB. Becaause of the performance of SQL may be minor impact but session mgmt more.</li><li>Oracle SQL best practices to help improve your SQL queries</li><li>Use ANSI Joins Instead of Oracle Joins</li><li>Avoid WHERE Clauses with Functions</li><li>Use CASE Instead of Multiple Unions</li><li>Minimise the Use of DISTINCT</li><li>Redesign Data Value Lists to Use Tables</li><li>UNION ALL instead of UNION</li><li>Use Table Aliases</li><li>Only Use HAVING on Aggregate Functions</li><li>Always Specify Columns in INSERT Statements</li><li>Avoid Object Names with Spaces</li></ul><p>⚫⚫⚫</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d5161b6a96c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Deployment Models]]></title>
            <link>https://medium.com/@cloudevolvingdata/cloud-deployment-models-fe0844257027?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe0844257027</guid>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Wed, 01 Mar 2023 10:38:19 GMT</pubDate>
            <atom:updated>2023-03-01T12:48:38.051Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RDphwuy_RrC2s5aO7E_0kw.png" /></figure><h3>🪟What is Cloud Deployment ??</h3><p>A <strong>cloud deployment model </strong>is a specific configuration of environment parameters such as the accessibility and proprietorship of the deployment infrastructure and storage size. This means that deployment types vary depending on who controls the infrastructure and where it’s located. To make the most use of this computing type, a company should opt for a model that suits it best. To choose the right one for you, you’ll need to consider your computing, networking and storage requirements, available resources and business goals, as well as the pros and cons of cloud deployment models.</p><h3>🪟Cloud Computing Deployment Models:</h3><p>🔵Public Cloud<br> 🔵Private Cloud<br> 🔵Hybrid Cloud<br> 🔵Community Cloud<br> 🔵Multi-Cloud</p><h3>🎯Public Cloud:</h3><p>🔵Common Deployment Model. The public cloud means it possible for general public as well as industry/oraganization groups to access systems and services over the internet.(space/resources shared B n B).</p><p>🔵This form of cloud computing is an excellent example of cloud hosting, in which service providers supply services to a variety of customers. In this arrangement, storage backup and retrieval services are given for free, as a subscription, or on a per-user basis.</p><p>🔵Server infrastructure belongs to service providers that manage it and administer pool resources, which is why there is no need for user companies to buy and maintain their own hardware.</p><p>🔵High scalability/ agility. Users can scale resources as required.</p><p>🔵The public cloud deployment model is the first choice for businesses with low privacy concerns. When it comes to popular public cloud deployment models,</p><p>more expensive than simply selecting one model.</p><p>Examples:</p><p>✔️ Google App Engine ✔️<a href="https://aws.amazon.com/ec2/?nc1=h_ls">Amazon</a> Elastic Compute Cloud ✔️Google Drive.</p><p>✔️ Microsoft Azure ✔️IBM Cloud, Salesforce ✔️ Heroku ✔️ Gmail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eCU_0GWj7S9yE7wgYf-FXw.png" /></figure><h3>🟦Pros:</h3><p>✔️ High Scalability<br>✔️ Pay-as-you-go<br>✔️ Cloud Provider is handles maintenance/updates of the hardware.<br>✔️ Mininum techanical skills required to get started.</p><h3>🟦Cons:</h3><p>✔️ You do not own hardware <br>✔️ ️ Some speific security requirement that can not be met by Public Cloud.<br>✔️ There may be goverment policies, industry standards, legal requirement which Public cloud cannot cater.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hqWXA2wFGn6ZD7rOZWV41A.png" /></figure><h3>🎯Private-Cloud:</h3><p>🔵Resources exclusive for Organization. This cloud model is great for organizations concerned about sharing resources on a public cloud. It is implemented on servers owned and maintained by the organization and accessed over the internet or through a private internal network.</p><p>🔵You create a cloud like environment in your own Datacenter. You are responsible for the hardware and software services you provide.</p><p>🔵Characteristics includes.. Self service, Automation, Agility, Financial Transparancy.</p><p>🔵A private cloud environment gives you complete control over data and security in order to meet specific regulatory and other compliance requirements.</p><p>Example:</p><p>✔️HIPAA for healthcare ✔️ GDPR ✔️GxP for Pharma</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Obt6DA8XRvAE4fjSZKEqaA.png" /></figure><h3>🟦Pros:</h3><p>✔️ Control over all resources &amp; can support legancy scenarios.<br>✔️ Complete Security Control.<br>✔️ Also able to meet strict compliance requirements Public cloud can not.</p><h3>🟦Cons:</h3><p>✔️ Huge upfront cost. <br>✔️ ️More skillsets required.<br>✔️ Datacenter Management Datacenter.<br>✔️ Owning equipment adds a lag into the provisioning management.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vZB34lfdmJtc7_N6J3Ht3g.png" /></figure><h3>🎯Hybride Cloud:</h3><p>Combination of Public &amp; Private Cloud. Consume public cloud services as needed and pontentially keep legacy workloads running on-premises. Allows flexibility to run in the most approprate location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rNS27Ht2X0pXbdV8OpSqog.png" /></figure><h3>🟦Pros:</h3><p>✔️ Support legancy system while enabling modern application workloads to move to public cloud.</p><p>✔️ Flexibility</p><p>✔️ Continue to use your own equipment &amp; investments</p><h3>🟦Cons:</h3><p>✔️ Complicated to maintain &amp; setup.</p><p>✔️ ️Can be more expensive than simply selecting one model.</p><p>Examples:</p><p>✔️ AWS Outposts ✔️ Azure Stack</p><p>✔️ Google Anthos and VMware Cloud on AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iiex8clmIdPPYMEvmYP0Lg.png" /></figure><h3>🎯 Community Cloud:</h3><p>Community Cloud is a hybrid form of private cloud. They are multi-tenant platforms that enable different organizations to work on a shared platform.</p><p>Community clouds are distributed systems created by integrating the services of different clouds to address the specific needs of an industry, a community, or a business sector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iw6RQEHSNgj9OiWm9E1_rQ.png" /></figure><h3>🟦Pros:</h3><p>✔️ Control over all resources &amp; can support legancy scenarios.</p><p>✔️ Complete Security Control.</p><p>✔️ Also able to meet strict compliance requirements Public cloud can not.</p><h3>🟦Cons:</h3><p>✔️ Huge upfront cost.</p><p>✔️ ️More skillsets required.</p><p>✔️ Datacenter Management Datacenter.</p><p>Ex:</p><p>✔️ Different cloud providers uses IaaS, PaaS, and SaaS services.</p><p>✔️ Alibaba multi cloud in Asia.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZn7cXH75F8OuUvFrZ0uZQ.png" /></figure><h3>🎯 Multi Cloud:</h3><p>Multi-cloud is a cloud computing model that uses multiple cloud providers and services to meet an organization’s computing needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MPEP6F53FS5K1liqbpD7yQ.png" /></figure><h3>🟦Pros:</h3><p>✔️ Flexibility: Multi-cloud offers greater flexibility than a single cloud provider.</p><p>✔️ Greater resilience: Multi-cloud can offer greater resilience and fault tolerance, as organizations can distribute their workloads across multiple cloud providers</p><p>✔️ Cost optimization: Multi-cloud can help organizations optimize costs by using the most cost-effective cloud provider and service for each workload, application.</p><h3>🟦Cons:</h3><p>✔️ ️ Complexity: Multi-cloud can be more complex to manage than a single cloud provider.</p><p>✔️ ️Integration challenges: Integrating different cloud providers and services can be challenging</p><p>✔️ Security and compliance risks: Multi-cloud can increase security and compliance risks, as organizations must manage security and compliance across multiple cloud providers</p><p>Ex:</p><p>✔️ Banking — BFSI ✔️ Enterprise</p><p>✔️ Goverment ✔️ SAP HANA</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M6wr7ISPd6DzxzdZbciWWA.png" /></figure><h4>⚫⚫⚫</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe0844257027" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Computing Fundamentals]]></title>
            <link>https://medium.com/@cloudevolvingdata/cloud-computing-fundamentals-316a4b242ef8?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/316a4b242ef8</guid>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Fri, 27 Jan 2023 11:12:24 GMT</pubDate>
            <atom:updated>2023-01-29T12:08:57.255Z</atom:updated>
            <content:encoded><![CDATA[<h3>✅What is cloud computing ??</h3><p>Cloud computing is the on-demand availability of computer system resources, data/cloud Storage, and computing services, without direct active management by the user, like(Servers, Databases, Software, and Networks), on the internet.</p><p>✔️ Large clouds often have functions distributed over multiple locations, each of which is a Data Center.<br>✔️ Main objective of cloud computing depends mainly on sharing of resources to achieve coherence and typically uses a “pay as you go” model, which can help in reducing capital expenses but may also lead to unexpected operating expenses for users.<br>✔️ The company providing these services is referred to as a cloud provider. Some example of providers are Microsoft-Azure, Gooogle Cloud Platform -GCP, Oracle and Amazon-AWS.</p><p>🟦️ The Cloud Provider is responsible for the physical hardware required to execute your work, and for keeping it up-to-date. <br>✔️ Compute Power — such as Linux Servers or Web Applications<br>✔️ Storage — such as Files and Databases.<br>✔️ Networking — secure connections between the Cloud Provider &amp; user<br>✔️ Analytics — such as visualizing Telemetry and Performance Data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wu2I_5v6V_akC3mUj2hHDQ.png" /></figure><h3>✅Why Cloud ??</h3><p>Cloud Coumputing is the fastest &amp; popular than any other technology in the domain and easy accepted. It is mainly beause of increasing number of smartphones and mobile devices that can access the internet. Easy to use for business &amp; person. It allows us to run software programs without installing them on our system &amp; store and access our multimedia content via the internet. It also helps software developers and test programs without necessarily having servers. Most businesses started using the cloud after the pandemic because of the cloud characteristics mentioned below.</p><p>🔵 Scalability<br> 🔵 Elastic<br> 🔵 High Availability (HA)<br> 🔵 Disaster Recovery<br> 🔵 Fault Tolarance</p><h3>🎯Scalability:</h3><p>Cloud offers “on-demand” provisioning of resources on a large scale, without having engineers for peak loads. Based on workload demands an increase or decrease in resources. Types of scaling →<br>✔️ <strong>Vertical Scaling</strong>: It is also called as scale up.<br>Add additional resources to increase the power of the workload<br>E.g.: CPU or RAM addition to Virtual Machine<br>✔️ <strong>Horizontal Scaling:</strong> It is also called as scaling out. E.g.: Adding system/application/DB instances sutomatically to distributed environment. This will distribute and balance increase in load.</p><h3>🎯Elastic:</h3><p>Major pattern which benefits from cloud compting. As your workload changes resources can be changed to compensate(up or down) either auomatically by cloud based application.<br>Example: <br>✔️ Retail web site load varies as per festivals &amp; seasonial demands. <br>✔️Sudden spike in business demand due to a popular product introduction or social media boost.</p><h3>🎯High Availability and Reliability:</h3><p>The availability of servers is high and more reliable because the chances of infrastructure failure are minimum.</p><p>✔️When an underlying host has a catastrophic failure, the virtual machine will automatically be restarted on another host.<br>✔️Availability sets and zones further increase the Availability.</p><h3>🎯Disaster Recovery:</h3><p>Disaster recovery is a cloud-based managed service used to quickly restore your organization’s critical systems after a disaster and provides you remote access to your systems in a secure virtual environment.<br>✔️On-Premises to Cloud Failure<br>✔️Region to Region Failure <br>✔️Planning for Catastrophic failures of workload.</p><h3>🎯Fault Tolerance</h3><p>Fault Tolerance allows system to work in case of fault in one or more components or service.<br>✔️ Redundancy is buit into services so that if one component fails another(backup service) takes its place. <br>✔️ Reduces impact when disasters occur.</p><h3>🎯Security</h3><p>Security is major component in cloud technology. Cloud providers offers a broad set of policies, technologies controls, expert technology skills that can provide better security than most organizations. Cloud service providers store encrypted data of users and provide additional security features such as user authentication and security against breaches and helps to protect data, apps and infrastructure from potenetial threats. <br>✔️ takes its place. <br>✔️ Reduces impact when disasters occur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5lNBQKAoIgrmpdFZD8bROw.png" /></figure><h3>✅Cloud Service Models</h3><p>🔵 Infrastructure as a Service (IaaS)<br> 🔵 Platform as a Service (PaaS)<br> 🔵 Software as a Service (SaaS)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PLF3WLgCewlq626HpfQAmA.png" /></figure><h3>🎯Infrastructure as a Service (IaaS):</h3><p>Using IaaS service model, an organization migrates/configure its servers, Virtual Machines(VMs), network and data storage in the cloud. This will save cost of purchasing/renting and maintaining huge servers &amp; hardware components as an infrastructure. Use this Infrastructure as a pay-as-you-go basis. This is the best option for companises.</p><p>🔵 <strong>IaaS:</strong><br> ✔️ Upfront Costs: No upfront costs. Pay as per consmption.<br> ✔️ User Ownership: For purchase, installation, configuration &amp; management. <br> ✔️ Cloud Provider Ownership: For Cloud Infrastructure<br>🔵 <strong>Usage:</strong><br> ✔️ Migration<br> ✔️ AWS, Google Compute Engine(GCE).<br> ✔️ Website Hosting<br> ✔️ Storage, Backup and recovery</p><h3>🎯Platform as a Service (PaaS):</h3><p>Using PaaS service model, an organization accesses a pre-defined environment for software development that can be used to build, test, and run applications. This means that developers don’t need to start from scratch when creating apps. PaaS allows the developer to focus on the creative side of software development, as opposed to other tasks such as managing software updates or security patches. <br>Examples of PaaS products include<br>Google App Engine, web servers, and SQL servers.<br>PaaS is a popular choice for businesses who want to create unique applications without making major financial investments.</p><p>🔵 P<strong>aaS:</strong><br> ✔️ Upfront Costs: No upfront costs. Pay as per consmption.<br> ✔️ User Ownership: Developement of application &amp; run workload<br> ✔️ Cloud Provider Ownership:For Cloud Infrastructure &amp; Service. The complete managed platform on which to run an application.<br>🔵 <strong>Usage:</strong><br> ✔️ Azure logic App, Heroku, Amazon Elastic Bean Stalk<br> ✔️ Analytics or Business Intelligence</p><h3>🎯Software as a Service (SaaS):</h3><p>SaaS is the most commonly used cloud application service and is becoming a dominant way for organizations to access software applications. <br>With SaaS, an organization accesses a specific software application hosted on a remote server and managed by a third-party provider. On a subscription basis, the application is accessed through a web browser, reducing the need for on-device software downloads or updates. Popular SaaS products include Salesforce, Workday, or Microsoft Office 365.</p><p>🔵 S<strong>aaS:</strong><br> ✔️ Upfront Costs: User pay a subscription, typically on a monthly/annual<br> ✔️ User Ownership:User only uses Apllication Software. <br> ✔️ Cloud Provider Ownership:For provision, management &amp; maintenance<br>🔵 <strong>Usage:</strong><br> ✔️ Microsoft SaaS service include, Google G Suite<br> ✔️ Office 365, Skype, Dropbox<br> ✔️ Microsft Dynamics CRM Online, Salesforce</p><p>Please visit my previous posts for more details about the Databases &amp; Exadata.</p><p>⚫⚫⚫</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=316a4b242ef8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Exadata Database Machine]]></title>
            <link>https://medium.com/@cloudevolvingdata/oracle-exadata-database-machine-c0c5d172b04a?source=rss-ef5a8f21e4b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0c5d172b04a</guid>
            <dc:creator><![CDATA[Cloud Evolving Data]]></dc:creator>
            <pubDate>Fri, 30 Dec 2022 11:38:33 GMT</pubDate>
            <atom:updated>2022-12-30T11:38:33.771Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯Components of Database Machine:</h3><blockquote><em>✅Exadata Software Architecture <br> ✅Compute Node/ Database Server <br> ✅Network <br> ✅Cell Node/ Storage Server</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xLtPU6-35rZV8K3unmuemw.png" /></figure><h3>🎯Oracle Exadata Architecture:</h3><p>Exadata Database Machine provides a highly available, high-performance platform for Oracle Database based on the clustered architecture with Oracle RAC support. Exadata Database Machine is also available in specific configurations, such as a full rack, half rack, quarter rack or eighth rack.<br><strong><em>Key Components Include:</em></strong></p><p>✔️Powerful and well-balanced <strong>Database Servers</strong> joined in a cluster.<br>✔️Powerful and intelligent <strong>Shared Storage</strong> provided by Exadata Cell Server<br>✔️ Storage mirroring provided by ASM<br>✔️High bandwidth and low latency <strong>Cluster Interconnect</strong> and storage networking provided using <strong>ultra-fast RoCE network</strong>.</p><p>🎯<strong>The Exadata Database Machine Software Architecture</strong> includes components on the Database Servers and on the Exadata Cells. The overall architecture is illustrated in the above diagram.</p><h4><strong>🎯Software components that reside in each Database Server:</strong></h4><p><strong>🔵</strong> <strong>Oracle Exadata Database Machine X8-M-2 </strong>comes with<strong> </strong>Oracle Linux KVM is the<strong> virtualization technology</strong> for systems that use RoCE Network Fabric. The ability to run Oracle Linux without OVM remains, and is the only option for 8-socket Database Servers.</p><p>🔵<strong>Exadata X8M Database Servers:</strong> can run <strong>Oracle Databae 11g Release 2, 12c, 18c, and 19c</strong>. The database servers can be configured with all supported Oracle Database software releases; however, Oracle Grid Infrastructure 19c is required to support Oracle Database 19c. The precise patch release of Oracle software must be compatible with the Exadata Storage Server software and other Exadata software components. <strong>My Oracle Support note 888828.1 </strong>contains an up-to-date list of supported versions for the Exadata software components.</p><p>🔵 <strong>Automatic Storage Management (ASM):</strong> is required and provides a file system and volume manager optimized for Oracle Database.</p><p>🔵<strong>LIBCELL: </strong>Oracle Database communicates with Exadata cells by using a special library called LIBCELL. In combination with the database kernel and ASM, LIBCELL transparently maps database I/O operations to Exadata Storage Server enhanced operations. LIBCELL communicates with Exadata cells by using the Intelligent Database protocol (iDB).</p><p>🔵<strong>iDB Protocol:</strong> The iDB protocol is a unique Oracle data transfer protocol that serves as the communications protocol among Oracle ASM, database instances, and storage cells.</p><p>🔵<strong>DBRM &amp; IORM: </strong>The Database Resource Manager (DBRM) is integrated with Exadata Storage Server I/O Resource Management (IORM). DBRM and IORM work together to ensure that I/O resources are allocated based on administrator-defined priorities.</p><p>🔵<strong>Diskmon:</strong> It checks the storage network interface state and cell liveness. It also performs DBRM plan propagation to Exadata cells. Diskmon uses a node-wide master process (diskmon.bin) and one slave process (DSKM) for each RDBMS or ASM instance. The master performs the monitoring and propagates state information to the slaves. The slaves use the SGA to communicate with the RDBMS or ASM processes. If there is a failure in the cluster, Diskmon performs I/O fencing to protect data integrity. Cluster Synchronization Services (CSS) decides what to fence. The master Diskmon starts with the clusterware processes. The slave Diskmon processes are background processes that are started and stopped in conjunction with the associated RDBMS or ASM instance.</p><p>🔵<strong>The Management Server</strong> <strong>(MS)</strong> on a database server provides a set of management and configuration functions. It works in cooperation with the DBMCLI command-line interface. Each database server is individually managed with DBMCLI. DBMCLI can be used only from within a database server to manage that server. However, you can run the same DBMCLI command remotely on multiple nodes with the dcli utility. In addition, MS is responsible for sending alerts, and collects some statistics.</p><p>🔵 <strong>The Restart Server (RS)</strong> is used to start up or shut down MS and monitors MS to automatically restart it if required.</p><h4>🎯Software components that reside in each Exadata Cell:</h4><p>Oracle Linux x86_64 provides the Exadata Storage Server operating system.</p><p>🔵 <strong>Cell Server (CELLSRV)</strong> is the primary Exadata Storage Server software component and provides the majority of Exadata storage services. CELLSRV is a multithreaded server. It serves simple block requests, such as database buffer cache reads, and Smart Scan requests, such as table scans with projections and filters. CELLSRV also implements IORM, which works in conjunction with DBRM to meter out I/O bandwidth to the various databases and consumer groups that are issuing I/Os. Finally, it collects numerous statistics relating to its operations. Oracle Database and ASM processes use LIBCELL to communicate with CELLSRV, and LIBCELL converts I/O requests into messages that are sent to CELLSRV by using the iDB protocol.</p><p>🔵 <strong>The Management Server (MS)</strong> provides Exadata cell management and configuration functions. It works in cooperation with the Exadata cell command-line interface (CellCLI). Each cell is individually managed with CellCLI. CellCLI can be used only from within a cell to manage that cell.<br>However, you can run the same CellCLI command remotely on multiple cells with the dcli utility.<br>In addition, MS is responsible for sending alerts, and collects some statistics in addition to those collected by CELLSRV.</p><p>🔵<strong>The Restart Server (RS)</strong> is used to start up or shut down the CELLSRV and MS services, and monitors these services to automatically restart them if required.</p><h4>🎯Exadata Database Machine:</h4><p>It provides a resilient, high-performance platform for clustered and non-clustered implementations of Oracle Database. The fundamental architecture underpinning. Exadata is the same core architecture that underpins Oracle Real Application Clusters (RAC) software.<br>Following are the key elements of the Exadata architecture.</p><h4>🎯Shared Storage:</h4><p>Exadata provides intelligent, high-performance shared storage to both single-instance and RAC implementations of Oracle Database using Exadata Storage Server technology. Storage supplied by Exadata Storage Servers is made available to Oracle databases using the Automatic Storage Management (ASM) feature of Oracle Database. ASM adds resilience to Exadata storage by providing a mirroring scheme that can be used to maintain redundant copies of data on separate Exadata Storage Servers. This protects against data loss if a storage server is lost. Normal protection ensures that two copies of data are maintained on<br>separate Exadata Storage Servers while high level protection maintains three copies of data on three separate Exadata Storage Servers.</p><h4>🎯Storage Network:</h4><p>Exadata X8-M contains a storage network based on Remote Direct Memory Access over Converged Ethernet (RoCE). This provides high bandwidth and low latency access to the Exadata Storage Servers. Fault tolerance is built into the network architecture through the<br>use of multiple redundant network switches and network interface bonding<strong>•</strong>Server cluster: The database servers in Exadata are designed to be powerful and well balanced so that there are no bottlenecks within the server architecture. They are equipped with all of the components required for Oracle RAC, enabling customers to easily deploy Oracle RAC across a<br>single Exadata Database Machine. Where processing requirements exceed the capacity of a single Database Machine, customers can join multiple Database Machines together to create a single unified server cluster.</p><h4>🎯Cluster Interconnect:</h4><p>The high bandwidth and low latency characteristics of the ultra-fast RoCE network are ideally suited to the requirements of the cluster interconnect. Because of this, Exadata X8M is configured by default to also use the RDMA network fabric as both the storage network and the cluster interconnect.</p><h4>🎯Shared Cache:</h4><p>In a RAC environment, the instance buffer caches are shared. If one instance has an item of data in its cache that is required by another instance, that data will be shipped to the required node using the cluster interconnect. This key attribute of the RAC architecture<br>significantly aids performance because the memory-to-memory transfer of information via the interconnect is significantly quicker than writing and reading the information using disk. With Exadata, the shared cache facility uses the InfiniBand-based high-performance cluster interconnect.</p><h4>🎯Remote Direct Memory Access (RDMA):</h4><p>It has the ability for one computer to access data from a remote computer without OS or CPU involvement. Remote Direct Memory Access (RDMA) is the ability for one computer to access data from a remote computer without OS or CPU involvement: the network card directly reads/writes memory with no extra copying or buffering resulting in very low latency. RDMA was introduced to Exadata with InfiniBand and is a foundational part of Exadata’s high-performance architecture. RDMA enables several unique Exadata features, such as Direct-to-Wire Protocol and Smart Fusion Block Transfer.</p><h4>🎯RDMA over Converged Ethernet (RoCE):</h4><p>RoCE is a set of protocols defined by an open consortium, developed in open source, and maintained in upstream Linux. RoCE’s protocols enable InfiniBand RDMA software to run on top of Ethernet. This allows the same software to be used at the upper levels of network protocol stack, while transporting the InfiniBand packets across Ethernet as UDP over IP at the lower level. Because the API infrastructure is shared between InfiniBand and Ethernet, all existing InfiniBand RDMA benefits are also available on RoCE, including over a decade’s worth of performance engineering on Exadata.</p><p>Adopters of RoCE can benefit from RDMA’s capabilities without changing their network infrastructure.<br>• All Ethernet NICs require RoCE network adapter cards.<br>• Exadata takes care of all performance and tuning work under the RoCE configuration and nothing is required by the user</p><p>As its name shows, <strong>RoCE is a network protocol</strong> defined in the “<strong>InfiniBand Trade Association</strong>(IBTA)” standard, allowing RDMA over converged Ethernet network. Shortly, it can be regarded as the application of RDMA technology in hyper-converged data centers, cloud, storage, and virtualized<br>environments. It possesses all the benefits of RDMA technology and the familiarity of Ethernet.<br>Exadata takes care of all performance and tuning work under the RoCE configuration and nothing is required by the user.</p><h4>🎯Exadata Network Architecture:</h4><p>Starting with Oracle Exadata System Software release 19.3 and Oracle Exadata Database Machine X8M, RDMA over Converged Ethernet (RoCE) is used for the RDMA Network Fabric instead of InfiniBand. RDMA over RoCE Network Fabric uses different switches and cables from those used<br>by RDMA over InfiniBand Network Fabric.<br>To deploy Oracle Exadata Database Machine, ensure that you meet the minimum network requirements. <strong>Oracle Exadata Database Machine requires a minimum of three networks</strong>, and there are interfaces available for additional networks. Each network must be on a distinct and separate subnet from the others. Oracle recommends one common additional network for backup, which you can configure with OEDA.<br><strong>Management Network:</strong> This required network connects to your existing management network, and is used for administrative work for all components of Oracle Exadata Database Machine. It connects the servers, Integrated Lights Out Manager (ILOM), and switches connected to the Ethernet switch in the rack.<br>Each <strong>Database Server and Storage Server </strong>has <strong>two network interfaces</strong> for management. One provides management access to the operating system through the embedded <strong>NET0 Ethernet port on Oracle Exadata Database</strong> Machine Two-Socket systems, or the <strong>NEM0/NET1 Ethernet port on Oracle Exadata Database Machine Eight-Socket system</strong>s. The other network interface provides access to the ILOM through the NET MGT Ethernet port. Oracle Exadata Database Machines are delivered with the NET MGT and NET0 or NEM0/NET0 ports connected to the Ethernet switch in the rack. The NET0 or NEM0/NET0 port on the database servers should not be used for client or application network traffic. Cabling or configuration changes to these interfaces on Oracle Exadata Storage Servers is not permitted.</p><p>Please visit my previous posts for more details about the Exadata Features.</p><p>⚫⚫⚫</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0c5d172b04a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>