Can a standby DR database in different datafile access path?
We are going to setup a standby DR database for the primary DB. The primary DB is in Oracle ASM. Can we setup the standby DB in regular flat file system, instead of using ASM?
Thanks,
liaison1 wrote:
We are going to setup a standby DR database for the primary DB. The primary DB is in Oracle ASM. Can we setup the standby DB in regular flat file system, instead of using ASM?
Thanks,
I've never done it, but given that it is quite possible to have a given database with some data files on ASM and others on the file system, I don't see why not.
What keeps you from testing it and see for yourself? Use VirtualBox to create two separate vm's on your desktop and build the proof-of-concept there.
Similar Messages
-
Can grid control monitor Databases on different operating systems?
I have a GC on LINUX REDHAT AS 3/4. Can I use that to monitor and administer Databases created on a SUN OS?. Can agents running on different OS talk to GC that is running on a different OS?.
If so, any limitations?. Pointers to a doc would be appreciated.
ThanksYes,
-
i am using my MS Access 2013 to connect with my oracle database. I created the odbc link and successfully have connection test pass. However i can;t link the database with my MS access. When i am using different software (mapinfo), i am able to connect to oracle database. The error is"1013: user requested cancel of current operation"
In MS access, i open the external data and select odbc. Select my odbc link created previously, enter the password and after a while the error message pop up.
But if i am using another tools, such as SQL Developer or Mapinfo, i will able to connect to oracle database using the same odbc link. -
Standby database with different directory structure
Hi,
sorry to say that we are in desupported version due to some constraint.
oracle version : 8.1.7.0.0.
os:sun 5.9
I need to create physical standby database with different directory structure:
i have created standby database with same directory structure of primary, now i have requirement to create with different directory structure.
in oracle 8i we can not give multiple parameter for db_file_name_convert(ORA-01678: parameter db_file_name_convert must be two strings, a pattern and a replacement) and i do have partitions in primary as follows:
bash-2.05$ df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 14G 5.6G 72% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 11G 40K 11G 1% /var/run
dmpfs 11G 0K 11G 0% /dev/vx/dmp
dmpfs 11G 0K 11G 0% /dev/vx/rdmp
swap 11G 656K 11G 1% /tmp
/dev/dsk/c1t0d0s3 25G 18G 6.8G 72% /oracle
/dev/vx/dsk/suportaldg/oracle1
12G 11G 1.1G 91% /oracle1
/dev/vx/dsk/suportaldg/oracle2
12G 8.1G 3.7G 69% /oracle2
/dev/vx/dsk/suportaldg/orapurge
200G 182G 17G 92% /orapurge
/dev/vx/dsk/suportaldg/oracle3
12G 10G 1.9G 85% /oracle3
/dev/vx/dsk/suportaldg/oracle4
12G 12G 58M 100% /oracle4
/dev/vx/dsk/suportaldg/oracle5
7.0G 5.9G 1.0G 86% /oracle5
/dev/vx/dsk/suportaldg/oracle6
7.0G 6.4G 564M 93% /oracle6
/dev/vx/dsk/suportaldg/oracle7
23G 23G 358M 99% /oracle7
/dev/vx/dsk/suportaldg/oracle8
13G 13G 165M 99% /oracle8
/dev/vx/dsk/suportaldg/oracle9
23G 22G 1.4G 94% /oracle9
/dev/vx/dsk/suportaldg/oracle10
12G 10.0G 1.9G 85% /oracle10
/dev/vx/dsk/suportaldg/oracle11
39G 36G 2.1G 95% /oracle11
/dev/vx/dsk/suportaldg/oracle12
39G 38G 1.1G 98% /oracle12
/dev/vx/dsk/suportaldg/oracle13
68G 65G 2.6G 97% /oracle13
/dev/vx/dsk/suportaldg/oracle14
200G 199G 1.3G 100% /oracle14
/dev/vx/dsk/suportaldg/oracle15
200G 196G 3.6G 99% /oracle15
/dev/vx/dsk/suportaldg/oracle16
70G 64G 5.5G 93% /oracle16
/dev/vx/dsk/suportaldg/oracle20
7.0G 6.4G 609M 92% /oracle20
/dev/vx/dsk/suportaldg/oracle50
28G 26G 2.0G 93% /oracle50
/dev/vx/dsk/suportaldg/oratranslog
185G 165G 19G 90% /oratranslogso how i can create standby database with different directory structure, help is appreciated.
Thanks
Edited by: prakashdba on Mar 5, 2009 11:04 PMLooks like very difficult and inform you mgmt about the drawbacks of running olderv ersions
may be you can try something like this but i dont know whether it is supported or not
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle3','/dev/vx/dsk/suportaldg/STDBY/oracle3']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle4','/dev/vx/dsk/suportaldg/STDBY/oracle4']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle5','/dev/vx/dsk/suportaldg/STDBY/oracle5'] -
Can I restore the database (clone) to different Host/User account?
Hi,
We use RMAN catalog that backup our production database using "oracle" user (OS user is "oracle") account. We wanted to clone this database to different host and to different OS user (for example is "oradev") account. Both user has same group (oradba). Can I able to restore the control fies/data files to different user account (the account that wasn't backed up).
Please update if you know of any documents/pdfs/links that explains this detail.
Thanks in advance for your assistance,
Ranga.Yes, the user account should be transparent assuming the backuppieces have the appropriate user/group permissions.
-
Can I restore another database's datafile to this database?
I have 2 database(both of them are same version Oracle10g 10.2.0.1) db10g and sdb10g. Now I lose the read-only datafile '/u01/app/oracle/oradata/db10g/example01.dbf' on the database db10g and no any backup of this file. I want to copy the datafile '/u01/app/oracle/oradata/sdb10g/example01.dbf' (another database sdb10g's datafile) to the corresponding place of database db10g and perform a recovery. Is it possible?
Can I restore another database's datafile to this database?Hi,
This will help you:
- [How move tablespaces across platforms using Transportable Tablespaces with RMAN - Note 371556.1|https://metalink.oracle.com/metalink/plsql/f?p=130:14:616534565062684573::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,371556.1,1,1,1,helvetica]
This link tell you how to do it step by step ;)
Cheers,
Francisco Munoz Alvarez
http://www.oraclenz.com -
How to calculate the size of database (a different one)
Hello Friends,
I am told to move the data from server to another machine (cloning is one very good option, I agree. But I expect a different answer regarding exports and imports). so How should I go about the task. The destination machine has got unlimited space. So thats not a problem. My questions are :
1) How should I start the task ( I generally go for studying the structures and their sizes. Is it ok ?)
2) If I am using Unix machine and there is a limitation that my server will not support file sizes of more than 2 GB, What should I do ?
3) Shall I have to go for a full database backup or fragment the task ? If I do that , there are many schemas, so it will become tedious. But full backup will exceed OS size limitation. What should be done ?
4) Is there anyway, I can go through a dump file, to find out, the database objects present inside that and note the related dependencies.
Please respond.
Regards,
Ravi Duvvuri1) They are Unix machines. So will the size problem occur(if there is a limitation). How to overcome that?
If the OS are of the same version you will have any problem. Regarding the storage only you have to have space in disk to store the datafiles, redo logs and controlfiles and nothing else.
2) I am trying Export/import measure. Though there are other good methods, I just want to explore the full capabilities of Exp/Imp
r.- Recreate the controlfiles is more effective and fast if the OS are of the same version.
3) And the oracle version is 9i 2. (If I have to perform this on 8i (both source and destination, will the methods are going to differ ?)).
R.- The method is the same for 8i/9i/10g.
How should I go about doing this export/import ?
r.- To use this method you have to have the original database started.
To recreate the controlfile without having the datafile that you mentioned you have to get out it from the CREATE CONTROLFILE sentence and that's it.
For Example: I mean, if your database has 8 datafiles and you have only 7, you have to include only 7 in the CREATE CONTROLFILE sentence.
Joel Pérez
http://otn.oracle.com/experts -
Standby DB running on different hardware if production on Exadata v2
We where looking to by Exadata v2 Database Machine, but what is stopping us are 2 things.
As per Oracle:
1) It is impossible to connect existing Fiber storage to Exadata V2 to offload archived data from primary storage.
2) Standby database can't be built on different hardware (same OS and same DB version) except exadata V2 Database Machine.
We, probably, could survive with #1 limitation, but buying second Exadata V2 database machine is too much, especially for DR side.
Is any one has experience with this problems, or knows some Doc to answer this 2 questions.
Thanks in advance.Yes it is true if you are not using Exadata hybrid columnar compression features.
"With Oracle Database 11g Release 2, the Exadata Storage Servers in the Sun Oracle Database Machine also enable new hybrid columnar compression technology that provides up to a 10 times compression ratio, with corresponding improvements in query performance. And, for pure historical data, a new archival level of hybrid columnar compression can be used that provides up to 50 times compression ratios."
When you enable this feature, you can't build standby database on different hardware. It won't work.
I am still researching what else could be a stopper or I could say, which other Exadata V2/11gR2 features I should avoid to have standby database working on non Exadata V2 hardware? -
Managed Server can not connect to Database
I have a WebLogic cluster with three managed Server on 3 different machines.
ManagedServer_1, ManagedServer_2, ManagedServer_3 (on Machine 3)
Firstly, everything is ok. But when we changed some configuration on Firewall and make the WebLogic cluster could not connect to database. 3 servers change status from Running to Warning. Then, we undo all the changes to the Firewall configuration. 3 Servers could connect to Database again but still in warning state.
It is strange that when I tried to restart ManagedServer_3. That server could not be up normally. It went to Admin state and all the datasources and connection pool could not be created. I tried to restart the machine 3 and start the server but it still failed to make server running normally.
( I made the test connecting to Database from Machine 3, everything is okie, I can got data from database, port 1521 opened )
Has anyone got the same problem and how to fix it? Is that the problem with the admin server?JDBC DataSources/Connection pools are all at Domain Level. All we do is just target the datasources to AdminServer and Entire cluster (this will take care of all managed servers in the cluster). From Weblogic Console, TEST the data sources for any firewall issues. If this works from console, check from where you are accessing the Console like within the Firewall, that can access the database server. Even though the actual application is deployed only on cluster, still I would recommend targetting the datasources to both AdminServer and Cluster.
Ravi Jegga -
Can't mount oracle database on linux system
This is same as previous posting just added
e-mail and username info fo forum posting.
I am not able to mount an Oracle database.
I am new to Oracle and am working on an Oracle8i installation on an
Intel Linux Suse 6.3 platform. I am using only one harddrive and am
not using the 4 mount points as mentioned for efficiecy purposes in
the Oracle documentation..I am using the installation cd from Oracle8i
for Linux Starter Kit by Oracle Press. If anyone has this book they
can refer to pages 41-44 for the examples I followed.
As sysdba in sqplplus using the STARTUP command I can not Mount the
database -step 2 of the 3 stage process (Start, Mount and Open the
database) of opening an Oracle database.
I show the errors I encountered when I did the first 2 of the 3 steps
in the step-by-step mode (STARTUP NOMOUNT pfile=, ALTER DATABASE
MOUNT) in the sqlplus session and alert log respectively with startup
nomount and alter database mount for this sqlplus session.
Additionally I show the init.ora file lines referring to control file
which seem to be referred to by the sqlplus error messages and the
alert.log file. Perhaps some can give me some advice as what I can try
to fix this problem.
At the end of this e-mail I added several questions I had in regard to the control
files. Any help is appreciated.
Well, here are the sqlplus session results and its alert.log file:
Oracle sqlplus session usr/oracle as sysdba
oracle@CHESTNUT:~ > sqlplus
SQL*Plus: Release 8.1.6.0.0 - Production on Mon Mar 19 20:47:49 2001
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: usr/oracle as sysdba
Connected to an idle instance.
SQL> startup nomount pfile=/usr/oracle/dbs/init.ora ;
ORACLE instance started.
Total System Global Area 24989680 bytes
Fixed Size 69616 bytes
Variable Size 24637440 bytes
Database Buffers 204800 bytes
Redo Buffers 77824 bytes
SQL> alter database mount ;
alter database mount
ERROR at line 1:
ORA-00205: error in identifying controlfile, check alert log for more
info
SQL> shutdown immediate ;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> exit
Disconnected
oracle@CHESTNUT:~ >
alert.log file for above session
Mon Mar 19 20:48:38 2001
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
LICENSE_MAX_USERS = 0
Starting up ORACLE RDBMS Version: 8.1.6.1.0.
System parameters with non-default values:
processes = 50
shared_pool_size = 3500000
control_files = ora_control1, ora_control2
db_block_buffers = 100
log_buffer = 32768
log_checkpoint_interval = 10000
db_files = 80
db_file_multiblock_read_count= 8
global_names = TRUE
db_name = DEFAULT
parallel_max_servers = 5
max_dump_file_size = 10240
PMON started with pid=2
Load Indicator not supported by OS !
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
Mon Mar 19 20:48:58 2001
alter database mount
Mon Mar 19 20:48:58 2001
ORA-00202: controlfile: 'ora_control1'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Mon Mar 19 20:49:01 2001
ORA-205 signalled during: alter database mount
Mon Mar 19 20:49:12 2001
Shutting down instance (immediate)
License high water mark = 1
Mon Mar 19 20:49:12 2001
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
archiving is disabled
init.ora control files
# define two control files by default
control_files = (ora_control1, ora_control2)
Here are my control file questions:
I need to know several points:
1) What are control files susposed to
contain and how would I recognize them?
I used the
unix find /usr/oracle \*ctl* -print
command to locate files with a ctl extension.
This resulted in about a dozen such files in
different directories as shown below:
./bin/lsnrctl
./bin/extractlib
./bin/agtctl
./bin/oidctl
./bin/lsnrctl0
./bin/agtctlO
./rdbms/demo/ulcase1.ctl
./rdbms/demo/ulcase10.ctl
./rdbms/demo/ulcase2.ctl
./rdbms/demo/ulcase3.ctl
./rdbms/demo/ulcase4.ctl
./rdbms/demo/ulcase5.ctl
./rdbms/demo/ulcase6.ctl
./rdbms/demo/ulcase7.ctl
./rdbms/demo/ulcase8.ctl
./rdbms/demo/ulcase9.ctl
./ldap/load/dn.ctl
./ldap/load/attr_store.ctl
./ord/ts/demo/tsquick/tsquick.ctl
./ord/ts/demo/usageutl/utildat.ctl
./ord/ts/demo/usage/stockdat.ctl
./ord/ts/demo/usage/stockinc.ctl
./ord/ts/demo/retrofit/sales.ctl
./ord/ts/demo/retrofit/sales2.ctl
./ord/ts/demo/applet/indexdemo.ctl
./javavm/admin/libjox8com_sun_jndi_ldap_ctl.so
./md/demo/examples/migctl.h
./md/demo/examples/migctl.c
2) On page 100 in the book Oracle 8i A Beginners's
by Oracle Press mention is made of a
CREATE CONTROLFILE command that can under
circumstances be used to re-create a control-file.
but that is all that is said about it. Perhaps
you might know something more about it.
3) Would you recommend any good text for
Oracle DBA's, especially for the problem of the sort
that I am encountering?
[email protected]
nullIt's probably not supported on RHEL5/Centos5/etc., but...
You can get the installer to function using the following steps:
- extract the cal_linux_*.tar.gz, and cd into the OracleCalendar_inst directory
In there is the actual installer, cal_linux.
- the cal_linux is shell script wrapped around some binary blobs. The installer's
problem is that Oracle is setting the LD_ASSUME_KERNEL=2.2.5 environment
variable, which is a mistake on RHEL5. You need to make it not set that variable,
but you need to do so in a way that the size of the shell script does not change at all,
and none of the binary blobs are impacted.
- the approach I took was
mv cal_linux cal_linux.BAK
sed -e 's/LD_ASSUME_KERNEL=2.2.5/LD_ASSUME_KERNEL= /g' < cal_linux.BAK > cal_linux
chmod a+rx cal_linux
cal_linux -i gui
Note: you must have exactly 5 spaces in the substitution part of the sed command, because you're replacing 5 characters (2.2.5), and the size of the shell script must not change.
If you do that, the installer should run (one warning from awk still) and you should be able to install the product.
Tim -
How can I use two database in Dataset in SSRS?
Hi,
I am using one query to generate my SSRS report. In that query I am using subquery. Now I am pulling data from multiple tales.
DB used in sub query is different than the rest of the tables DB.(So total I am using 2 DB(Database))
So I see that in SSRS, I can connect query(In DataSet Properties) to one DATA_SOURCE only, how can I use other database which is I used in sub-query?
I have to move this SSRS into PROD and I can't hard code that sub-query's DB name in my query.
Please give me suggestion. Thanks!!
VickyIn SSRS 2008 R2 you can use the Lookup function (http://technet.microsoft.com/en-us/library/ee210531.aspx ) and LookupSet function (http://technet.microsoft.com/en-us/library/ee240819.aspx
Depending on your security set up, you can reference a table in a second database on the same server using a three part name: database.schema.table. This is more likely to work for you if you wrap your SQL command in a stored procedure.
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com -
how can i import tables from a different schema into the existing relational model... to add these tables in the existing relational/logical model? plss help
note; I already have the relational/logical model ready from one schema... and I need to add few more tables to this relational/logical model
can I import the same way as I did previously??
but even if I do the same how can I add it in the model?? as the logical model has already been engineered..
please help ...
thanksHi,
Before you start, you should probably take a backup copy of your design (the .dmd file and associated folder), in case the update does not work out as you had hoped.
You need to use Import > Data Dictionary again, to start the Data Dictionary Import Wizard.
In step 1 use a suitable database connection that can access the relevant table definitions.
In step 2 select the schema (or schemas) to import. The "Import to" field in the lower left part of the main panel allows you to select which existing Relational Model to import into (or to specify that a new Relational Model is to be created).
In step 3 select the tables to import. (Note that if there are an Foreign Key constraints between the new tables and any tables you had previously imported, you should also include the previous tables, otherwise the Foreign Key constraints will not be imported.)
After the import itself has completed, the "Compare Models" dialog is displayed. This shows the differences between the model being imported and the previous state of the model, and allows you to select which changes are to be applied.
Just selecting the Merge button should apply all the additions and changes in the new import.
Having updated your Relational Model, you can then update your Logical Model. To do this you repeat the "Engineer to Logical Model". This displays the "Engineer to Logical Model" dialog, which shows the changes which will be applied to the Logical Model, and allows you to select which changes are to be applied.
Just selecting the Engineer button should apply all the additions and changes.
I hope this helps you achieve what you want.
David -
How can i recover my database after losing system data file.
hi everyone,
how can i recover my database in the following scenario.
1. offline complete backup taken 2 days ago. database was in archive mode.
2. today i lost my system data file, and also lost my all archived files.
3. i started up the database but, the following error was generated.
SQL> startup
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF'
4. i copied the system data file from backup and wrote the following statement, to recover the database.
SQL> recover datafile 1;
ORA-00279: change 2234434 generated at 07/15/2009 10:52:10 needed for thread 1
ORA-00289: suggestion : C:\B\ARC00051.001
ORA-00280: change 2234434 for thread 1 is in sequence #51
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
now i don't have any archive file. is there any chance to recover the database ?
R e g a r d s,
Asif Iqbal
Software Engineer,
Lucky Tex, Karachi,
Pakistan.now i don't have any archive file. is there any chance to recover the database ?If no archive log files are available you can't recover the datafile.You need to have all the archives from the time of offline backup was taken till the system datafile is lost.
Anand -
Oracle 11.1.0.6 - Can more than one database work of the same installation
I am in the process of setting up 3 production 11.1.0.6 databases in a RAC Linux RH4 environment (approx 40GB each in size), question is can I get all 3 databases to work of the one Oracle Database installation i.e. can all three separate database work of the same set of binaries and from the same Oracle_Home?
As far as I know the only items that will be different of those values in the tnsnames and listener files.
ThanksLets back up and clarify terms.
A 3 node RAC cluster has one (1) and only one (1) database. Three (3) instances but only one (1) database.
If you are talking about something else you need to be very clear in your description.
Assuming one database and three instances the listener and tnsnames files should be identical. And, as Oracle creates all of this during dbca installation, why is it a concern? -
How to create User and Database in different Table spaces
How to create User and Database in different Table spaces using oracle 10g
Regards
dayaI am sorry but your question does not seem to make much sense.
Can you please rephrase your question?
Maybe you are looking for
-
I recently updated my iTunes to the most recent version and I am receiving an error message when starting up iTunes: iTunes was unable to load data class information from sync services. Reconnect or try again later. (Does anyone know what this means
-
Unable to insert large blob data into DB
Hi, I have written a piece of code which serializes a java object and writes it into a blob in DB. It works pretty fine for small objects of around 3 to 4 KB size, but I start getting trouble with larger objects. Here's my piece of code - private fin
-
Update prices in ME21N (purchase order)
Hi, We need to re-calculate prices automatically when creating or modifying a purchase order taking into account changes in some pricing fields of the order. User has the standard option of updating the prices in 'condition' tab selecting the option
-
Can anyone please help me? My IP profile seems to be stuck on 2mbps I had a similar problem in August, and at that time I upgraded my home hub from 2 to 3 and my IP profile was reset. For a time I then achieved an IP profile of about 7mbps which is m
-
Hello At the time of confirmationby mistake they were marked with the "Last Delivery" botton. Those PO have some invoices posted and paid. In order to make more confirmation against those PO, how can I delete the click in the "Last Delivy" botton? Is