{"id":1410,"date":"2019-03-13T15:29:08","date_gmt":"2019-03-13T14:29:08","guid":{"rendered":"https:\/\/dbafox.com\/?p=1410"},"modified":"2019-03-13T16:29:20","modified_gmt":"2019-03-13T15:29:20","slug":"oracle-multitenant-create-a-sysdba-common-user","status":"publish","type":"post","link":"https:\/\/dbafox.com\/?p=1410","title":{"rendered":"Oracle &#8211; Multitenant &#8211; Create a sysdba Common User"},"content":{"rendered":"<h1>Oracle &#8211; Multitenant &#8211; Create a sysdba Common User<\/h1>\n<p>\ud83d\ude0e To create a sysdba user that can administrate all containers:<\/p>\n<pre class=\"\">\r\n<pre class=\"brush: sql; title: ; notranslate\" title=\"\">\r\nsys@ORCL&gt; show con_id\r\n\r\nCON_ID\r\n------------------------------\r\n1\r\nsys@ORCL&gt; show con_name\r\n\r\nCON_NAME\r\n------------------------------\r\nCDB$ROOT\r\n \r\nsys@ORCL&gt; create user c##username identified by &lt;password&gt;;\r\n\r\nUser created.\r\n\r\nsys@ORCL&gt; grant create session to c##username;\r\n\r\nGrant succeeded.\r\n\r\nsys@ORCL&gt; grant sysdba to c##username container = ALL;\r\n\r\nGrant succeeded.\r\n<\/pre>\n<p>If it is necessary to change the common user prefix (or get rid of it!), the value of _common_user_prefix_common_user_prefix can be changed:<\/p>\n<pre class=\"brush: sql; title: ; notranslate\" title=\"\">\r\nsys@ORCL&gt; select rpad(ksppinm,40) ||' ----&gt;  '||ksppstvl &quot;param, value&quot; from x$ksppi a,x$ksppsv b\r\n  2  where a.indx=b.indx and substr(ksppinm,1,1) = '_' and ksppinm like '%common%';\r\n\r\nparam, value\r\n_ksipc_common_sl                         ----&gt;\r\n_eliminate_common_subexpr                ----&gt;  TRUE\r\n_dump_common_subexpressions              ----&gt;  FALSE\r\n_common_data_view_enabled                ----&gt;  TRUE\r\n_common_user_prefix                      ----&gt;  C##\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Oracle &#8211; Multitenant &#8211; Create a sysdba Common User \ud83d\ude0e To create a sysdba user that can administrate all containers: sys@ORCL&gt; show con_id CON_ID &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; 1 sys@ORCL&gt; show con_name CON_NAME &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; CDB$ROOT sys@ORCL&gt; create user c##username identified by &lt;password&gt;; User &hellip; <a href=\"https:\/\/dbafox.com\/?p=1410\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[67],"tags":[],"class_list":["post-1410","post","type-post","status-publish","format-standard","hentry","category-oracle-multitenant"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Oracle - Multitenant - Create a sysdba Common User - dbafox<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbafox.com\/?p=1410\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle - Multitenant - Create a sysdba Common User - dbafox\" \/>\n<meta property=\"og:description\" content=\"Oracle &#8211; Multitenant &#8211; Create a sysdba Common User \ud83d\ude0e To create a sysdba user that can administrate all containers: sys@ORCL&gt; show con_id CON_ID ------------------------------ 1 sys@ORCL&gt; show con_name CON_NAME ------------------------------ CDB$ROOT sys@ORCL&gt; create user c##username identified by &lt;password&gt;; User &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbafox.com\/?p=1410\" \/>\n<meta property=\"og:site_name\" content=\"dbafox\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-13T14:29:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-13T15:29:20+00:00\" \/>\n<meta name=\"author\" content=\"Ray Fox\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ray Fox\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbafox.com\/?p=1410\",\"url\":\"https:\/\/dbafox.com\/?p=1410\",\"name\":\"Oracle - Multitenant - Create a sysdba Common User - dbafox\",\"isPartOf\":{\"@id\":\"https:\/\/dbafox.com\/#website\"},\"datePublished\":\"2019-03-13T14:29:08+00:00\",\"dateModified\":\"2019-03-13T15:29:20+00:00\",\"author\":{\"@id\":\"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb\"},\"breadcrumb\":{\"@id\":\"https:\/\/dbafox.com\/?p=1410#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbafox.com\/?p=1410\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbafox.com\/?p=1410#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbafox.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Oracle &#8211; Multitenant &#8211; Create a sysdba Common User\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbafox.com\/#website\",\"url\":\"https:\/\/dbafox.com\/\",\"name\":\"dbafox\",\"description\":\"DBA Technical Information\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbafox.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb\",\"name\":\"Ray Fox\",\"sameAs\":[\"http:\/\/www.dbafox.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Oracle - Multitenant - Create a sysdba Common User - dbafox","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbafox.com\/?p=1410","og_locale":"en_GB","og_type":"article","og_title":"Oracle - Multitenant - Create a sysdba Common User - dbafox","og_description":"Oracle &#8211; Multitenant &#8211; Create a sysdba Common User \ud83d\ude0e To create a sysdba user that can administrate all containers: sys@ORCL&gt; show con_id CON_ID ------------------------------ 1 sys@ORCL&gt; show con_name CON_NAME ------------------------------ CDB$ROOT sys@ORCL&gt; create user c##username identified by &lt;password&gt;; User &hellip; Continue reading &rarr;","og_url":"https:\/\/dbafox.com\/?p=1410","og_site_name":"dbafox","article_published_time":"2019-03-13T14:29:08+00:00","article_modified_time":"2019-03-13T15:29:20+00:00","author":"Ray Fox","twitter_misc":{"Written by":"Ray Fox","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dbafox.com\/?p=1410","url":"https:\/\/dbafox.com\/?p=1410","name":"Oracle - Multitenant - Create a sysdba Common User - dbafox","isPartOf":{"@id":"https:\/\/dbafox.com\/#website"},"datePublished":"2019-03-13T14:29:08+00:00","dateModified":"2019-03-13T15:29:20+00:00","author":{"@id":"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb"},"breadcrumb":{"@id":"https:\/\/dbafox.com\/?p=1410#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbafox.com\/?p=1410"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dbafox.com\/?p=1410#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbafox.com\/"},{"@type":"ListItem","position":2,"name":"Oracle &#8211; Multitenant &#8211; Create a sysdba Common User"}]},{"@type":"WebSite","@id":"https:\/\/dbafox.com\/#website","url":"https:\/\/dbafox.com\/","name":"dbafox","description":"DBA Technical Information","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbafox.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb","name":"Ray Fox","sameAs":["http:\/\/www.dbafox.com"]}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3ecMb-mK","_links":{"self":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts\/1410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1410"}],"version-history":[{"count":8,"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts\/1410\/revisions"}],"predecessor-version":[{"id":1419,"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts\/1410\/revisions\/1419"}],"wp:attachment":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}