{"id":3390,"date":"2021-04-01T07:58:54","date_gmt":"2021-04-01T07:58:54","guid":{"rendered":"https:\/\/swiv.com.br\/oracle-services-in-multitenant-environment\/"},"modified":"2026-05-27T20:02:49","modified_gmt":"2026-05-27T19:02:49","slug":"oracle-services-in-multitenant-environment","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2021\/04\/01\/oracle-services-in-multitenant-environment\/","title":{"rendered":"Oracle Services in Multitenant Environment"},"content":{"rendered":"\n<p>Indiretamente j\u00e1 tivemos contato com este assunto nos outros artigos publicados sobre Multitenant, mas nunca \u00e9 demais explorar com um pouco mais de detalhes. Para isso, utilizarei o ambiente abaixo como laborat\u00f3rio, que possui um CDB e seu listener default:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@quiasma ~]$ sqlplus \/ as sysdba\n \nSQL*Plus: Release 18.0.0.0.0 - Production on Thu Apr 1 04:03:46 2021\nVersion 18.13.0.0.0\n \nCopyright (c) 1982, 2018, Oracle.  All rights reserved.\n \n \nConnected to:\nOracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production\nVersion 18.13.0.0.0\n \nSQL&gt; select instance_name,status from v$instance;\n \nINSTANCE_NAME    STATUS\n---------------- ------------\nTALAMO           OPEN\n \nSQL&gt; select name,cdb from v$database;\n \nNAME      CDB\n--------- ---\nTALAMO    YES\n \nSQL&gt; !ps -ef | grep lsnr\noracle    1834     1  0 03:54 ?        00:00:00 \/oracle\/18.0.0\/product\/bin\/tnslsnr LISTENER -inherit\noracle    3133  3115  0 04:04 pts\/0    00:00:00 \/bin\/bash -c ps -ef | grep lsnr\noracle    3135  3133  0 04:04 pts\/0    00:00:00 grep lsnr\n \nSQL&gt;\n<\/pre><\/div>\n\n\n<p>Neste CDB temos apenas o PDB$SEED criado:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; select name,open_mode from v$pdbs;\n \nNAME\n--------------------------------------------------------------------------------\nOPEN_MODE\n----------\nPDB$SEED\nREAD ONLY\n<\/pre><\/div>\n\n\n<p>Os servi\u00e7os criados atualmente referem-se ao CDB:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; !lsnrctl service\n \nLSNRCTL for Linux: Version 18.0.0.0.0 - Production on 01-APR-2021 04:06:30\n \nCopyright (c) 1991, 2020, Oracle.  All rights reserved.\n \nConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=quiasma.localdomain)(PORT=1521)))\nServices Summary...\nService &quot;TALAMO.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:0 refused:0 state:ready\n         LOCAL SERVER\nService &quot;TALAMOXDB.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;D000&quot; established:0 refused:0 current:0 max:1022 state:ready\n         DISPATCHER &amp;lt;machine: quiasma, pid: 2480&gt;\n         (ADDRESS=(PROTOCOL=tcp)(HOST=quiasma.localdomain)(PORT=18335))\nThe command completed successfully\n<\/pre><\/div>\n\n\n<p>Vou simular agora a cria\u00e7\u00e3o de um novo PDB, e constatar que automaticamente um servi\u00e7o \u00e9 criado pelo processo de background LREG:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; CREATE PLUGGABLE DATABASE HIPOFISE1\nADMIN USER BSS IDENTIFIED BY BSS\nDEFAULT TABLESPACE USERS;  2    3\n \nPluggable database created.\n \nSQL&gt; ALTER PLUGGABLE DATABASE HIPOFISE1 OPEN;\n \nPluggable database altered.\n \nSQL&gt; ALTER PLUGGABLE DATABASE HIPOFISE1 SAVE STATE;\n \nPluggable database altered.\n<\/pre><\/div>\n\n\n<p>Por\u00e9m a cria\u00e7\u00e3o do servi\u00e7o pode demorar at\u00e9 60 segundos. No meu exemplo, o mesmo j\u00e1 foi criado e \u00e9 apresentado conforme abaixo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; !lsnrctl service\n \nLSNRCTL for Linux: Version 18.0.0.0.0 - Production on 01-APR-2021 04:11:17\n \nCopyright (c) 1991, 2020, Oracle.  All rights reserved.\n \nConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=quiasma.localdomain)(PORT=1521)))\nServices Summary...\nService &quot;TALAMO.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:0 refused:0 state:ready\n         LOCAL SERVER\nService &quot;TALAMOXDB.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;D000&quot; established:0 refused:0 current:0 max:1022 state:ready\n         DISPATCHER &amp;lt;machine: quiasma, pid: 2480&gt;\n         (ADDRESS=(PROTOCOL=tcp)(HOST=quiasma.localdomain)(PORT=18335))\nService &quot;bee4edb6fb790c2ce0536a00a8c0f129.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:0 refused:0 state:ready\n         LOCAL SERVER\nService &quot;hipofise1.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:0 refused:0 state:ready\n         LOCAL SERVER\nThe command completed successfully\n<\/pre><\/div>\n\n\n<p>Caso queiramos registrar o servi\u00e7o de maneira pontual podemos executar o comando abaixo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER SESSION SET CONTAINER=HIPOFISE1;\n \nSession altered.\n \nSQL&gt; ALTER SYSTEM REGISTER;\n \nSystem altered.\n<\/pre><\/div>\n\n\n<p>Podemos consultar os servi\u00e7os pela query abaixo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; SELECT SERVICE_ID,NAME,PDB FROM V$SERVICES;\n \nSERVICE_ID NAME\n---------- ----------------------------------------------------------------\nPDB\n--------------------------------------------------------------------------------\n         8 hipofise1\nHIPOFISE1\n \n \nSQL&gt; ALTER SESSION SET CONTAINER=CDB$ROOT;\n \nSession altered.\n \nSQL&gt; SELECT SERVICE_ID,NAME,PDB FROM V$SERVICES;\n \nSERVICE_ID NAME\n---------- ----------------------------------------------------------------\nPDB\n--------------------------------------------------------------------------------\n         5 TALAMOXDB\nCDB$ROOT\n \n         6 TALAMO.localdomain\nCDB$ROOT\n \n         8 hipofise1\nHIPOFISE1\n \n \nSERVICE_ID NAME\n---------- ----------------------------------------------------------------\nPDB\n--------------------------------------------------------------------------------\n         1 SYS$BACKGROUND\nCDB$ROOT\n \n         2 SYS$USERS\nCDB$ROOT\n<\/pre><\/div>\n\n\n<p>Para conectarmos neste novo PDB, podemos fazer via easy connect:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; !hostname\nquiasma\n \nSQL&gt; conn BSS\/BSS@\/\/quiasma:1521\/hipofise1.localdomain\nConnected.\n<\/pre><\/div>\n\n\n<p>Ou podemos conectar via Oracle Net Services. Vamos garantir que o arquivo tnsnames.ora possua a string de conex\u00e3o:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@quiasma admin]$ pwd\n\/oracle\/18.0.0\/product\/network\/admin\n&#x5B;oracle@quiasma admin]$ cat tnsnames.ora\n# tnsnames.ora Network Configuration File: \/oracle\/18.0.0\/product\/network\/admin\/tnsnames.ora\n# Generated by Oracle configuration tools.\n \nTALAMO =\n  (DESCRIPTION =\n    (ADDRESS = (PROTOCOL = TCP)(HOST = quiasma.localdomain)(PORT = 1521))\n    (CONNECT_DATA =\n      (SERVER = DEDICATED)\n      (SERVICE_NAME = TALAMO.localdomain)\n    )\n  )\n \nLISTENER_TALAMO =\n  (ADDRESS = (PROTOCOL = TCP)(HOST = quiasma.localdomain)(PORT = 1521))\n \nHIPOFISE1 =\n  (DESCRIPTION =\n    (ADDRESS_LIST =\n        (ADDRESS = (PROTOCOL = TCP)(HOST = quiasma.localdomain)(PORT = 1521))\n        )\n    (CONNECT_DATA =\n      (SERVER = DEDICATED)\n      (SERVICE_NAME = HIPOFISE1.localdomain)\n    )\n  )\n<\/pre><\/div>\n\n\n<p>Realizando conex\u00e3o:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@quiasma admin]$ sqlplus BSS\/BSS@HIPOFISE1\n \nSQL*Plus: Release 18.0.0.0.0 - Production on Thu Apr 1 04:26:00 2021\nVersion 18.13.0.0.0\n \nCopyright (c) 1982, 2018, Oracle.  All rights reserved.\n \nLast Successful login time: Thu Apr 01 2021 04:22:15 -03:00\n \nConnected to:\nOracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production\nVersion 18.13.0.0.0\n \nSQL&gt;\n<\/pre><\/div>\n\n\n<p>Caso n\u00e3o tenhamos o Oracle Restart configurado no ambiente (que \u00e9 o meu caso), para realizar algumas opera\u00e7\u00f5es de administra\u00e7\u00e3o dos servi\u00e7os, devemos utilizar a DBMS_SERVICE. No exemplo abaixo, farei a cria\u00e7\u00e3o de um novo servi\u00e7o:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER SESSION SET CONTAINER=HIPOFISE1;\n \nSession altered.\n \nSQL&gt; BEGIN\n  DBMS_SERVICE.create_service(\n    service_name =&gt; &#039;servicobruno&#039;,\n    network_name =&gt; &#039;servicobruno&#039;\n  );\nEND;\n\/  2    3    4    5    6    7\n \nPL\/SQL procedure successfully completed.\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; SELECT name,\n       network_name\nFROM   dba_services\nORDER BY 1;  2    3    4\n \nNAME\n----------------------------------------------------------------\nNETWORK_NAME\n--------------------------------------------------------------------------------\nHIPOFISE1\nHIPOFISE1\n \nservicobruno\nservicobruno\n<\/pre><\/div>\n\n\n<p>Iniciando o servi\u00e7o:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; BEGIN\n  DBMS_SERVICE.start_service(\n    service_name =&gt; &#039;servicobruno&#039;\n  );\nEND;\n\/  2    3    4    5    6\n \nPL\/SQL procedure successfully completed.\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; !lsnrctl service\n \nLSNRCTL for Linux: Version 18.0.0.0.0 - Production on 01-APR-2021 04:49:15\n \nCopyright (c) 1991, 2020, Oracle.  All rights reserved.\n \nConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=quiasma.localdomain)(PORT=1521)))\nServices Summary...\nService &quot;TALAMO.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:2 refused:0 state:ready\n         LOCAL SERVER\nService &quot;TALAMOXDB.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;D000&quot; established:0 refused:0 current:0 max:1022 state:ready\n         DISPATCHER &amp;lt;machine: quiasma, pid: 2480&gt;\n         (ADDRESS=(PROTOCOL=tcp)(HOST=quiasma.localdomain)(PORT=18335))\nService &quot;bee4edb6fb790c2ce0536a00a8c0f129.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:2 refused:0 state:ready\n         LOCAL SERVER\nService &quot;hipofise1.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:2 refused:0 state:ready\n         LOCAL SERVER\nService &quot;servicobruno.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:2 refused:0 state:ready\n         LOCAL SERVER\nThe command completed successfully\n<\/pre><\/div>\n\n\n<p>Adicionado uma nova string de conex\u00e3o ao tnsnames.ora com o novo servi\u00e7o:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@quiasma admin]$ cat tnsnames.ora\n# tnsnames.ora Network Configuration File: \/oracle\/18.0.0\/product\/network\/admin\/tnsnames.ora\n# Generated by Oracle configuration tools.\n \nTALAMO =\n  (DESCRIPTION =\n    (ADDRESS = (PROTOCOL = TCP)(HOST = quiasma.localdomain)(PORT = 1521))\n    (CONNECT_DATA =\n      (SERVER = DEDICATED)\n      (SERVICE_NAME = TALAMO.localdomain)\n    )\n  )\n \nLISTENER_TALAMO =\n  (ADDRESS = (PROTOCOL = TCP)(HOST = quiasma.localdomain)(PORT = 1521))\n \nHIPOFISE1 =\n  (DESCRIPTION =\n    (ADDRESS_LIST =\n        (ADDRESS = (PROTOCOL = TCP)(HOST = quiasma.localdomain)(PORT = 1521))\n        )\n    (CONNECT_DATA =\n      (SERVER = DEDICATED)\n      (SERVICE_NAME = HIPOFISE1.localdomain)\n    )\n  )\n \nHIPOFISE1_NEWSERVICE =\n  (DESCRIPTION =\n    (ADDRESS_LIST =\n        (ADDRESS = (PROTOCOL = TCP)(HOST = quiasma.localdomain)(PORT = 1521))\n        )\n    (CONNECT_DATA =\n      (SERVER = DEDICATED)\n      (SERVICE_NAME = servicobruno.localdomain)\n    )\n  )\n<\/pre><\/div>\n\n\n<p>Conex\u00e3o \u00e9 permitida:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@quiasma admin]$ sqlplus BSS\/BSS@HIPOFISE1_NEWSERVICE\n \nSQL*Plus: Release 18.0.0.0.0 - Production on Thu Apr 1 04:52:42 2021\nVersion 18.13.0.0.0\n \nCopyright (c) 1982, 2018, Oracle.  All rights reserved.\n \nLast Successful login time: Thu Apr 01 2021 04:26:00 -03:00\n \nConnected to:\nOracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production\nVersion 18.13.0.0.0\n \nSQL&gt;\n<\/pre><\/div>\n\n\n<p>Parando o servi\u00e7o:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER SESSION SET CONTAINER=HIPOFISE1;\n \nSession altered.\n \nSQL&gt; BEGIN\n  DBMS_SERVICE.stop_service(\n    service_name =&gt; &#039;servicobruno&#039;\n  );\nEND;\n\/  2    3    4    5    6\n \nPL\/SQL procedure successfully completed.\n<\/pre><\/div>\n\n\n<p>Realizando a remo\u00e7\u00e3o do servi\u00e7o:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; BEGIN\n  DBMS_SERVICE.delete_service(\n    service_name =&gt; &#039;servicobruno&#039;\n  );\nEND;\n\/  2    3    4    5    6\n \nPL\/SQL procedure successfully completed.\n<\/pre><\/div>\n\n\n<p>Vemos que o servi\u00e7o n\u00e3o \u00e9 mais listado:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; !lsnrctl service\n \nLSNRCTL for Linux: Version 18.0.0.0.0 - Production on 01-APR-2021 04:56:41\n \nCopyright (c) 1991, 2020, Oracle.  All rights reserved.\n \nConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=quiasma.localdomain)(PORT=1521)))\nServices Summary...\nService &quot;TALAMO.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:3 refused:0 state:ready\n         LOCAL SERVER\nService &quot;TALAMOXDB.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;D000&quot; established:0 refused:0 current:0 max:1022 state:ready\n         DISPATCHER &amp;lt;machine: quiasma, pid: 2480&gt;\n         (ADDRESS=(PROTOCOL=tcp)(HOST=quiasma.localdomain)(PORT=18335))\nService &quot;bee4edb6fb790c2ce0536a00a8c0f129.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:3 refused:0 state:ready\n         LOCAL SERVER\nService &quot;hipofise1.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:3 refused:0 state:ready\n         LOCAL SERVER\nThe command completed successfully\n<\/pre><\/div>\n\n\n<p>Se droparmos o PDB, o seu servi\u00e7o ser\u00e1 removido automaticamente:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER SESSION SET CONTAINER=CDB$ROOT;\n \nSession altered.\n \nSQL&gt; ALTER PLUGGABLE DATABASE HIPOFISE1 CLOSE IMMEDIATE;\n \nPluggable database altered.\n \nSQL&gt; DROP PLUGGABLE DATABASE HIPOFISE1 INCLUDING DATAFILES;\n \nPluggable database dropped.\n \nSQL&gt; !lsnrctl service\n \nLSNRCTL for Linux: Version 18.0.0.0.0 - Production on 01-APR-2021 04:58:18\n \nCopyright (c) 1991, 2020, Oracle.  All rights reserved.\n \nConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=quiasma.localdomain)(PORT=1521)))\nServices Summary...\nService &quot;TALAMO.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;DEDICATED&quot; established:3 refused:0 state:ready\n         LOCAL SERVER\nService &quot;TALAMOXDB.localdomain&quot; has 1 instance(s).\n  Instance &quot;TALAMO&quot;, status READY, has 1 handler(s) for this service...\n    Handler(s):\n      &quot;D000&quot; established:0 refused:0 current:0 max:1022 state:ready\n         DISPATCHER &amp;lt;machine: quiasma, pid: 2480&gt;\n         (ADDRESS=(PROTOCOL=tcp)(HOST=quiasma.localdomain)(PORT=18335))\nThe command completed successfully\n<\/pre><\/div>\n\n\n<p>Obs: Este procedimento foi criado pelo senhor Ahmed Baraka (www.ahmedbaraka.com) e foi apenas reproduzido por mim em um laborat\u00f3rio pessoal para fins de aprendizado.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Indiretamente j\u00e1 tivemos contato com este assunto nos outros artigos publicados sobre Multitenant, mas nunca \u00e9 demais explorar com um pouco mais de detalhes. Para isso, utilizarei o ambiente abaixo como laborat\u00f3rio, que possui um CDB e seu listener default: Neste CDB temos apenas o PDB$SEED criado: Os servi\u00e7os criados atualmente referem-se ao CDB: Vou [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-3390","post","type-post","status-publish","format-standard","hentry","category-multitenant"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/3390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=3390"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/3390\/revisions"}],"predecessor-version":[{"id":9194,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/3390\/revisions\/9194"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=3390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=3390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=3390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}