Change DB_FILE_NAME_CONVERT
Oracle Database 10g Enterprise EditionOracle Enterprise Linux
I am trying to learn the Dataguard configuration on my laptop. Since I created primary databases and ensures same House on the same laptop using Oracle, I need to use db_file_name_convert and Log_file_name_convert. But I can't just change parameter db_file_name_convert. I use spfile.
I get the error ORA-2096. That this setting can be changed with these options.
Can someone tell me how to change this setting.
I tried different ways,
ALTER SYSTEM SET DB_FILE_NAME_CONVERT =('ABC','XYZ') SCOPE = BOTH;
ALTER SYSTEM SET DB_FILE_NAME_CONVERT =('ABC','XYZ') SCOPE = SPFILE;
ALTER SYSTEM SET DB_FILE_NAME_CONVERT =('ABC','XYZ') SCOPE = BOTH DEFERRED;
ALTER SYSTEM SET DB_FILE_NAME_CONVERT =('ABC','XYZ') SCOPE = SPFILE DEFERRED;
Whenever I am getting error 2096.
Hello
DB_FILE_NAME_CONVERT is not editable using change control system. you will need to put in file pfile and start your db using this file.
then this is the thing you are trying to define DB_FILE_NAME_CONVERT change the db name. his evil. This is used to change the location of the data file.
Let's say your prumary data has its data in f:\oracle\datafile files. but when it comes to the standby location, you do not have this place or do not want to keep to f:\ himself. then use this setting to change the structure of database pending directory.
ex:
SQL > sho DB_FILE_NAME_CONVERT parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
db_file_name_convert H:\ORADATA\, F:\ORADATA\ chain
Anil Malkai
Tags: Database
Similar Questions
-
Hello guys,.
I have two servers:
SERVER01 Production
Server02 Standby
I have these settings in the file pfile (standby):
*.audit_file_dest='/U01/app/Oracle/admin/BD/adump '
* .audit_trail = "db".
* full = '11.2.0.0.0'
*.control_files='/data/BD/controlfile/control01.ctl','/U01/app/Oracle/flash_recovery_area/BD/control02.ctl'#restore Controlfile
* .control_management_pack_access = "DIAGNOSTIC + TUNING".
* .db_block_size = 8192
* .db_domain = "
data *.db_file_name_convert='/U01/app/Oracle/oradata/bd','/data/BD/fichier ' (change directory)
* .db_name = "bd".
*.db_recovery_file_dest='/media/ORACLE_BACKUP/Atual/FRA '
* .db_recovery_file_dest_size = 85899345920
*.diagnostic_dest='/U01/app/Oracle '
*. Dispatchers ='(Protocol=TCP) (SERVICE = bdXDB)"
*. Log_archive_dest_1 = 'LOCATION = / Media/ORACLE_BACKUP/atual/fra/BD/archivelog'
*.log_archive_format='arc_%t_%s_%r.arc'
*.log_file_name_convert='/U01/app/Oracle/oradata/bd','/data/BD/onlinelog ' (change directory)
* .open_cursors = 300
* .pga_aggregate_target = 11884560384
* runoff = 150
* .remote_login_passwordfile = "EXCLUSIVE."
* .sga_target = 1610612736
* .standby_file_management = "AUTO".
* .undo_tablespace = "UNDOTBS1.
First question:
Once the process is finished, I had create pfile from spfile, but is the same code that above...
So, what is a utility I have these commands in standby mode:
data *.db_file_name_convert='/U01/app/Oracle/oradata/bd','/data/BD/fichier ' (change directory)
*.log_file_name_convert='/U01/app/Oracle/oradata/bd','/data/BD/onlinelog ' (change directory)
??
If I can remove these commands (db_file_name_convert, log_file_name_convert - standby server) in sleep mode? some problem? How can I remove these commands?
Thank youIn Server 03 (new day), I alreadyhave/data/bd/datafile and/data/bd/onlinelog... Yes, in the case... is not necessary, I have these settings. You undertood now? I'll create the server03/data/bd/datafile and/data/bd/onlinelog, is equal to the server 02...
After that, in my view, is not necessary I have these settings. You got?
The parameters above may be omitted if the directory of the primary structure is the same in the standby mode, or if you configure settings DB_CREATE_FILE_DEST & DB_CREATE_ONLINE_LOG_DEST_n primary and secondary school with the correct values.
OK, I got it. And I give you the answer in my previous post.
In this case, you can reset or change or delete the pfile these parameters.
Kind regards
Juan M
-
RMAN duplicate grave crashes when I'm trying to change the paths of the destination
Hello community,
I am trying to duplicate a database of PROD for a test environment using the basic backup technique. I test the script in double and everything works fine when the paths of the database "auxiliary" (the database that I am creating) have the same paths as the basis of the 'target' (the database of production). If I change the paths, the double has failed because it does not find a backup of controlfile:
channel ch1: from the restore backup set data file
channel ch1: restore the control file
channel ch1: reading of the backup piece PROD_cf_c-2175092736-20151204-0 c
channel ch1: ORA-19870: error when restoring backup piece PROD_cf_c-2175092736-20151204-0 c
«"ORA-19507: failed to retrieve the sequential file, handle ="PROD_cf_c-2175092736-20151204-0 c", parms ="»
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: error received from layer media manager, error text:
< PROD_cf_c-2175092736-20151204-0 c > backup file not found in the NetBackup catalog
This is the script that works, but if I have the same structure of directories in PROD and TEST (but this isn't a real scenario):
run
{
allocate auxiliary channel ch1 device type sbt;
Send "NB_ORA_CLIENT = xxx NB_ORA_POLICY = xxx, NB_ORA_SCHED = Full_Diario';"
duplicate database for TEST PROD
until 'sysdate-2/24.
NOFILENAMECHECK;
output channel ch1.
}
And this is the script that it does not work because I have the PROD and TEST different directory structure
run
{
allocate auxiliary channel ch1 device type sbt;
Send "NB_ORA_CLIENT = xxx NB_ORA_POLICY = xxx, NB_ORA_SCHED = Full_Diario';"
duplicate database for TEST PROD
until 'sysdate-2/24.
SPFile
control_files value ' / TEST/orabd1/ctl/control_PROD_01.ctl','/TEST/oralog1/ctl/control_PROD_02.ctl','/TEST/oralog2/ctl/control_PROD_03.ctl '
db_file_name_convert value "/ PROD /", "/ TEST / '.
the value log_file_name_convert "/ PROD /", "/ TEST / '.
core_dump_dest value "/ TEST/oralog1/cdump".
the value 'TEST' db_name
Set diagnostic_dest ' /TEST/oralog2'
instance_name must bring 'TEST'.
all local_listener 'LISTENER_TEST '.
Set log_archive_dest_1 ' LOCATION = / TEST/arch.
the value of log_archive_dest_2 'LOCATION = NULL'
;
output channel ch1.
}
I tried to restore a Netbackup file and it works. I try to duplicate a database when the structures of directories are identical and it works. Why it's a failure when I change the destination paths?
Thank you!
Marina.
Hello
We had a similar problem in our shop. In our case, that we never knew if she was related to Oracle or NetBackup, but we found a Bug of Oracle, so we think it was a problem with the Oracle.
Bug 11783792 RMAN SEND command does not hold the value of the variable
Rather than send 'NB_ORA_CLIENT = DCLI, NB_ORA_POLICY is BD_DC_2, NB_ORA_SCHED = Full_Diario';.
try something like this:
Run {}
allocate channels ch01 type 'sbt_tape' PARMS 'ENV =(NB_ORA_CLIENT=DCLI) ";
Send "NB_ORA_SERV =
';" Restore settings
output channel ch01.
}
Let me know if it helps.
Kind regards
Ferran
-
ORA-02095 trying to change log_file_name_convert
Hi all
IV' just rebuilt a standby database 11 GR 2 under HP - UX (physical Guard standbyData)
In the alert, I see errors related to the location of the online redo logs.
I think that is has to do with the LOG_FILE_NAME_CONVERT parameter
I redo logs in two locations, so I should use 2 pairs of parameters to convert the path from primary to standby.
When I run: alter system set LOG_FILE_NAME_CONVERT = "/ oradata/primary", "/ oradata/sleep ', ' / FRA/primary", "/ FRA/standby" scope = both; It returns:
ORA-02095 specified initialization parameter cannot be changed.
How will I know Oracle redo log are in a different place at the backup site?
If I query v$ log mode standby, location is false, as some redo logs it displays/FRA/primary and it is and must be/FRA/standby
Thank you very muchBut I think you want "LOG_FILE_NAME_CONVERT.
See this
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/initparams112.htm
Should work the same way on 10 and 11. Would still use "ALTER SESSION".
I would try this first: (after redesign and an editing tool)
ALTER session set log_file_name_convert =
ALTER session set db_file_name_convert = (not that)
SELECT name, value, ISSES_MODIFIABLE, ISSYS_MODIFIABLE of the parameter $ v where name like '% log_file_name ';
You should be able to create a pfile your spfile file, stop
Change the setting in the file pfile
and start again from the shape of the pfile to re-create the spfile for Data Guard.
Who is?
Or scope = spfile
Might work too (less jacking autour)
Best regards
mseberg
Published by: mseberg on August 4, 2011 14:20
Published by: mseberg on August 4, 2011 14:21
-
db_file_name_convert - adding tablespace to db with logic dataguard
Not sure if I am missing something or misunderstood something.
Scenario - 11 GR 1 material db with a logical database (redhat linux)
Primary (minor syntax errors excuse I can type here)
alter dummy tablespace add datafile ' / primary/db02/oradata/PRIMARY/dummy.dbf' size 100M;
On the logic of the day before... you are looking for the tablespace to add as
/STANDBY/DB02/oradata/standby/dummy.dbf
I put db_file_name_convert
' / / db02/oradata/PRIMARY "," / Eve/db02/oradata/STANDBY.
The only error I see is that the standby cannot create tablespace/data file
' / primary/db02/oradata/PRIMARY/dummy.dbf'
It seems not yet trying to rename the directory structure to match the pending file system.
I tried to simplify using the
'primary', 'sleep', 'PRIMARY', 'STANDBY '.
etc.
Apparently not even tried to change the file names.
Any ideas? I'm wrong about what should be the db_file_name_convert?
DarylI've done some reading on your behalf manuals.
Db_file_name_convert seems not to apply to the waiting logic databases.
Standby_file_management do not apply pending logic databases.Which is more or less expect that the logical standby database reads the log file to roll forward, transformations of logs redo in SQL statements, which are not related to physical files.
----------
Sybrand Bakker
Senior Oracle DBA -
DB_FILE_NAME_CONVERT parameter does not work?
Hi all,
I recently created a database of pending of the my original database.
Details:
RHEL 2.6.9 - 42.ELsmp
DB Oracle 9.2.0 (Production DB)
Oracle Forms 8.0.6
Oracle 11i application server
When I set the parameter in the i of the file as follows:
DB_FILE_NAME_CONVERT =('/Oracle/oraprod/oaproddata','/U01/oraprod/oaproddata')
LOG_FILE_NAME_CONVERT =('/Oracle/oraprod/oaproddata','/U01/oraprod/oaproddata')
I restart the database and when he's back I check the data file setting v$ to see if the situation has changed. There can be no. I then show parameter convert and it is as follows:
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
db_file_name_convert string/oracle/oraprod/oaproddata, / u01/oraprod/oaproddata
log_file_name_convert string/oracle/oraprod/oaproddata, / u01/oraprod/oaproddata
I know that's it's okay.
So why when I the location of application files it revert to the old location?
Any help at all?
Thanks to all who responded!
JG.Hello
Yes, in the pfile file
http://www.SC.EHU.es/siwebso/KZCC/Oracle_10g_Documentacion/server.101/b10823/create_ps.htmDB_FILE_NAME_CONVERT is useful for creating a database that is duplicated for purposes of recovery. It converts the file name to a new data file on the primary database to a file name on the standby database. If you add a data file to the main database, you must add a file corresponding to the standby database. Updating the database of relief, this setting converts the name of data file on the main database the name of the data file on the standby database. The file on the standby database must exist and be writable, or the recovery process stops with an error.
Kind regards
Tom
http://asktom.cz -
After getting married, I updated my Apple ID with my new name and e-mail address. This well it worked and I can access iTunes etc but my iCloud storage is almost full and I tried to connect to improve it but it still shows my old email address and name. I can't connect to it knowing that I replaced all the details so the old account doesn't really exist, but it will not display my new address. I went in my Apple ID to see where he was always picking up the old name/e-mail since but there just my new details (as it should) and I don't see where it's always the old details. How to forget my old data. I have almost no storage iCloud and have no way to resolve this issue now.
Thank you very much
When you update the primary e-mail address on an account, you must then sign and return in everywhere that the account is used: what to do when you have changed your Apple ID email address or password - Apple support
If you are being invited for the password of the account when you try to disconnect from the iCloud on the device and the computer test: If iCloud asks you the password to your Apple ID - Apple Support previous
-
I need to change my security issues and said we do not have enough information to reset your
I need to change my security but said Questions we have insufficient information to reset security of your apple ID questions.my is [email protected] I want to slove this problem please help me
You should contact the account of Apple security team. To join, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.
(145174)
-
How to change the name of iWatch
For some reason when I bought the new iPhone 7 and complete matching, it has the wrong name. I must say my name and my husband. I have looked at everything in the watch/phone and may not know how to solve this problem. Anyone has any ideas on how to get my name back?
Thank you
J
Hello
On your iPhone, in the application of the watch, go to: Watch My > General > topic > name - change the name as desired.
-
Change of credit card deductions
I am from Pakistan. I just change my credit card information and for whom I had 1 USD charged twice within 2 minutes.
When I haven't bought anything, why me is she charged in the first place and who has also twice?Hello
When a payment card is added or updated in iTunes Store, iBooks Store, App Store or Mac App Store, we can make a request for authorization to your card issuer.
It's not a real charge, just a check to ensure that your credit card is active and can be used when you pay for your transactions.
When a temporary authorization hold is placed on your credit or debit card, it will be only for a small nominal amount. For example, in the United States, you might see a charge of $1.00 USD.
These charges will be removed automatically from your card account and shall not be paid.
More information:
Any payment holds card authorization in the iTunes Store - Apple Support
-
How can I change several download Sierra systems
How can I change several download Sierra systems? I have a Mac mini end of 2012 running El Capitan, over a mid-2010 Mac mini and MacBook Pro mid-2010 the two race Yosemite with limit of bandwidth on my internet connection and want to update all three systems in one download. Is the process that apply with Yosemite and El Capitan (ie. Copy the Setup program to another location before you run it on the download system) still the way forward? Thank you.
You can do this or DiskMaker X allows to create a key to install it.
(145170)
-
Change order number/special character artists
I would like to know if there is a way to change the order of all the artists that begin with a number or a special character order. Currently, they are all sitting at the bottom of the list of the artist on the ipod (and iTunes) but I would like to have all displays at the top of this list.
This is the sort order... I think you would need to change the names of the artists so that they start with something that gets sorted at the top of the list in alphanumeric order. For example, replace 10,000 Maniacs a_10, 000 Maniacs.
-
Setting to change the number of days to sync e-mail
Where the parameter move to if you want to change the number of days that will be synchronized to your e-mail accounts? Or he is let out iOS 10 for some reason any?
vrmcw wrote:
Where the parameter move to if you want to change the number of days that will be synchronized to your e-mail accounts? Or he is let out iOS 10 for some reason any?
account settings - sync mails - 'Exchange' on my phone - spam day-
Not an ios 10 issue that I don't have the function to my yahoo account.
Maybe you should ask your email provider.
-
Can I change the default folder for new documents Pages?
When I run the application Pages, the first thing I see is a Finder window. For some reason, this Finder window invariably opens, not with the Documents folder, but in a specific subfolder of the folder images. Sometimes I use this folder as source for the photos that I insert into documents, but I don't want to see this folder every time I run the application Pages.
How can I control this behavior? I see nothing in the preferences page to set a default value.
When you launch Pages, you will be presented with a file picker (not the actual Finder). The left sidebar will be a folder of Documents, you must select. At this point, you can simply stop Pages. He will remember to open in the last selected folder and on the content of the Document folder, you will see a file chooser. As long you open, edit, save, or export documents in the Documents folder, it will remember this folder.
If you change the location of the folder memory, whether it is in the file picker, or save or export to another location of the folder, and then the next launch of Pages will direct you to the last used folder location and not the location of the Documents folder.
There is no user parameter which can be set to always override the behavior of Pages above.
-
Every day someone is trying to connect my Iphone6. Do I have to change my password every time? How can I stop this?
Your post says that someone is trying to connect 'on' your iPhone 6 - have - they possession of the phone or they try to connect your Apple from another device ID?
Note also that there are a number of phishing scams that send e-mails that appear to come from Apple, but are not current. Do not use any links in these emails if you are not.
If they are trying only to log in instead of sign in successfully it would be not necessary to change your password. However, you can consider on for Apple ID - Apple Support two-factor authentication or frequently asked questions about check in two steps for Apple ID - Apple Support (if available) for more security.
If they are correctly connected, see: If you think that your ID Apple has been compromised - Apple supports
Maybe you are looking for
-
Satellite L750 - while playing a game or watching that a card his film turns off
HelloI have a problem with my sound card. while I play a game or watch a movie, it stops. to reactivate the sound, the only way is to enable and disable the speakers. my laptop model is L750-1LC and I downloaded the driver FOM audio conexant the Tosh
-
I have a toshiba satellite laptop A660-10W, the largest computer laptop by the many problems we do not know why! The second week of the date of purchase. I had a problem with me is 'Windows Freeze!' I don't know why, and you still get this problem wh
-
How to make a shortcut for bar in Pages? Thank you.
-
W500 display stretched after the downgrade to xp
After that my thinkpad w500 shot several times, I downgraded it to xp. Since then, my screen is stretched horizontally and said for video controller driver is missing. I downloaded here but always the same number of pilots. It's like I just can't fin
-
I have a Dell Windows 7 after downloading the critical updates, I get a message saying "Unable to connect to the internet." What should I do?