﻿{"id":382,"date":"2020-09-03T16:54:51","date_gmt":"2020-09-03T14:54:51","guid":{"rendered":"https:\/\/anjo.pt\/keyword-oracle\/?p=382"},"modified":"2020-09-03T16:54:53","modified_gmt":"2020-09-03T14:54:53","slug":"oracle-cloud-what-parameters-make-atp-different-from-adw","status":"publish","type":"post","link":"https:\/\/anjo.pt\/keyword-oracle\/2020\/09\/03\/oracle-cloud-what-parameters-make-atp-different-from-adw\/","title":{"rendered":"Oracle Cloud: what parameters make ATP different from ADW?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Using the Free Tier of Oracle Cloud I created one Autonomous DB of each type &#8211; one Autonomous Transaction Processing and one Autonomous Data Warehouse (Autonomous JSON are not yet available). Then did run<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>select name, display_value <\/code><br><code>from v$parameter <\/code><br><code>where isdefault='FALSE'<\/code><br><code>order by 1;<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">on each of the DBs, I got the follow differences (empty means not set):<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>Parameter<\/th><th>ATP<\/th><th>ADW<\/th><\/tr><\/thead><tbody><tr><td>optimizer_ignore_hints<\/td><td><\/td><td>TRUE<\/td><\/tr><tr><td>optimizer_ignore_parallel_hints<\/td><td><\/td><td>TRUE<\/td><\/tr><tr><td>parallel_degree_policy<\/td><td><\/td><td>AUTO<\/td><\/tr><tr><td>parallel_min_degree<\/td><td><\/td><td>CPU<\/td><\/tr><tr><td>pdb_lockdown<\/td><td>OLTP<\/td><td>DWCS<\/td><\/tr><tr><td>pga_aggregate_target<\/td><td>3000M<\/td><td>5100M<\/td><\/tr><tr><td>resource_manager_plan<\/td><td>FORCE:OLTP_PLAN<\/td><td>FORCE:DWCS_PLAN<\/td><\/tr><tr><td>result_cache_max_result<\/td><td><\/td><td>1<\/td><\/tr><tr><td>result_cache_mode<\/td><td>MANUAL<\/td><td>FORCE<\/td><\/tr><tr><td>sga_target<\/td><td>8000M<\/td><td>3400M<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Both the databases (PDB) share the same Container (CDB).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I did check also<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>select * <\/code><br><code>from database_properties;<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">but there are no initial state differences.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Something I found interesting. I had a 2-month old ATP when I created the ADW. Immediately I saw that my old ATP was not using ASM, compared to the ADW, also that ADW was a cluster DB while the old ATP was single instance. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I recreated the ATP to check if this remained. But no. My new ATP was co-located on the same database as the ADW, so parameters are mostly the same as we could see above. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For historical reasons, I leave here the parameter changes between ATP created in June and end-August 2020. For paths, only the differences are highlighted:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>parameter<\/th><th>ATP June 2020<\/th><th>ATP August 2020<\/th><\/tr><\/thead><tbody><tr><td>audit_file_dest<\/td><td>\/u01\/&#8230;<\/td><td>\/u02\/&#8230;<\/td><\/tr><tr><td>cluster_database<\/td><td>FALSE<\/td><td>TRUE<\/td><\/tr><tr><td>control_files<\/td><td>\/u01\/&#8230;,\/u05\/&#8230;<\/td><td>+DATA\/&#8230;,+RECO\/&#8230;.<\/td><\/tr><tr><td>db_create_file_dest<\/td><td>\/u01\/app\/oracle\/oradata<\/td><td>+DATA<\/td><\/tr><tr><td>db_name<\/td><td>FBPOD1<\/td><td>feio1pod<\/td><\/tr><tr><td>db_recovery_file_dest<\/td><td>\/u05\/fra<\/td><td>+RECO<\/td><\/tr><tr><td>de_recovery_file_dest_size<\/td><td>5715584748749<\/td><td>21167764M<\/td><\/tr><tr><td>diagnostic_dest<\/td><td>\/u01\/app\/oracle<\/td><td>\/u02\/app\/oracle<\/td><\/tr><tr><td>drcp_connection_limit<\/td><td><\/td><td>600<\/td><\/tr><tr><td>external_keystore_credential<\/td><td>\/u01\/&#8230;\/wallets\/tde_seps<\/td><td>+DATA\/encrypt_wallet\/tde_seps<\/td><\/tr><tr><td>gcs_server_processes<\/td><td>0<\/td><td>4<\/td><\/tr><tr><td>instance_number<\/td><td><\/td><td>2<\/td><\/tr><tr><td>log_archive_dest_1<\/td><td><\/td><td>LOCATION=USE_DB_RECOVERY_FILE_DEST MANDATORY<\/td><\/tr><tr><td>log_archive_dest_state_4<\/td><td><\/td><td>ENABLE<\/td><\/tr><tr><td>log_archive_dest_state_5<\/td><td><\/td><td>ENABLE<\/td><\/tr><tr><td>log_archive_dest_state_6<\/td><td><\/td><td>ENABLE<\/td><\/tr><tr><td>max_pdbs<\/td><td>4096<\/td><td><\/td><\/tr><tr><td>processes<\/td><td>20000<\/td><td>40000<\/td><\/tr><tr><td>sga_max_size<\/td><td>321G<\/td><td>301G<\/td><\/tr><tr><td>thread<\/td><td><\/td><td>2<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Using the Free Tier of Oracle Cloud I created one Autonomous DB of each type &#8211; one Autonomous Transaction Processing and one Autonomous Data Warehouse (Autonomous JSON are not yet available). Then did run select name, display_value from v$parameter where isdefault=&#8217;FALSE&#8217;order by 1; on each of the DBs, I got the follow differences (empty means [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51,52,39],"tags":[],"class_list":["post-382","post","type-post","status-publish","format-standard","category-cloud","category-oci","category-oracle-19c","czr-hentry"],"_links":{"self":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/comments?post=382"}],"version-history":[{"count":1,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":383,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/382\/revisions\/383"}],"wp:attachment":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/media?parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/categories?post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/tags?post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}