{"id":2673,"date":"2023-05-22T08:38:32","date_gmt":"2023-05-22T11:38:32","guid":{"rendered":"http:\/\/zmsolution.com\/?p=2673"},"modified":"2023-05-22T08:38:32","modified_gmt":"2023-05-22T11:38:32","slug":"criando-um-service-no-oracle-pdb","status":"publish","type":"post","link":"http:\/\/zmsolution.com\/criando-um-service-no-oracle-pdb\/","title":{"rendered":"Criando um Service no Oracle PDB"},"content":{"rendered":"

Para criar um service no PDB \u00e9 bem simples.<\/p>\n

Verifique os servi\u00e7os existentes<\/p>\n

select con_id, pdb, network_name from cdb_services where pdb is not null and con_id order by pdb;<\/p>\n

Criaremos um service chamado ZMS<\/p>\n

exec dbms_service.create_service(‘ZMS’, ‘ZMS’);<\/p>\n

Iniciando o service ZMS<\/p>\n

exec dbms_service.start_service(‘ZMS’);<\/p>\n

Salvando para o servi\u00e7o iniciar automatico quando o banco subir<\/p>\n

alter pluggable database ZMSOLPDB1 save state;<\/p>\n

Verifique o novo servi\u00e7o<\/p>\n

select con_id, pdb, network_name from cdb_services where pdb is not null and con_id order by pdb;<\/p>\n

e ja pode utilizalo!<\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

Para criar um service no PDB \u00e9 bem simples. Verifique os servi\u00e7os existentes select con_id, pdb, network_name from cdb_services where pdb is not null and con_id order by pdb; Criaremos um service chamado ZMS exec dbms_service.create_service(‘ZMS’, ‘ZMS’); Iniciando o service ZMS exec dbms_service.start_service(‘ZMS’); Salvando para o servi\u00e7o iniciar automatico quando o banco subir alter pluggable database ZMSOLPDB1 save state; Verifique o novo servi\u00e7o select con_id, pdb, network_name from cdb_services where pdb is not null and[…]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[21],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/2673"}],"collection":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/comments?post=2673"}],"version-history":[{"count":2,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/2673\/revisions"}],"predecessor-version":[{"id":2675,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/2673\/revisions\/2675"}],"wp:attachment":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/media?parent=2673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/categories?post=2673"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/tags?post=2673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}