Archivelogs to different locations - only with Enterprise Edition?How to?
Hello,
while searching for an answer to 'how to store my archivelogs to different locations' I came across a post, that says, that this is only possible with enterprise edition? Is that true?
In case it is not: How do I add to an online database a second or more targets? I tried it on a test database, but the new target was not accepted, the entry pointing to the FRA was deleted, and everythin stopped, of course. Is there a way to add a second target without shutting down the database? Could anyone please explain, I am afraid to crash our live database. But living without a second target makes me nervous...
Thank you very much for your help,
Chris
Did you look at the documentation for 10g?
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_transport.htm#i1265402
This was only for remote db site but there is more in the book.
5.2.2.1 Changing Destination Attributes
You can dynamically update most of the attribute values of the LOG_ARCHIVE_DEST_n and the LOG_ARCHIVE_DEST_STATE_n parameters using the ALTER SYSTEM SET statement.
The modifications take effect after the next log switch on the primary database. For example, to defer redo transport services from transmitting redo data to the remote standby database named boston, issue the following statements on the primary database:
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_2='SERVICE=boston
2> VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)';
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=DEFER;
Read and have fun.
I think the point you missed is that you got to set the state of the destination as well.
Regards
Tim
Similar Messages
-
Backup archivelogs from different location
DB : 10.2.0.4
OS : HEHL5
due to space issue i moved the archived to different location from log_archive_dest_1.
is it possible to backup the archivelogs from different location as i moved them?
Thanks.My bad , it's not a must! Please see,
bash-3.2$ ls
o1_mf_1_34_8jk60c7b_.arc o1_mf_1_35_8jkz3p0l_.arc o1_mf_1_36_8jlcqpky_.arc
bash-3.2$ mkdir /tmp/archivelognewloc
bash-3.2$ cp *.* /tmp/archivelognewloc
bash-3.2$ rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 30 14:40:17 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
allconnected to target database: **** (DBID=1228973204)
RMAN>
RMAN> catalog start with '/tmp/archivelognewloc';
searching for all files that match the pattern /tmp/archivelognewloc
List of Files Unknown to the Database
=====================================
File Name: /tmp/archivelognewloc/o1_mf_1_36_8jlcqpky_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_35_8jkz3p0l_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_34_8jk60c7b_.arc
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /tmp/archivelognewloc/o1_mf_1_36_8jlcqpky_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_35_8jkz3p0l_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_34_8jk60c7b_.arc
RMAN>
Update : A little better demo
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 30 15:00:32 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL> alter system switch logfile;
System altered.
SQL> /
System altered.
SQL> alter system checkpoint;
System altered.
SQL> alter system switch logfile;
System altered.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
bash-3.2$ ls
o1_mf_1_38_8jldnkog_.arc o1_mf_1_40_8jlfdnph_.arc
o1_mf_1_39_8jlfdmoq_.arc o1_mf_1_41_8jlff2nn_.arc
bash-3.2$ pwd
/u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30
[root@EDHDR3P0 ~]# ls /tmp/archivelognewloc/
[root@EDHDR3P0 ~]# exit
logout
bash-3.2$
bash-3.2$
bash-3.2$ pwd
/u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30
bash-3.2$ ls
o1_mf_1_38_8jldnkog_.arc o1_mf_1_40_8jlfdnph_.arc
o1_mf_1_39_8jlfdmoq_.arc o1_mf_1_41_8jlff2nn_.arc
bash-3.2$ ls /tmp/archivelognewloc/
bash-3.2$ ls -l /tmp/archivelognewloc/
total 0
bash-3.2$ cp * /tmp/archivelognewloc/
bash-3.2$ ls -l /tmp/archivelognewloc/
total 3620
-rw-r----- 1 oracle oinstall 549888 Jan 30 15:02 o1_mf_1_38_8jldnkog_.arc
-rw-r----- 1 oracle oinstall 3117568 Jan 30 15:02 o1_mf_1_39_8jlfdmoq_.arc
-rw-r----- 1 oracle oinstall 1024 Jan 30 15:02 o1_mf_1_40_8jlfdnph_.arc
-rw-r----- 1 oracle oinstall 19456 Jan 30 15:02 o1_mf_1_41_8jlff2nn_.arc
bash-3.2$ pwd
/u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30
bash-3.2$ rm -rf *
bash-3.2$ ls
bash-3.2$ rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 30 15:03:13 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: AMER (DBID=1228973204)
RMAN> backup archivelog all;
Starting backup at 30-JAN-13
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=151 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 01/30/2013 15:03:32
RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
ORA-19625: error identifying file /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_38_8jldnkog_.arc
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
RMAN> catalog start with '//tmp/archivelognewloc';
searching for all files that match the pattern //tmp/archivelognewloc
List of Files Unknown to the Database
=====================================
File Name: /tmp/archivelognewloc/o1_mf_1_39_8jlfdmoq_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_41_8jlff2nn_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_40_8jlfdnph_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_38_8jldnkog_.arc
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /tmp/archivelognewloc/o1_mf_1_39_8jlfdmoq_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_41_8jlff2nn_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_40_8jlfdnph_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_38_8jldnkog_.arc
RMAN> backup archivelog all;
Starting backup at 30-JAN-13
current log archived
using channel ORA_DISK_1
archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_38_8jldnkog_.arc not found or out of sync with catalog
trying alternate file for archived log of thread 1 with sequence 38
archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_39_8jlfdmoq_.arc not found or out of sync with catalog
trying alternate file for archived log of thread 1 with sequence 39
archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_40_8jlfdnph_.arc not found or out of sync with catalog
trying alternate file for archived log of thread 1 with sequence 40
archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_41_8jlff2nn_.arc not found or out of sync with catalog
trying alternate file for archived log of thread 1 with sequence 41
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=38 RECID=45 STAMP=806079846
input archived log thread=1 sequence=39 RECID=42 STAMP=806079846
input archived log thread=1 sequence=40 RECID=44 STAMP=806079846
input archived log thread=1 sequence=41 RECID=43 STAMP=806079846
input archived log thread=1 sequence=42 RECID=41 STAMP=806079812
input archived log thread=1 sequence=43 RECID=46 STAMP=806079851
channel ORA_DISK_1: starting piece 1 at 30-JAN-13
channel ORA_DISK_1: finished piece 1 at 30-JAN-13
piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp tag=TAG20130130T150411 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 30-JAN-13
RMAN> list backup of archivelog all;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
1 981.94M DISK 00:01:15 30-JAN-13
BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20130130T143224
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T143224_8jlcqs5d_.bkp
List of Archived Logs in backup set 1
Thrd Seq Low SCN Low Time Next SCN Next Time
1 5 830546 25-JAN-13 841823 25-JAN-13
1 6 841823 25-JAN-13 866733 25-JAN-13
1 7 866733 25-JAN-13 889743 25-JAN-13
1 8 889743 25-JAN-13 912846 26-JAN-13
1 9 912846 26-JAN-13 931109 26-JAN-13
1 10 931109 26-JAN-13 952239 26-JAN-13
1 11 952239 26-JAN-13 979268 26-JAN-13
1 12 979268 26-JAN-13 1004465 26-JAN-13
1 13 1004465 26-JAN-13 1021707 26-JAN-13
1 14 1021707 26-JAN-13 1040437 27-JAN-13
1 15 1040437 27-JAN-13 1068031 27-JAN-13
1 16 1068031 27-JAN-13 1091450 27-JAN-13
1 17 1091450 27-JAN-13 1114656 27-JAN-13
1 18 1114656 27-JAN-13 1137779 27-JAN-13
1 19 1137779 27-JAN-13 1165125 27-JAN-13
1 20 1165125 27-JAN-13 1199499 28-JAN-13
1 21 1199499 28-JAN-13 1228282 28-JAN-13
1 22 1228282 28-JAN-13 1249640 28-JAN-13
1 23 1249640 28-JAN-13 1270613 28-JAN-13
1 24 1270613 28-JAN-13 1291570 28-JAN-13
1 25 1291570 28-JAN-13 1312497 28-JAN-13
1 26 1312497 28-JAN-13 1332622 28-JAN-13
1 27 1332622 28-JAN-13 1365097 28-JAN-13
1 28 1365097 28-JAN-13 1395297 28-JAN-13
1 29 1395297 28-JAN-13 1407058 28-JAN-13
1 30 1407058 28-JAN-13 1437549 29-JAN-13
1 31 1437549 29-JAN-13 1469773 29-JAN-13
1 32 1469773 29-JAN-13 1504608 29-JAN-13
1 33 1504608 29-JAN-13 1522578 29-JAN-13
1 34 1522578 29-JAN-13 1553706 30-JAN-13
1 35 1553706 30-JAN-13 1586954 30-JAN-13
1 36 1586954 30-JAN-13 1603625 30-JAN-13
BS Key Size Device Type Elapsed Time Completion Time
2 538.00K DISK 00:00:01 30-JAN-13
BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20130130T144745
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T144745_8jldnkxt_.bkp
List of Archived Logs in backup set 2
Thrd Seq Low SCN Low Time Next SCN Next Time
1 38 1604067 30-JAN-13 1604680 30-JAN-13
BS Key Size Device Type Elapsed Time Completion Time
3 3.64M DISK 00:00:00 30-JAN-13
BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20130130T150411
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp
List of Archived Logs in backup set 3
Thrd Seq Low SCN Low Time Next SCN Next Time
1 38 1604067 30-JAN-13 1604680 30-JAN-13
1 39 1604680 30-JAN-13 1606046 30-JAN-13
1 40 1606046 30-JAN-13 1606049 30-JAN-13
1 41 1606049 30-JAN-13 1606057 30-JAN-13
1 42 1606057 30-JAN-13 1606303 30-JAN-13
1 43 1606303 30-JAN-13 1606353 30-JAN-13
RMAN> crosscheck backup of archivelog all;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T143224_8jlcqs5d_.bkp RECID=1 STAMP=806077945
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T144745_8jldnkxt_.bkp RECID=2 STAMP=806078865
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp RECID=3 STAMP=806079851
Crosschecked 3 objects
RMAN> list backup of archivelog all;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
1 981.94M DISK 00:01:15 30-JAN-13
BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20130130T143224
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T143224_8jlcqs5d_.bkp
List of Archived Logs in backup set 1
Thrd Seq Low SCN Low Time Next SCN Next Time
1 5 830546 25-JAN-13 841823 25-JAN-13
1 6 841823 25-JAN-13 866733 25-JAN-13
1 7 866733 25-JAN-13 889743 25-JAN-13
1 8 889743 25-JAN-13 912846 26-JAN-13
1 9 912846 26-JAN-13 931109 26-JAN-13
1 10 931109 26-JAN-13 952239 26-JAN-13
1 11 952239 26-JAN-13 979268 26-JAN-13
1 12 979268 26-JAN-13 1004465 26-JAN-13
1 13 1004465 26-JAN-13 1021707 26-JAN-13
1 14 1021707 26-JAN-13 1040437 27-JAN-13
1 15 1040437 27-JAN-13 1068031 27-JAN-13
1 16 1068031 27-JAN-13 1091450 27-JAN-13
1 17 1091450 27-JAN-13 1114656 27-JAN-13
1 18 1114656 27-JAN-13 1137779 27-JAN-13
1 19 1137779 27-JAN-13 1165125 27-JAN-13
1 20 1165125 27-JAN-13 1199499 28-JAN-13
1 21 1199499 28-JAN-13 1228282 28-JAN-13
1 22 1228282 28-JAN-13 1249640 28-JAN-13
1 23 1249640 28-JAN-13 1270613 28-JAN-13
1 24 1270613 28-JAN-13 1291570 28-JAN-13
1 25 1291570 28-JAN-13 1312497 28-JAN-13
1 26 1312497 28-JAN-13 1332622 28-JAN-13
1 27 1332622 28-JAN-13 1365097 28-JAN-13
1 28 1365097 28-JAN-13 1395297 28-JAN-13
1 29 1395297 28-JAN-13 1407058 28-JAN-13
1 30 1407058 28-JAN-13 1437549 29-JAN-13
1 31 1437549 29-JAN-13 1469773 29-JAN-13
1 32 1469773 29-JAN-13 1504608 29-JAN-13
1 33 1504608 29-JAN-13 1522578 29-JAN-13
1 34 1522578 29-JAN-13 1553706 30-JAN-13
1 35 1553706 30-JAN-13 1586954 30-JAN-13
1 36 1586954 30-JAN-13 1603625 30-JAN-13
BS Key Size Device Type Elapsed Time Completion Time
2 538.00K DISK 00:00:01 30-JAN-13
BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20130130T144745
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T144745_8jldnkxt_.bkp
List of Archived Logs in backup set 2
Thrd Seq Low SCN Low Time Next SCN Next Time
1 38 1604067 30-JAN-13 1604680 30-JAN-13
BS Key Size Device Type Elapsed Time Completion Time
3 3.64M DISK 00:00:00 30-JAN-13
BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20130130T150411
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp
List of Archived Logs in backup set 3
Thrd Seq Low SCN Low Time Next SCN Next Time
1 38 1604067 30-JAN-13 1604680 30-JAN-13
1 39 1604680 30-JAN-13 1606046 30-JAN-13
1 40 1606046 30-JAN-13 1606049 30-JAN-13
1 41 1606049 30-JAN-13 1606057 30-JAN-13
1 42 1606057 30-JAN-13 1606303 30-JAN-13
1 43 1606303 30-JAN-13 1606353 30-JAN-13
RMAN> HTH
Aman....
Edited by: Aman.... on Jan 30, 2013 3:06 PM -
downloaded trial for mac, all requirements are met, but cannot get download to open as an application, mac is trying to open with text edit; downloaded several times, every time the disk utility opens
The .dmg was opening with Disk Utility, where it would verify and then mount the "Lightroom 4.0" disc image on my desktop. Clicking on this opened the folder, which contained the .pkg file, but it wouldn't work (opening with TextEditor). I changed the .dmg file to open with DiskImageMounter and thought I would have to manually change the .pkg file as well, but once the .dmg file opened with DiskImageMounter, the Lightroom 4 file opened with it as well and I got the installation screen right away. Installation from that point on went as usual. It was a very frustrating experience, but now I know where to look when a file won't install. But as for your question, they both opened with DiskImageMounter.
-
M30: Connect only with 42.6K - How to increase the speed
My M30 connect only with 42.6K speed. I try all options to increase the speed but success. If any one have the solution, please send me email at [email protected]
I try the other series on my telephone line and those connect at 52 to 54K speed. Even Desktop connect at 54K.Hello
Please go to the device manager and choose the modem. Then right click and properties.
There you will find a many tabs. Please check if the option Maximum port speed in the Modem tab is set to highest value.
Furthermore you can check in the Advanced tab the button Advanced Port settings The controller should be also set to the high (max).
Please check these possibilities.
Bye -
Specify different location of SQL*PLUS EDIT/SPOOL directory
Where can I specify the location of the SQL*PLUS edit/spool directory such that I can change it from the default? I'm running on Linux (Ubuntu 6.10) if that helps...
Check this Link :
Error while Invoking Editor
Regds. -
Need help with audio edit - how can I censor myself?
Hello, all. I have a problem that I don't know how to solve.
Let me say, first and foremost, how much I dislike iMovie '08. I miss '06 so much! It was so straightforward and easy to use. This new (well, now old) version is so blocky and simple that it's completely backwards; I straight-up don't know how to operate it. And I'm a film student! It's so embarrassing.
Here's the problem. I'm working on editing a vlog for release tomorrow, and I need to "bleep" a bad word I say. I have the censor beep, and I have it anchored over the clip I want to censor, but I can't find a way to actually mute the audio from the video, so that only the bleep plays. At this point, I'm bleeping, but you can still hear the bad word. Completely ineffectual.
I've tried everything in my extremely limited arsenal to solve this problem, but no dice. Help!Drag the mouse to select the video frames that you want to mute. A yellow border should be around them.
Then, EDIT//SPLIT CLIP (or right-click/Split Clip).
On this split clip, open the Audio Inspector and set the volume to zero. -
Oracle BI Enterprise Edition - How to implement "Scheduling Services"
hi,
Currently doing some analysis of OBIEE for project specification doc.
Please help me for the below need.
1. How to implement "Scheduling Services" in OBIEE , terms of;
a.Integration with 3rd party schedulers
b.Job management
c.Job scheduling
d.Notifications
reg,kannan
Edited by: user4810433 on Nov 13, 2008 8:59 PMhi,
try this below links
http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/delivers/delivers.htm
http://oraclebizint.wordpress.com/2007/09/13/oracle-bi-ee-10133-configuring-delivers-ibots/
Regards
Naresh
Edited by: Naresh Meda on Nov 13, 2008 9:03 PM -
Lets move everything with an edit; how?
I make these cuts and edits, but then I have to drag everything to fill in the gap.
Isn't there a way where everything moves when you drag the red handles?
THANKSRipple Delete is your friend from the Edit menu.
-
Open PDF document in a web only with Javascript. How?
Hello everyone.
I want to open a PDF document using Javascript. Is it possible?.
I think so but I do not know.
I have read this site:
http://www.adobe.com/devnet/acrobat/javascript.html
but I find no examples, no help.
Thank you, kind regards.If the user has a PDF viewer installed (such as Acrobat or Reader), and it
is set to open PDF files in the browser, then the file will open in the
browser window. If not, it will be launched externally or saved.
Alternatively, you can try embedding the file in your page:
http://blogs.adobe.com/pdfdevjunkie/2007/08/using_the_html_embed_tag_to_di.html -
Deployment of objects in OWB10g with Personal Edition Database
When trying to deploy objects in a Personal Oracle 10g database with OWB10g, the following error occurs:
RPE-01011: Cannot deploy to target database location because it does not have a compatible version.
Deployment on the same database but on Enterprise Edition works fine.
Oracle does not support OWB on Personal Edition, but I found a workaround to use OWB on a Personal Edition database. The problem is that the Deployment Manager checks for the version number from PRODUCT_COMPONENT_VERSION where PRODUCT like 'Oracle%'. It returns the version number, but with this query no rows are returned in Personal Edition because the product name does not begin with 'Oracle' (Personal Oracle Database 10g).
I found a workaround in redefining the definition of the view SYS.PRODUCT_COMPONENT_VERSION so that it returns 'Oracle Database 10g Personal Edition' for the database component. The deployment manager will then find the correct number, and you can deploy just as you would with Enterprise Edition.
Statement used to redefine the view:
create or replace view sys.product_component_version as
(select
substr(banner,1, instr(banner,'Version')-1) product,
substr(banner, instr(banner,'Version')+8,
instr(banner,' - ')-(instr(banner,'Version')+8)) version,
substr(banner,instr(banner,' - ')+3) status
from v$version
where instr(banner,'Version') > 0
and
((instr(banner,'Version') < instr(banner,'Release')) or
instr(banner,'Release') = 0))
union
(select
substr(banner,1, instr(banner,'Release')-1),
substr(banner, instr(banner,'Release')+8,
instr(banner,' - ')-(instr(banner,'Release')+8)),
substr(banner,instr(banner,' - ')+3)
from v$version
where instr(banner,'Release') > 0
and
instr(banner,'Release') < instr(banner,' - ')
AND BANNER NOT LIKE '%Database%')
union
(select
'Oracle Database 10g Personal Edition',
substr(banner, instr(banner,'Release')+8,
instr(banner,' - ')-(instr(banner,'Release')+8)),
substr(banner,instr(banner,' - ')+3)
from v$version
where instr(banner,'Release') > 0
and
instr(banner,'Release') < instr(banner,' - '))
Regards,
Marko BikkerSee Oracle Database Express Edition License Agreement
-
CRS with standard edition.
Hi All,
Need your help...
We have a setup of RAC 10gR1 with enterprise edition 2 nodes on SUN solaris 5.9.
How to setup RAC 10gR1 with STANDARD EDITION on the same 2 node without disturbing the current setup of enterprised EDITION.
Any doc or any ideas will much be apreciated.
Is there any possibilities to install the rdbms with the help of same CRS ...
Thanks in Advance. Please help me out guys.
Regards
Message was edited by:
user625868Review the docs at http://www.oracle.com/pls/db102/portal.portal_db?selected=16
Realize as well that you can only have one ASM per host. If you want to have ASM in a separate HOME, you will need to do that first, stop the existing ASM, and fire up the new one.
For transportable tablespace, according to Oracle's Licensing document, it is an EE-only feature.
(As for 'my assistance': ask a question for each problem you hit. I may or may not be available, but probably someone will pick up the question if you include the OS/DB version and show your work.) -
PL/SQL AQ notification works in XE but not in our Enterprise Edition
Hello,
I am trying to get a Queue up and working and have ran through several examples, but I cannot get the Notify to work in our development environment but it works just fine in my local XE instance.
Below is the code that WORKS in XE but does not call the procedure in the Enterprise Edition of Oracle:\
Please note I may manually DBMS_AQ.DEQUEUE the queued item -- that works just fine, but the intent is the have it notify the procedure (this is still hashing out this technology so keep that in mind during critiquing).
What is different between XE and Enterprise Edition in these regards or what is it I should check?
(I got the job_queue_processes increased as noted in the below)
GRANT EXECUTE ON dbms_aq TO aq;
GRANT EXECUTE ON dbms_aqadm TO aq;
GRANT CONNECT, RESOURCE, aq_administrator_role TO aq;
begin
dbms_aqadm.grant_system_privilege('ENQUEUE_ANY','aq',FALSE);
dbms_aqadm.grant_system_privilege('DEQUEUE_ANY','aq',FALSE);
commit;
end;
drop procedure demo_queue_callback_procedure;
BEGIN
DBMS_AQADM.STop_QUEUE ( queue_name => 'aq.streams_queue_1' );
DBMS_AQADM.DROP_QUEUE ( queue_name => 'aq.streams_queue_1' );
DBMS_AQADM.DROP_QUEUE_TABLE ( queue_table => 'aq.streams_queue_1_table'
,FORCE =>TRUE );
END;
BEGIN
DBMS_AQADM.CREATE_QUEUE_TABLE (
queue_table => 'aq.streams_queue_1_table'
,queue_payload_type => 'aq.APP_INFO'
,multiple_consumers => TRUE );
DBMS_AQADM.CREATE_QUEUE (
queue_name => 'aq.streams_queue_1',
queue_table => 'aq.streams_queue_1_table'
DBMS_AQADM.START_QUEUE (
queue_name => 'aq.streams_queue_1'
END;
CREATE TABLE aq.queue_message_table
( message VARCHAR2(4000) , ins_date date default sysdate);
CREATE or replace PROCEDURE aq.demo_queue_callback_procedure(
context RAW,
reginfo SYS.AQ$_REG_INFO,
descr SYS.AQ$_DESCRIPTOR,
payload RAW,
payloadl NUMBER
) AS
r_dequeue_options DBMS_AQ.DEQUEUE_OPTIONS_T;
r_message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;
v_message_handle RAW(16);
o_payload aq.APP_INFO;
BEGIN
r_dequeue_options.msgid := descr.msg_id;
r_dequeue_options.consumer_name := descr.consumer_name;
DBMS_AQ.DEQUEUE(
queue_name => descr.queue_name,
dequeue_options => r_dequeue_options,
message_properties => r_message_properties,
payload => o_payload,
msgid => v_message_handle
INSERT INTO aq.queue_message_table ( message )
VALUES ( '[' || o_payload.parameter || ';' || o_payload.value || ';' || to_char(o_payload.dte,'ddMONyy:hh:mi:ss') ||']' );
COMMIT;
END;
BEGIN
DBMS_AQADM.ADD_SUBSCRIBER (
queue_name => 'aq.streams_queue_1',
subscriber => SYS.AQ$_AGENT(
'aq_queue_subscriber',
NULL,
NULL )
DBMS_AQ.REGISTER (
SYS.AQ$_REG_INFO_LIST(
SYS.AQ$_REG_INFO(
'streams_queue_1:aq_queue_subscriber',
DBMS_AQ.NAMESPACE_AQ,
'plsql://aq.demo_queue_callback_procedure',
HEXTORAW('FF')
1
END;
DECLARE
r_enqueue_options DBMS_AQ.ENQUEUE_OPTIONS_T;
r_message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;
v_message_handle RAW(16);
o_payload aq.app_info;
vreclst DBMS_AQ.AQ$_RECIPIENT_LIST_T;
BEGIN
o_payload := aq.app_info('msg4',4,sysdate);
--vreclst(1):= sys.aq$_agent('ANYONE','', null);
--r_message_properties.recipient_list:= vreclst;
DBMS_AQ.ENQUEUE(
queue_name => 'aq.streams_queue_1',
enqueue_options => r_enqueue_options,
message_properties => r_message_properties,
payload => o_payload,
msgid => v_message_handle
COMMIT;
END;
select * from aq.queue_message_table ;
SELECT *
FROM aq.aq$streams_queue_1_table;
set serveroutput on
DECLARE
r_dequeue_options DBMS_AQ.DEQUEUE_OPTIONS_T;
r_message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;
v_message_handle RAW(16);
o_payload aq.app_info;
BEGIN
--r_dequeue_options.dequeue_mode := DBMS_AQ.BROWSE;
r_dequeue_options.consumer_name := 'aq_QUEUE_SUBSCRIBER';
DBMS_AQ.DEQUEUE(
queue_name => 'aq.streams_queue_1',
dequeue_options => r_dequeue_options,
message_properties => r_message_properties,
payload => o_payload,
msgid => v_message_handle
DBMS_OUTPUT.PUT_LINE(
'*** message is [' || o_payload.parameter || ';' || o_payload.value || '] ***'
commit;
END;
select * from dba_queue_schedules ;
select * from dba_objects;
SELECT *
FROM v$parameter
WHERE name = 'aq_tm_processes'
OR name = 'job_queue_processes';
job_queue_processes = 10;
aq_tm_processes = 0;
SELECT *
FROM v$parameter
WHERE name = 'aq_tm_processes'
OR name = 'job_queue_processes';
in XE
aq_tm_processes => 0
job_queue_processes => 10
Ora Type:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
in XE
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
the
job_queue_processes => 4Got it working,
in running this
SELECT owner, queue_name, queue_table, consumer_name
FROM dba_queue_subscribersI saw that there was an initial queue consumer that was overlapping, I dropped the initial queue and recreated all and it now works. -
Hi to all,
Our company own lisence for Oracle 11g Enterprise Edition.
The software is intalled by Infrastructure people and not by any Oracle DBA.
Now we created a database and when I queried the V$version I get the below output. I think it dosent seem to be enterprise edition for me. Can you please anyone advise me what is the edition is installed in my server.
I run oracle on Windows 2003 server. Please let me know what is the edition I am currently running, as it is not display standard, enterprise I am confused.
Oracle Database 11g Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
If I need to Enterprise Edition to get installed, i need to reinstall Oracle Software with Enterprise Edition or Is by changing any parameters we can make this as enterprise edition as the installable binaries are same across for every editions right?
Please advise
Regards,
Vijayaraghavan KBut, When I tried to uninstall using Oracle Universall Installer , I see Under Oracle Home-Oracle Database 11g
I see Enterprise Edition Options 11.1.0.6.0.
What does it mean? It installed the Enterprise Edition right?
I can reinstall the oracle, but I need to know why it is showing like this.
The below one is o/p from our 10g Server. It shows Enterprise with production
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Please clarify
Regards,
Vijayaraghavan K -
FabricPath-Datacenter-Interconnection-only with Nexus 5500
Hi all,
we will interconnect 3 Datacenters in 3 different locations connected with DWDM.
The idea was to use 2x NX 5548 in each location to setup a FP Cloud between the sides.
But I am not sure, if we can use NX5500 in spine and leaf mode !
Or do we need a N7K pair as spine.
The documentation is not 100% clear at this point.
Would be great if someone can answer that ;-)
Ciao Andre!Command: show running-config vpc
!Time: Wed Sep 5 10:09:48 2012
version 5.1(3)N2(1a)
feature vpc
vpc domain 10
role priority 1024
system-priority 1024
peer-keepalive destination 10.158.100.101 source 10.158.100.100
delay restore 1
auto-recovery
fabricpath switch-id 10
ip arp synchronize
interface port-channel10
vpc peer-link
interface port-channel11
vpc 11
DCI-FP-001#
DCI-FP-001# sh run int eth 1/1
!Command: show running-config interface Ethernet1/1
!Time: Wed Sep 5 10:08:56 2012
version 5.1(3)N2(1a)
interface Ethernet1/1
description DC1-Backup, Te0/1#U
switchport mode trunk
switchport trunk allowed vlan 2-3967,4048-4093
storm-control broadcast level 3.00
storm-control multicast level 3.00
channel-group 11 mode active
DCI-FP-001# sh run int po 11
!Command: show running-config interface port-channel11
!Time: Wed Sep 5 10:09:37 2012
version 5.1(3)N2(1a)
interface port-channel11
description DC1-Backup, Po10#U
switchport mode trunk
switchport trunk allowed vlan 2-3967,4048-4093
spanning-tree port type normal
spanning-tree guard root
spanning-tree bpdufilter disable
storm-control broadcast level 3.00
storm-control multicast level 3.00
vpc 11
DCI-FP-001# sh vpc
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 10
vPC+ switch id : 10
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
vPC fabricpath status : peer is reachable through fabricpath
Configuration consistency status: success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : primary
Number of vPCs configured : 1
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
vPC Peer-link status
id Port Status Active vlans
1 Po10 up 2-501,2000-3499
vPC status
id Port Status Consistency Reason Active vlans vPC+ Attrib
11 Po11 up success success 2-501,2000-3 DF: Partial
499 -
Moving the online redo log files to different location
We just installed few more drives into our sandbox system and I want to move the online redo log files for better performance. We've got the SAPARCH directory moved to a different location.
Does anyone know how/where I can change the parameters so redo log files are pointed at different drives? It's not in the <b>init<SID>.ora</b> file...
Regards,
SumitHi Sumit,
The following link contains information about moving the redo logs:
http://www.stanford.edu/dept/itss/docs/oracle/9i/server.920/a96521/onlineredo.htm
Best regards,
Alwin
Maybe you are looking for
-
How do I delete unwanted music from an iPad that does not show in iTunes on the computer?
How do I delete songs from my iPad that is not in my iTunes library on my laptop? The songs appear to be from iCloud. I sync to my laptop. Show All music is off. iTunes Match is off.
-
How do I create motion for still photos/pictures. I'd like to pan/scan & zoom. Please help!
-
Is it possible to animate a symbol when dragged?
IF so can you show me how? thanks!
-
Skype out on Mac bad quality after update to Version 7.9 (746)
Hey, I've been using skype out on a subscription calling from US to US or Canada, for over 2 years now. After the latest update (on 7/1 I believe) skype out on my computer became unusable... everyone complains that they can't hear me properly. But wh
-
An informal survey: What do you think is the best software choice to continue doing small-budget pro video editing on my sweet 2011 MBP?