{"id":1083,"date":"2020-04-26T22:46:29","date_gmt":"2020-04-26T13:46:29","guid":{"rendered":"https:\/\/obenkyolab.com\/?p=1083"},"modified":"2020-05-19T22:49:38","modified_gmt":"2020-05-19T13:49:38","slug":"oracle-%e3%83%a6%e3%83%bc%e3%82%b6%e4%bd%9c%e6%88%90%e6%99%82%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e5%8e%9f%e5%9b%a0%e3%81%a8%e5%af%be%e5%87%a6%e6%b3%95%e3%80%90ora-65096%e3%80%91","status":"publish","type":"post","link":"https:\/\/obenkyolab.com\/?p=1083","title":{"rendered":"\u3010Oracle\u3011\u30e6\u30fc\u30b6\u4f5c\u6210\u6642\u306e\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u6cd5\u3010ORA-65096\u3011"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/obenkyolab.com\/?p=1083\/#%E7%9B%AE%E7%9A%84\" >\u76ee\u7684<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/obenkyolab.com\/?p=1083\/#%E4%BA%8B%E8%B1%A1\" >\u4e8b\u8c61<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/obenkyolab.com\/?p=1083\/#%E3%83%A6%E3%83%BC%E3%82%B6%E4%BD%9C%E6%88%90\" >\u30e6\u30fc\u30b6\u4f5c\u6210<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/obenkyolab.com\/?p=1083\/#%E3%81%BE%E3%81%A8%E3%82%81\" >\u307e\u3068\u3081<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%9B%AE%E7%9A%84\"><\/span>\u76ee\u7684<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Oracle 18c Express Edition\u3067CREATE USER\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u306bORA-65096\u304c\u767a\u751f\u3057\u305f\u306e\u3067\u3001\u5bfe\u51e6\u65b9\u6cd5\u306b\u3064\u3044\u3066\u899a\u66f8\u3059\u308b\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E4%BA%8B%E8%B1%A1\"><\/span>\u4e8b\u8c61<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Oracle 18c XE\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u8a66\u3057\u306bCREATE  USER\u3092\u3057\u305f\u3068\u3053\u308d\u3001\u4ee5\u4e0b\u306e\u72b6\u614b\u306b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSQL&gt; CREATE USER user01\n  2    identified by password01\n  3    default tablespace USERS\n  4  ;\nCREATE USER user01\n            *\n\u884c1\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002:\nORA-65096: \u5171\u901a\u30e6\u30fc\u30b6\u30fc\u307e\u305f\u306f\u30ed\u30fc\u30eb\u540d\u304c\u7121\u52b9\u3067\u3059\n<\/pre><\/div>\n\n\n<p>Oracle\u7d20\u4eba\u306e\u81ea\u5206\u306f\u3044\u304d\u306a\u308a\u8e93\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u8abf\u3079\u308b\u3068\u3001\u3069\u3046\u3084\u3089Oracle\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4e2d\u306b\u306fCDB\u3068PDB\u306e\u4e8c\u3064\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u3042\u308b\u3089\u3057\u304f\u3001CDB\u4e0a\u3067\u306f\u30ed\u30fc\u30ab\u30eb\u30e6\u30fc\u30b6\u306e\u4f5c\u6210\u304c\u3067\u304d\u306a\u3044\u3089\u3057\u3044\u3002\u3068\u3046\u3053\u3068\u3067\u3001show con_name\u3067\u4eca\u63a5\u7d9a\u3057\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8abf\u3079\u3066\u307f\u305f\u3002 <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSQL&gt; show con_name;\n\nCON_NAME\n------------------------------\nCDB$ROOT\n<\/pre><\/div>\n\n\n<p>\u601d\u3044\u3063\u304d\u308aCDB\u3058\u3083\u3093&#8230;<br>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u63a5\u7d9a\u5148\u3092PDB\u3068\u3084\u3089\u3078\u5909\u66f4\u3059\u3079\u304f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067PDB\u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSQL&gt; select name, open_mode from v$pdbs;\n\nNAME\n--------------------------------------------------------------------------------\nOPEN_MODE\n--------------------\nPDB$SEED\nREAD ONLY\n\nXEPDB1\nREAD WRITE\n<\/pre><\/div>\n\n\n<p>\u4e8c\u3064\u51fa\u3066\u304d\u307e\u3057\u305f\u304c\u3001READ WRITE\u3068\u306a\u3063\u3066\u308bXEPDB1\u3068\u3044\u3046\u306e\u304c\u3001\u4f7f\u3046\u3079\u304d\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3063\u307d\u3044\u3002<\/p>\n\n\n\n<p>\u63a5\u7d9a\u5148\u3092\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5909\u66f4\u3057\u3066\u307f\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSQL&gt; alter session set container = XEPDB1;\n\n\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f\u3002\n<\/pre><\/div>\n\n\n<p>\u884c\u3051\u305f\u69d8\u5b50\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%83%A6%E3%83%BC%E3%82%B6%E4%BD%9C%E6%88%90\"><\/span>\u30e6\u30fc\u30b6\u4f5c\u6210<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>XEPDB1\u306b\u3064\u306a\u3044\u3060\u72b6\u614b\u3067\u518d\u5ea6\u30c8\u30e9\u30a4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u63a5\u7d9a\u5148\u304c\u3061\u3083\u3093\u3068\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSQL&gt; show con_name;\n\nCON_NAME\n------------------------------\nXEPDB1\n<\/pre><\/div>\n\n\n<p>XEPDB1\u306b\u5909\u66f4\u3067\u304d\u3066\u3044\u307e\u3059\u3002\u3067\u306f\u3044\u3088\u3044\u3088\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSQL&gt; CREATE USER user01\n  2    identified by password01\n  3    default tablespace USERS\n  4  ;\n\n\u30e6\u30fc\u30b6\u30fc\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002\n<\/pre><\/div>\n\n\n<p>\u3046\u307e\u304f\u3044\u304d\u307e\u3057\u305f\u3002\u3064\u3044\u3067\u306bgrant\u3068\u8868\u9818\u57dfUSERS\u3078\u306e\u6a29\u9650\u8ffd\u52a0\u3082\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSQL&gt; grant connect, resource to user01;\n\n\u6a29\u9650\u4ed8\u4e0e\u304c\u6210\u529f\u3057\u307e\u3057\u305f\u3002\n\nSQL&gt; alter user user01 quota unlimited on USERS;\n\n\u30e6\u30fc\u30b6\u30fc\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f\u3002\n\n<\/pre><\/div>\n\n\n<p>\u306a\u304a\u3001\u5404\u7a2e\u30c4\u30fc\u30eb\u304b\u3089\u63a5\u7d9a\u3059\u308b\u969b\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u540d\u3092xepdb1\u3068\u3059\u308b\u3068\u63a5\u7d9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%81%BE%E3%81%A8%E3%82%81\"><\/span>\u307e\u3068\u3081<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u81ea\u5206\u306e\u3088\u3046\u306b\u666e\u6bb5\u306fPosetgreSQL\u306a\u3069\u5225\u306eRDBMS\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001Oracle\u306f\u521d\u5fc3\u8005\u3063\u3066\u3044\u3046\u3088\u3046\u306a\u5834\u5408\u306f\u6700\u521d\u306b\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u5c11\u3057\u7406\u89e3\u3057\u3066\u304b\u3089\u89e6\u308a\u3060\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3001\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u7684 Oracle 18c Express Edition\u3067CREA&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1043,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"https:\/\/obenkyolab.com\/?p=1083","footnotes":""},"categories":[13],"tags":[35],"class_list":["post-1083","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oracle","tag-35","ja"],"_links":{"self":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/1083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1083"}],"version-history":[{"count":10,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/1083\/revisions"}],"predecessor-version":[{"id":1351,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/1083\/revisions\/1351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/media\/1043"}],"wp:attachment":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}