MEMORY in PLUGGABLE DATABASES
Hello
I studied a few demos of 12 c pluggable Oracle databases - it look interesting.
As far as I got the massage, the SGA is mangaged by the CBD and shared by all the PDBs.
Lets say I have 12 GB of RAM and I want to avoid a bite in the database more allocationg then 3 GB of memory.
Is there a way to publish something like alter system set max_memory_target = 3G in a connected database?
The resource manager can only Manager cpu, right?
Concerning
Christian
According to https://blogs.oracle.com/oem/entry/managing_pluggable_database_as_a
No, you can't.
Memory management currently is implicitly managed by the SGA LRU algorithms and CPU share management
Tags: Database
Similar Questions
-
Unable to connect pluggable database
Hello
Version: 12.1.0.2, platform: AIX, CBD: B12C, PDB: MYPDB1
I am trying to connect newly created connectable to database. But it is throwing an error is not available and when I check open_mode is read/write for mypdb1 the database.
Can you please help me where I am wrong? I fight with it more than a week.
listener.ora : LSNRB12C = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = adc40)(PORT = 1550)) ) ) SID_LIST_LSNRB12C = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = B12C) (ORACLE_HOME = /oracle/AIX/12102_64) (SID_NAME = B12C) ) (SID_DESC = (ORACLE_HOME = /oracle/AIX/12102_64) (SID_NAME =MYPDB1) ) ) tnsnames.ora for pluggable database: MYPDB1 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = adc40)(PORT = 1550)) ) (CONNECT_DATA = (SERVICE_NAME = MYPDB1) ) ) adc40 {oracle}:>lsnrctl status LSNRB12C LSNRCTL for IBM/AIX RISC System/6000: Version 12.1.0.2.0 - Production on 09-SEP-2015 21:56:44 Copyright (c) 1991, 2014, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=adc40)(PORT=1550))) STATUS of the LISTENER ------------------------ Alias LSNRB12C Version TNSLSNR for IBM/AIX RISC System/6000: Version 12.1.0.2.0 - Production Start Date 08-SEP-2015 23:21:16 Uptime 0 days 22 hr. 35 min. 28 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /oracle/AIX/12102_64/network/admin/listener.ora Listener Log File /oracle/AIX/diag/tnslsnr/adc40/lsnrb12c/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=adc40)(PORT=1550))) Services Summary... Service "B12C" has 1 instance(s). Instance "B12C", status UNKNOWN, has 1 handler(s) for this service... Service "MYPDB1" has 1 instance(s). Instance "MYPDB1", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully adc40 {oracle}:>env |grep ORACLE ORACLE_BASE=/oracle/AIX ORACLE_SID=B12C ORACLE_HOME=/oracle/AIX/12102_64 adc40 {oracle}:>sqlplus "/as sysdba" SQL*Plus: Release 12.1.0.2.0 Production on Wed Sep 9 22:01:50 2015 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options SQL> select NAME,OPEN_MODE,RESTRICTED from v$pdbs; NAME OPEN_MODE RES ------------------------------ ---------- --- PDB$SEED READ ONLY NO MYPDB1 READ WRITE NO MYPDB2 READ WRITE NO MYPDB3 READ WRITE NO SQL> create user c##1 identified by oracle container=all; User created. SQL> grant create session to C##1 container=all; Grant succeeded. SQL> sho con_name CON_NAME ------------------------------ CDB$ROOT SQL> alter session set container=mypdb1; Session altered. SQL> sho con_name CON_NAME ------------------------------ MYPDB1 SQL> connect c##1/oracle@adc40:1550/b12c Connected. SQL> connect c##1/oracle@adc40:1550/mypdb1 ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist IBM AIX RISC System/6000 Error: 2: No such file or directory Additional information: 2311 Additional information: 186818867 Process ID: 0 Session ID: 0 Serial number: 0 Warning: You are no longer connected to ORACLE.
Can you please tell me why it shows database is unavailable, even if mypdb is open?
Thank you
Arul
You cannot connect to a PDB file through a registration of the listener static like this, because there is just no SID not named MYPDB1. You must register the services dynamically. In the root.
ALTER system set local_listener = "adc40:1550";
editing the system registry;
--
John Watson
Oracle Certified Master s/n
-
Public synonyms in a pluggable database deletion
I have a base Oracle container 12 c with pluggable databases in it. In a pluggable data bases, I uninstalled OLAP by running the following scripts:
SQL > @%oracle_home%/olap/admin/catnoamd.sql
SQL > @ /olap/admin/olapidrp.plb% oracle_home %
SQL > @ /olap/admin/catnoxoq.sql% oracle_home %
SQL > @ /olap/admin/catnoaps.sql% oracle_home %
After you run the scripts, I then generated SQL statements to remove invalid OLAP synonyms, by executing the following:
Select ' drop public synonym ' | object_name | ';'
from dba_objects
where <>of status "VALID."
and owner = 'PUBLIC '.
and object_type = 'SYNONYM '.
and object_name like '% OLAP % ';
When I run the SQL statements resulting in the snap-in data base, I get the following error for each of them:
ERROR on line 1:
ORA-65040: operation not allowed a pluggable database
If I switch back to the ROOT of PEH container $ and executes the same statements, I get the following error:
ERROR on line 1:
ORA-01432: due public synonym being abandoned does not exist
How can I remove these invalid public synonyms for my snap-in database?
I think you're right. I re-read the note that I mentioned above. Even uninstalling an option is not supported for a CBD so far. Only option is to disable it. Second option is to create a non - CBD, uninstall option is not required and then plug it into a CBD.
Salman
----------
-
Reached the maximum number of pluggable databases
Hello
I seem to have a problem creating a pluggable database. I'm getting ORA-65010: maximum number of pluggable databases created. What seems strange to me, is that I have only a plug-in database in the container. This doesn't seem to be a common theoretical problem? maximum number is 252.? I've seen a few different numbers while rummaging through the internet. I can't seem to find documentation about this limit or why that would trigger my max at 1. I wonder if this can a hardware limitation, but after going through the error logs and love it, I can't find any problems with the initial installation.
A little info, installation was complete installation + CBD + PDB. Class Server, standard installation and I can connect both the container and the snap-in internal database and connection to the outside. Most of the time I think its configured correctly. I have a feeling that I missed something along the way, but I'm struggling to find an explanation for this. The documentation is fine as a response, just needing a point in the right direction.
Thank you.
Hello
For Enterprise edition of Oracle database, the limit is 252 connectable to databases. If you are using an Oracle database Standard edition, you can create a single snap-in database.
Thank you
Sanket
-
How to put pluggable database in archivelog mode?
Hello
I'm putting a database plug-in in archivelog mode, however, I'm not sure how to proceed. So far I mounted by PDB and tried the underside of the root container.
ALTER database connect to < name > archivelog; -This returned an error
Then I connected to the PDB and tried;
ALTER database archivelog; -It also wrong
I must be missing something simple - can someone put me out of my misery!
Kind regards
David
You can't put a plug-in database in archivelog mode, there is no independent log files that can be archived. (Although you can recover a single database plug-in and maybe even make a for a pluggable database resetlogs).
Either the entire base is in archivelog mode, or none of it.
Concerning
Jonathan Lewis
-
strengthen the memory of oracle database
Hi guys,.
How do you know if we need to strengthen the memory of oracle database?
I know, instance efficieny hit % is not an exact value to look at as low % does not mean that the server is running out of memory. This may mean that some of the sql made many complete analysis leading to low % of success.
It is advisory to watch SGA Advisory target / PGA Advisory target?
Read how physical improvement is considered a lot where we can consider adding memory to the sga?
kindly share your knowledge about what you guys are looking for normally to beef up.
Thank youIt is advisory to watch SGA Advisory target / PGA Advisory target?
Years: Yes.
In addition, you can check the ADDM report for your high-end database load time. In ADDM, you can get advice to increase the SGA.
But, if your end user is satisfied with the performance of the database then it is useless to increase SGA/PGA.
Concerning
Asif Kabir -
use of the high memory in the database of node cluster 2
Summary of environmental
Cluster nodes RHEL6.4/11.2.0.3.0/ASM/2
free m
total used free shared buffers cached
MEM: 32096 31723 372 0 238 16277
-/ + buffers/cache: 15206 16889
Swap: 16383 178 16205
Each s 1.0: ps EI o % mem, % cpu, cmd | sort - n - r k 2 | head - 10 Thu Feb 27 16:32:15 2014
4.8 0.2 /u01/app/11.2.0/grid/bin/osysmond.bin
mem % 0.0 4.0 ps EI - o, % cpu, cmd
ora_lms1_orcl2 19.6 1.3
ora_lms0_orcl2 19.6 1.3
/etc/kannel.conf 0.2 0.9/usr/sbin/bearerbox
asm_vktm_ 0.9 0.0 + ASM2
ora_vktm_orcl2 0.8 0.0
/opt/app/Java/JDK1.6.0_12/JRE/bin/Java 7.7 0, 7-server-Xms8192m-Xmx8192m - XX: MaxPermSize = 256 m - XX: NewSize = 2048M - XX: karine
2.5 0.7 /opt/app/java/jdk1.6.0_12/bin/java-Djava.util.logging.config.file=/opt/app/csdtomcat/apache-tomcat-6.0.35/c
/U01/app/11.2.0/grid/bin/ocssd.bin 0.3 0.7
SQL > select value, name from v$ sysstat whose name like '% gc.
THE VALUE NAME
---------- ----------------------------------------------------------------
398431945 gcs sent messages
24465773 gc cr block served
92438 flush time gc cr block
52157 timeout reading gc
100272 expected read gc
failures of reading waiting 0 gc
15 gc waiting read timeouts
77789637 blocks of courses gc served
826771 gc block pine time
130755 block course gc flush times
51119356 blocks of cr gc has received
5027865 gc cr block receive times
61272732 blocks of course gc has received
4268980 block of course gc receive times
181763086 local grants of gc
56125079 grants remote gc
716839431 gc sent kilobytes
101203847 gc saved KB
30105492 compressed blocks of gc
blocks of gc lost 0
blocks of claims gc lost 0
0 gc corrupt blocks
0 gc CPU used by this session
0 player gc bypass grants
time of generation 0 gc cr block
0 gc cr block send time
current block 0 gc send times
Node-1
Each s 1.0: ps EI o % mem, % cpu, cmd | sort - n - r k 2 | head Thu Feb 27 - 10 17:19:47 2014
16.3 51.7 /opt/netvertexp/java/jdk1.6.0_12/jre/bin/java-serveur-Xms8192m-Xmx8192m - XX: MaxPermSize = 256 m - XX: NewSize = 2048M - XX: karine
6.5 0.2 /u01/app/11.2.0/grid/bin/osysmond.bin
0.0% mem 5.0 ps EI - o, % cpu, cmd
2.2 0.0/usr/sbin/tcpdump bond0 w s port 65535 /root/pcapprimary/netvertexp-27Feb_17_15.pcap 3868-i
/U01/app/11.2.0/grid/bin/ocssd.bin 0.4 1.4
19.5 1.2 ora_lms1_orcl1
19.5 1.2 ora_lms0_orcl1
ora_dbw1_orcl1 19.7 0.9
ora_dbw0_orcl1 19.7 0.9
ora_vktm_orcl1 0.9 0.0
Node-2
Each s 1.0: ps EI o % mem, % cpu, cmd | sort - n - r k 2 | head Thu Feb 27 - 10 17:19:07 2014
4.8 0.2 /u01/app/11.2.0/grid/bin/osysmond.bin
mem % 0.0 3.0 ps EI - o, % cpu, cmd
oracleorcl2 0.1 2.5 (LOCAL = NO)
ora_lms1_orcl2 19.6 1.3
ora_lms0_orcl2 19.6 1.3
/etc/kannel.conf 0.2 0.9/usr/sbin/bearerbox
asm_vktm_ 0.9 0.0 + ASM2
ora_vktm_orcl2 0.8 0.0
/opt/app/Java/JDK1.6.0_12/JRE/bin/Java 7.7 0, 7-server-Xms8192m-Xmx8192m - XX: MaxPermSize = 256 m - XX: NewSize = 2048M - XX: karine
2.5 0.7 /opt/app/java/jdk1.6.0_12/bin/java-Djava.util.logging.config.file=/opt/app/csdtomcat/apache-tomcat-6.0.35/c
How to troubleshoot the depth to find the cause of the heavy memory usage. ?
Thank you
hitgon
Hello
vmstat-s
This will give a more detailed overview. Search for active/inactive values and used swap. If active memory is close to the total memory and you have a larger amount of used swap, then you might have the memory pressure.
If the Exchange is not used much, and you have the right percentage of inactive memory, then linux could easily swap memory without a performance problem. In this case, the pressure of memory is very likely.
For a report very detailed on the use of single process
PMAP pid - x
M and the press allows you to sort by memory use. If you are using pmap on bigest processes, then you should have a good starting point was that your memory has disappeared.
Concerning
Thomas
-
XDB user name and password to access the page configuration EPG on a pluggable database APEX
Hello
I have a base shared of the Oracle (12.1.0.2) 12.
I have an APEX PDB 5.0 file. There is no APEX installed on the CDB (root).
Connected to the PDB, the registry says:
Name of the ID Version State
------------ ----------------------------------- ------------ ----------
APEX Oracle Application Express 5.0.0.00.31 VALID
I want to configure the EPG for this PDB.
I did the following (in this order):
(1) race: apex_epg_config.sql
(2) race: exec dbms_xdb.sethttpport (8080) - the firewall is open for this port
(3) race: change the anonymous user account unlock;
(4) run:
Start
() DBMS_NETWORK_ACL_ADMIN.append_host_ace
Home = > ' *',
As = > xs$ ace_type (privilege_list = > xs$ name_list ('connect'),)
principal_name = > "APEX_050000"
principal_type = > xs_acl.ptype_db));
end;
/
I find myself with the APEX-based users:
Account
Status of user name
------------------------- -------------------------
FLOWS_FILES EXPIRED & LOCKED
APEX_050000 EXPIRED & LOCKED
OPEN APEX_REST_PUBLIC_USER
OPEN ORDS_PUBLIC_USER
OPEN APEX_PUBLIC_USER
OPEN APEX_LISTENER
ORDPLUGINS EXPIRED & LOCKED
ORDDATA EXPIRED & LOCKED
ORDSYS EXPIRED & LOCKED
ANONYMOUS HAS EXPIRED
ORDS_METADATA EXPIRED & LOCKED
I used the documentation:
https://docs.Oracle.com/CD/E59726_01/install.50/e39144/EPG.htm#HTMIG386
When I run from the browser:
http:// < IP address of the server >: 8080/apex
I get the messge:
"APEX request a user name and password XDB"
Does someone has encountered this situation in a PDB file?
Thanks in advance for any information.
Thanks and greetings
Hi Patrick,
Laury wrote:
I have a base shared of the Oracle (12.1.0.2) 12.
I have an APEX PDB 5.0 file. There is no APEX installed on the CDB (root).
I want to configure the EPG for this PDB.
I find myself with the APEX-based users:
Account
Status of user name
------------------------- -------------------------
ANONYMOUS HAS EXPIRED
The problem is the ANONYMOUS account has expired.
Reference: Re: XDB username and password
I think that this issue is addressed in your previous thread so: Oracle APEX server requires a user name and password of the server said XDB?
And here's the thread where Jason explained the reasons: Re: installation of the Apex (4.2.2 on 12 c)
Kind regards
Kiran
-
I created a new CBD CAR empty database on a cluster exadata using an ORACLE_HOME (12.1.0.2) which has been patched with patch latest bundle.
I ran the datapatch utility to apply these patches to the container before any new APB to a database that is already patched the cloning.
However, datapatch first correctly identifies adjustments but it fails on a prereq error:
DINVCDB:Oracle@dev-EXD-dbadm01:~/DINVCDB > datapatch
Remedial tool version 12.1.0.2.0 SQL kill him Dec 22 21:14:15 2015
Copyright (c) 2015, Oracle. All rights reserved.
Connecting to the database... Ok
Note: Datapatch will only apply or rollback SQL fix for PDB
that are in an open State, no patches will be applied to the closed PDBs.
Please refer to the Note: Datapatch: database 12 c Post Patch SQL Automation
(Doc ID 1585822.1)
Determine the current state...
Adding patches to the installation queue and execution prereq checks...
Queue the installation:
For the following PDB files: PEH$ ROOT APB$ SEEDS
Nothing to roll back
Apply the following patches:
21555660 (database 12.1.0.2.5, consisting of virtual machine Java of Oracle (Oct2015) power supply)
21694919 (DATABASE PATCH BUNDLE: 12.1.0.2.13 (21694919))
Error: failure of prereq cheques!
patch 21555660: pluggable databases that need to be patched should be in upgrade mode
PREREQ check failed, out without having to install patches.
Please refer to 1609718.1 Note MOS and/or the log of the invocation
/U01/app/Oracle/cfgtoollogs/sqlpatch/sqlpatch_11932_2015_12_22_21_14_15/sqlpatch_invocation.log
For more information on how to fix the above errors.
Patching SQL tool on Mar 22 21:16:26 dec 2015
Unfortunately the MOS score is General and I do not see this situation described. The newspaper simply indicates this same error.
Since there is no PDB, why make this mistake? I don't think it's possible to open the PDB$ SEEDS as upgrade?
I had already tried cloning my non - PDB in a PDB here (successfully) file, but then I also met problems with datapatch (in PDB not at CDB patch). I tried with the options and force database and this succeeded with warnings, but I was unable to open the PDB. I thought, okay, what oracle says that the whole point of multitenant is to be able to update the plugin, it should be possible to patch a CBD empty. I can't seem to find much on this point, somebody manage this problem?
What is the best method to establish the original CDB and ensure that it is patched in line with its ORACLE_HOME?
Thank you!
Sandra
sidneys wrote:
Error: failure of prereq cheques!
patch 21555660: pluggable databases that need to be patched should be in upgrade mode
PREREQ check failed, out without having to install patches.
to work around this problem, new PSU have a new dependency for the datapatch to be applied correctly.
1 starting in fashion upgrade instance
start upgrade
2. then apply datapach
$ORACLE_HOME/OPatch/datapach - verbose
3. restart the instance in normal mode
-
12 c multitenant, clone database using Data Guard?
Hello
11.2.0.3
We have a database that uses the data custody (physical standby). Looking at the future, the ability to clone of the multitenant 12th century is really very nice.
Someone has already tried to clone a physical database eve? That the cloning of the production database is one of the real benefits that we see today with 12 c. Cloning of the primary requires downtime.
How you guys to clone your production in 12 c? Would be nice if we could clone the day before.
Concerning
3
It is:
create standby_2 of the pluggable database of Eve;
Plug-in, database created.
Take a look at the link in my previous post.
Best regards
mseberg
-
12 c database Data Guard and connectable to DR
Hi all
I have a database upgrade from 11.2.0.3 to 12.1.0.2 to come. The current set up is the PROD & DR are 11g data protection configuration and it works fine. The two databases are in ASM and the configuration is exactly the same as well PROD & DR sites. The database is currently 25 TB.
I understand how make the upgrade to 12 c, then let cascading changes through on the DR database - so NON - CBD on both sites. Thinking aloud here, I would plug in the PROD database into a new CBD. I suppose I create a CBD DR and then convert DR pluggable database, modify the dataguard config (as it is at the level of the container in 12 c) and plug into the DR database in the new CBD DR? Then copy the archivelogs of CBD PROD on the DR site to fix gaps. This approach wouldn't work?
Thoughts everyone?
Thank you
Vic010
OK Oracle confirmed - you must copy the data files to the doctor and then rebuild the database of DR... Is not ideal if your database is 25 to and in full swing. The last time, he had to rebuild the database, it took a week...
Vic010
-
Directory to upgrade the database to Oracle 12 c
I recently installed 12 c SE on Windows without an additional data directory so the default installation location filled quickly when I copied an older db using SQL developer. To remedy this, I improved 12 c and moved the data file directory to D:\ path. I tried to copy the external db again and everything began to be copied again to c:\. How can I run copies to D:\? BTW - I am new to Oracle.
You can send on the instructions of what you were doing?
By the sounds of it, you put everything on a disk in windows, created a DB & then tried to reach another DB through pluggable databases. There is a method of fixing of DBs in 12 c, but you will need to provide details on the platform, version of DB (select * from version$ v) & what commands you ran to tie the DB.
If you have just run out of space & this is a test system I would delete & restart, especially if just a park environment. -
Oracle 12 c with RMAN database backup
Hi All-
I started back to the top of one of my PDB using utility RMAN following the instructions on the link below.
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/12C/R1/PDB/pdb_pitr/pdb_pitr.html
--Connect to Oracle RMAN. rman> Connect target / --Set the Oracle RMAN backup device type and backup file location. rman> configure channel device type disk format '/stage/db_backup_files/cdb1/%U'; --Turn on automatic backup of control files. rman> configure controlfile autobackup on; --Back up the database and archive logs. rman>backup database plus archivelog; rman> exit
Back to the top has been done successfully, but when I started with the recovery process he gave me error reporting collection.
Run {set until what SNA = 2263440; restore database connectable to pdb2; retrieve auxiliary destination of the pluggable database pdb2 = "/ stage/db_backup_files/cdb1 '; alter connectable database to pdb2 ;} open resetlogs}
This is the track to RMAN
Recovery Manager: release 12.1.0.2.0 - Production on sat 22 Aug 12:22:44 2015
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
RMAN > Connect target /.
connected to target database: RELIABLE (DBID = 1028507357)
RMAN > run {}
2 > ALTER DATABASE connectable to MultiPlay NARROW;
3 > set up what SNA = 14899894;
4 > restore database pluggable MultiPlay;
5 > restore database pluggable MultiPlay;
6 > alter database connectable to MultiPlay open resetlogs;
{7 >}
using the control file of the target instead of recovery catalog database
Statement processed
executing command: SET until clause
From restoration to 22 August 15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 22 type of device = DISK
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00035 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSTEM01. DBF
channel ORA_DISK_1: restore datafile 00036 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSAUX01. DBF
channel ORA_DISK_1: restore datafile 00037 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\MULTIPLAY_USERS01. DBF
channel ORA_DISK_1: backup E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150 piece reading
822T115328_BXJ5C182_. BKP
channel ORA_DISK_1: piece handle = E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150822T115328_BX
J5C182_. Tag BKP = TAG20150822T115328
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:01:05
Restoration finished in 22 August 15
From pick up to August 22, 15
using channel ORA_DISK_1
RMAN-05026: WARNING: following tablespaces set applies to the Point in time specified assuming
List of tablespaces should have UNDO segments
SYSTEM tablespace
Tablespace UNDOTBS1
Creation of automatic instance with SID = "zbnt."
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 22/08/2015 12:24:56
ORA-19852: error creating services for the instance auxiliary zbnt (error 0)
ORA-27302: failure occurred:
ORA-27303: additional information: could not start the instance
Thank you
Siradji
Just a wild guess
You do not use this script in a command as Administrator window
Therefore, you won't be able to create any service.
I also have a question: your only troubleshooting activity consisted of hitting CTRL + C and CTRL-V, is not it?
It's so boring to most of the people here do not even TRY to solve their own problems.
-------------
Sybrand Bakker
Senior Oracle DBA
-
Drop database connectable to including the file system data sheets files
I did experiments with the connectable Oracle12c to database functionality and have noticed that when I "drop database connectable to pdb1 including datafiles', I get the message that the database snap-in has been dropped." I also see that all files in the tablespace for the PDB except the SYSTEM data file have been deleted.
I want to remove the folder that has been used for the pluggable database after that the PDB fell, but cannot because the file SYSTEM data is left behind.Is it possible to delete the data file SYSTEM for a pluggable database once he fell? Or this part forever from the database of the container?
Thank you
This forum works on a Server Windows 2012.
Thanks for the Bug information. There is no error in the alert.log file, but I found a trace file with:
ORA-01265: cannot remove the D:\ETC\ETC\SYSTEM01 DATA. DBF
ORA-27056: could not delete file
OSD-04024: cannot delete the file.
S/O-error: (32 OS) the process cannot access the file because it is being used by another process.
This seems to be the same problem as described in bug 17659954, so I can follow in investigating the recommendations of bug
Thanks again
-
PRKO-3115 by creating the service of database management policies
Hello together,
I have a mind to Oracle RAC Cluster 12.1.0.2 two node oracle Linux 7 installed and I tried to set up a service for a shared base managed policy, also 12.1.0.2 in this style:
[ora121@Q4DEUMSY154 ~]$ srvctl add service -db cogn12Tc -pdb cogn12T -service svc_cogn12T -serverpool spRacNodes -cardinality UNIFORM -role primary -policy AUTOMATIC -failovertype SELECT -failovermethod BASIC -failoverretry 180 -failoverdelay 5 -clbgoal SHORT -rlbgoal SERVICE_TIME -dtp FALSE -tafpolicy BASIC
The CDB is cogn12Tc, the cogn12T of the PDB.
But I get a
PRKO-3115 : -tafpolicy option cannot be used with policy-managed service svc_cogn12T
I have not found the info (DOC), where Oracle describe, TAF is not able to use by policy successful DB? Is also funny, when I create service without the option - tafpolicy can I activate the TAf by editing:
[ora121@Q4DEUMSY154 ~]$ srvctl add service -db cogn12Tc -pdb cogn12T -service svc_cogn12T -serverpool spRacNodes -cardinality UNIFORM -role primary -policy AUTOMATIC -failovertype SELECT -failovermethod BASIC -failoverretry 180 -failoverdelay 5 -clbgoal SHORT -rlbgoal SERVICE_TIME -dtp FALSE [ora121@Q4DEUMSY154 ~]$ srvctl modify service -db cogn12Tc -pdb cogn12T -service svc_cogn12T -tafpolicy BASIC [ora121@Q4DEUMSY154 ~]$ srvctl config service -service svc_cogn12T -db cogn12Tc Service name: svc_cogn12T Server pool: spRacNodes Cardinality: UNIFORM Disconnect: false Service role: PRIMARY Management policy: AUTOMATIC DTP transaction: false AQ HA notifications: false Global: false Commit Outcome: false Failover type: SELECT Failover method: BASIC TAF failover retries: 180 TAF failover delay: 5 Connection Load Balancing Goal: SHORT Runtime Load Balancing Goal: SERVICE_TIME TAF policy specification: BASIC Edition: Pluggable database name: cogn12T Maximum lag time: ANY SQL Translation Profile: Retention: 86400 seconds Replay Initiation Time: 300 seconds Session State Consistency: GSM Flags: 0 Service is enabled Service is individually enabled on nodes: Service is individually disabled on nodes:
As you can see, TAF is at the BASIC level. What's not here?
A big thank you and best regards,
David
Documentation:
-tafpolicy {BASIC | NONE | PRECONNECT}
Governed by a policy TAF (for managed by administrator databases only).
Note: You can use
PRECONNECT
When you specify the-preferred
and-available
parameters.
Maybe you are looking for
-
A sequence controlled by an input button
Hi guys. I want to create a sequence that is commanded by an entry for example a button 'NEXT' button which will begin a set of instructions assigned to step 2 of a sequential structure. Something as seen in a software installation. Can someone point
-
Wheres the 25 character product key number__
Please just make this easy
-
HP Officejet Pro more than 8600
When I scan from my HP (just installed) in Word, the words "scan Addin Trial" appear on my analysis in black letters "BOLD" that I can't remove. Can someone help me with this aggravating problem?
-
Miss me the update of windows and other important programs
After having recently had a virus that took forever to get rid of, I found that miss me some useful programs. Like windows updater parts for Windows Firewall and other things. I was wondering if I could re put in disc manufacturing or would that eras
-
I have problems printing on double sides, I'm wasting ink and paper. There are pages missing or juct prints on one side. It's new, so the establishment may be wrong, but it doesn't work sometimes, which is not perfect, but it works. Help.