Problem of migration of data of characters using a whole export and import
Hi there;
I have a database in my local computer that does not support Turkish characters. My NLS_CHARACTERSET is WE8ISO8859P1, it should be changed to WE8ISO8859P9, because it supports the full Turkish characters. I would like to migrate character data using a full export and import and my strategy is the following:
1. create a full export to a network location,
2 create a new database in the local computer than NLS_CHARACTERSET is WE8ISO8859P9 (I wish NLS_TERRITORY NLS_LANGUAGE change by the way)
3 and to implement a full import of database created.
I've implemented the first step, but I could not implement the second step. I created the second step using Toad editor by clicking Create-> new database, but I can't connect to the new database. I need to connect the new database in order to perform the full import. How can I do this?
Thanks in advance.
Technical details
NLS_LANGUAGE... AMERICAN
NLS_TERRITORY... AMERICA
NLS_CURRENCY... $
NLS_ISO_CURRENCY... AMERICA
NLS_NUMERIC_CHARACTERS.,.
NLS_CHARACTERSET... WE8ISO8859P1
NLS_CALENDAR... GREGORIAN
NLS_DATE_FORMAT... DD-MON-RR
NLS_DATE_LANGUAGE... AMERICAN
NLS_SORT............................... BINARY
NLS_TIME_FORMAT... HH.MI. SSXFF AM
NLS_TIMESTAMP_FORMAT... DD-MON-RR HH.MI. SSXFF AM
NLS_TIME_TZ_FORMAT... HH.MI. SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT... DD-MON-RR HH.MI. SSXFF AM TZR
NLS_DUAL_CURRENCY... $
NLS_COMP............................... BINARY
NLS_LENGTH_SEMANTICS... BYTE
NLS_NCHAR_CONV_EXCP... FAKE
NLS_NCHAR_CHARACTERSET... AL16UTF16
NLS_RDBMS_VERSION... 10.2.0.1.0
:
First of all, if your applications run on Windows, do not use WE8ISO8859P9. Use TR8MSWIN1254.
Second, if you create a new database, the database is not necessarily immediately accessible to the outside world. I don't know of a toad, and I have no idea if it performs all necessary steps required for the new base data is visible. For example, in the toad itself, I guess you need to create a new connection that refers to the new SID of the newly created database and use this new link to connect. However, connections without a connection string using the parameter ORACLE_SID in the registry to indicate applications access which instance (database) to use. To change the database accessed with a connection string empty, you must modify the registry (unless the toad has an option to do it for you). If you want to connect without changing the registry, you need a connection string. This requires the implementation of Oracle Listener to serve the new database (unless the default configuration is used and the database registers itself with the default listener). You must also edit the tnsnames.ora file to create an alias for the new database. Net or Net Configuration Manager Wizard can help you with this.
I wonder if the database Configuration Wizard would not be a better tool to create a new Oracle databases.
Thank you
Sergiusz
Tags: Database
Similar Questions
-
I'm trying to download the trial CC, but I get error 205 cod. How can I solve this problem? A few months ago, I used the trial CC and removed.
Help creating cloud / cloud creative applications download error
http://helpx.Adobe.com/creative-cloud/KB/error-downloading-CC-apps.html
-
Tables of export and import the schema using the system user
Hello
Can someone asssit me please:
I want to export all the tables / or some tables of a schema (ETLUSER) on DB1 to ETLUSER on an other (DB2) database by using the user of the SYSTEM. The SYSTEM user has DBA privilege.
How I do what I do not know the password of ETLUSER.
Environment:
Oracle 11 g 2, AIX5
Thank you.no problem, shouldn't you password in the ETLUSER.
Start your exp or imp of the user of the systembelow, scott table dept exported and imported in the HR schema.
Oracle@oragg1 > exp tables = scott.dept file = a.dmp log = b.log
Export: Release 10.2.0.4.0 - Production on Mon Mar 19 18:58:45 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Username: System
Password:Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit
With the partitioning, Real Application Clusters, OLAP, data mining
and Real Application Testing options
Export in US7ASCII and AL16UTF16 NCHAR character set
Server uses WE8ISO8859P1 (possible character set conversion) character setAbout to export specified tables by conventional means...
Current user has changed to SCOTT
. . export the DEPT 10 exported table rowsOracle@oragg1 > imp leader = a.dmp log = bb.log fromuser = scott touser = hr
Import: Release 10.2.0.4.0 - Production on Mon Mar 19 18:58:56 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Username: System
Password:Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit
With the partitioning, Real Application Clusters, OLAP, data mining
and Real Application Testing optionsExport file created by EXPORT: V10.02.01 by conventional means
import in US7ASCII and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 (possible character set conversion) character set
*. import of SCOTT in HR objects *. .
"DEPT" table import 10 lines imported
Import completed successfully without warnings. -
Problems with export and import
I have a problem with export and import
Here's what I did...
Here is my log exportexp "'/ as sysdba'" PARFILE=parfile.txt PAFILE TABLES=user1.Table1 file=Table1_1006.dmp LOG=Table1_1006.log query="where to_char(processeddate,'YYYYMMDDHHMISS') between to_char(to_timestamp('1911-01-01 00:00:00','YYYY-MM-DD HH24:MI:SS'),'YYYYMMDDHHMISS') and to_char(to_timestamp('2011-10-06 16:46:26','YYYY-MM-DD HH24:MI:SS'),'YYYYMMDDHHMISS')"
Then I started to importset and AL16UTF16 NCHAR character set About to export specified tables via Conventional Path ... Current user changed to user1 . . exporting table Table1 16019049 rows exported EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questionable statistics. Export terminated successfully with warnings.
but I have no lines of base2/database2/rdbm15> imp "'/ as sysdba'" file=Table1_1006.dmp fromuser=user1 touser=user1 tables=Table1 log=imp_Table1_1006.log Import: Release 10.2.0.5.0 - Production on Thu Oct 6 19:57:01 2011 Copyright (c) 1982, 2007, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options Export file created by EXPORT:V10.02.01 via conventional path import done in US7ASCII character set and AL16UTF16 NCHAR character set . importing user1's objects into user1 IMP-00015: following statement failed because the object already exists: "CREATE TABLE "Table1" ("APPROVALTRACEID" VARCHAR2(64), "REQUESTOR" "EID" VARCHAR2(9), "EID" VARCHAR2(9), "FIRSTNAME" VARCHAR2(32), "LASTNAME" V" "ARCHAR2(32), "MIDDLEINITIAL" VARCHAR2(8), "TIER" VARCHAR2(3), "JOBTITLE" VA" "RCHAR2(64), "JOBCODE" VARCHAR2(10), "EMPLOYEETYPE" VARCHAR2(2), "CONTRACTOR" "TYPE" VARCHAR2(2), "EMPLOYEESTATUS" VARCHAR2(2), "COSTCENTER" VARCHAR2(10)," " "COSTCENTERDESCRIPTION" VARCHAR2(50), "CONTRACTENDINGDATE" VARCHAR2(8), "A" "CCOUNTSTATUS" VARCHAR2(2), "LOGINID" VARCHAR2(70), "APPLICATIONGROUP" VARCH" "AR2(50), "APPLICATIONNAME" VARCHAR2(50), "APPLICATIONID" VARCHAR2(12), "LEV" "EL1" VARCHAR2(512), "LEVEL2" VARCHAR2(512), "LEVEL3" VARCHAR2(512), "LEVEL4" "" VARCHAR2(512), "LEVEL5" VARCHAR2(512), "PROFILECODE" VARCHAR2(50), "PROCE" "SSEDDATE" DATE, "APPROVERMANAGEREID" VARCHAR2(9), "APPROVERMANAGERDELEGATEE" "ID" VARCHAR2(9), "APPROVERT4MANAGEREEID" VARCHAR2(9), "APPROVERT4MANAGERDEL" "EGATEEID" VARCHAR2(9), "APPROVERAPPOWNEREID" VARCHAR2(9), "APPROVERAPPOWNER" "DELEGATEEID" VARCHAR2(9), "PERFORMEREID" VARCHAR2(9), "NATIONALID" VARCHAR2" "(30), "COUNTRYCODE" VARCHAR2(9), "PASSPORTID" VARCHAR2(20), "DATEOFBIRTH" V" "ARCHAR2(15), "CITYOFBIRTH" VARCHAR2(15), "VENDORNAME" VARCHAR2(50), "VENDOR" "MANAGERNAME" VARCHAR2(50), "VENDORMANAGERID" VARCHAR2(9), "VENDORADDRESS1" " "VARCHAR2(100), "VENDORADDRESS2" VARCHAR2(100), "VENDORSTATEPROVINCE" VARCHA" "R2(15), "VENDORCOUNTRYCODE" VARCHAR2(9), "VENDORZIPPOSTALCODE" VARCHAR2(9))" " PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 4076863488 " "NEXT 1048576 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) " " LOGGING NOCOMPRESS" Import terminated successfully with warnings.
[server1]database2 /database2/rdbm15> sqlplus / as sysdba SQL*Plus: Release 10.2.0.5.0 - Production on Thu Oct 6 19:59:17 2011 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select count(*) from user1.Table1; COUNT(*) ---------- 0 SQL> exit
Published by: user3636719 on October 6, 2011 17:23SQL> select * from v$version; BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi PL/SQL Release 10.2.0.5.0 - Production CORE 10.2.0.5.0 Production TNS for HPUX: Version 10.2.0.5.0 - Production NLSRTL Version 10.2.0.5.0 - Production
could ignore = y, and then try again. It should work
Concerning
Julien -
where are my data after the use of Dell backup and recovery
Three check marks displayed on a Dell backup and recovery, which, I suppose, finishing meant that my backup was successful (using Windows on a Dell Inspiron 8.1). Where my data is sent to after the use of Dell backup and recovery?
Click on the 02:22 mark of the video.
-
Impossible to add date in dumpfile using a file &; export
Hi all
OS = SOLARIS SPARC 64-bit 11
DB = Oracle 12 c
I am planning a daily backup of the database using cron tasks, do I have to create a simple script. In this script, I will inaugurate the export dump using parameter files. The dump file must contain the date of the backup.
Since this is my first time this is done, I was looking around and found a method on the date of the addition in the dump file. But I still couldn't it works when I get home all in a parfile.
At first, I tried to run the backup without using the nominal file, and it works as below.
export ORACLE_SID = ELMTEST
Export mydate = "date"+ %Y %m %d"'"
echo $mydate
20141117
oraelm@hrmdbd01:/backup/Elm$ expdp system/manager@ELMTEST directory dpump_dir1 dumpfile = hrtestexp_ = $ {mydate} .dmp nologfile = y
Export: Release 12.1.0.1.0 - Production on Mon Nov 17 11:15:38 2014
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production database
With partitioning, Automatic Storage Management, OLAP, analytical advanced
and Real Application Testing options
Start "SYSTEM". "" SYS_EXPORT_SCHEMA_01 ": directory of system/***@ELMTEST = dpump_dir1 = hrtestexp_20141117.dmp nologfile dumpfile = y
Current estimation using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 0 KB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Object type SCHEMA_EXPORT/SYNONYM/SYNONYM of treatment
Object type SCHEMA_EXPORT/TABLE/TABLE processing
Object type SCHEMA_EXPORT/TABLE/COMMENT of treatment
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/treatment
Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment
Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment
Object type SCHEMA_EXPORT/STATISTICS/MARKER of treatment
Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
Main table 'SYSTEM '. "" SYS_EXPORT_SCHEMA_01 "properly load/unloaded
******************************************************************************
Empty the file system set. SYS_EXPORT_SCHEMA_01 is:
/Backup/Elm/hrtestexp_20141117.dmp
Work 'SYSTEM '. "" SYS_EXPORT_SCHEMA_01 "completed Mon Nov 17 11:16:39 2014 elapsed 0 00:00:59
However when I came all in my parameter file it failed.
UserID=System/Manager@ELMTEST
Directory = dpump_dir1
dumpfile = hrtestexp_$ {mydate} .dmp
logfile = test_exp.log
Export: Release 12.1.0.1.0 - Production on Mon Nov 17 11:18:25 2014
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production database
With partitioning, Automatic Storage Management, OLAP, analytical advanced
and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39157: Error adding extension to file ' hrtestexp_$ {mydate} .dmp ".
ORA-07225: sldext: translation error, impossible to expand file name.
Additional information: 7217
Can someone help me on this please?
Thank you very much
Jason
To expand a bit on Richard to answer...
The reason why it works on the command line, not in the file because the command line itself is processed by the processor of the shell. The shell bed processor line, performs substitutions (like your $mydate) environment variables and THEN load the requested executable (expdp) it passing the fully expanded command line.
On the other hand, him parfile is read and processed ONLY by expdp, which knows no substitution of environment variables.
There are several common ways to deal with this.
We have to leave everything right on the command line.
Another would be to have the shell script to write the nominal file as well:
export ORACLE_SID = ELMTEST
Export mydate = "date"+ %Y %m %d"'"
echo $mydate
20141117
export parfile = myparfile.txt
Directory = dpump_dir1 echo > $parfile
dumpfile = hrtestexp_ echo $ {mydate} .dmp > $parfile
echo nologfile = y > $parfile
oraelm@hrmdbd01:/backup/Elm$ system/manager@ELMTEST expdp parfile = $parfile
Another technique is to use the redirection of input:
oraelm@hrmdbd01:/backup/Elm$ expdp system/manager@ELMTEST<>
Directory = dpump_dir1
dumpfile = hrtestexp_$ {mydate} .dmp
nologfile = y
MOE
A few other comments
First of all, as already pointed out, the export is not a backup, at least not a physical backup. To use export for recovery, you must first have a working database. It will be no help if you have a failure of a support on a data file.
Second, you really need to capture a log file, rather than nologfile = y. This log file can be valuable in any number of situations. Why in the world would you delete?
-
Export and import of data fails
Hello
Import and export data fails. Sometimes, the application crashes when I try to import data. The error I get when you import data by using a rules file is
Rule reading information SQL for the database [Rev_FLA]
Rule of reading of the purpose of the database rule [Rev_FLA]
Active parallel loading: [1] block to prepare the discussions, block [1] write discussions.
Cannot allocate memory aligned to [pMemByte] in [adDatGetFreeBuffer].
Reduce the memory pages cache [3996] to [1545] the lack of virtual memory.
[0x1004a (0x4e576783.0x92ba8)] transaction abandoned due to the State [1130203].
Data Load Transaction abandoned with error [1130203]
Unexpected error Essbase 1003050
The error in the application log is
[Fri August 26 14:59:29 2011] Local/Plan_UAT/Rev_FLA/HypUser/25336/Info (1013166)
[Import] received command of the user [HypUser] [L_RevFLA.rul]
[Fri August 26 14:59:29 2011] Local/Plan_UAT/Rev_FLA/HypUser/25336/Info (1003040)
Active parallel loading: [1] block to prepare the discussions, block [1] write discussions.
[Fri August 26 14:59:30 2011] Local/Plan_UAT/Rev_FLA/HypUser/22716/Info (1008139)
Cannot allocate memory aligned to [pMemByte] in [adDatGetFreeBuffer].
[Fri August 26 14:59:30 2011] Local/Plan_UAT/Rev_FLA/HypUser/22716/Info (1006064)
Reduce the memory pages cache [3996] to [1545] the lack of virtual memory.
[Fri August 26 14:59:39 2011] Local/Plan_UAT/Rev_FLA/HypUser/22716/Warning (1080014)
[0x1004a (0x4e576783.0x92ba8)] transaction abandoned due to the State [1130203].
[Fri August 26 14:59:41 2011] Local/Plan_UAT/Rev_FLA/HypUser/25336/Error (1003050)
Data Load Transaction abandoned with error [1130203]
[Fri August 26 14:59:41 2011] Local/Plan_UAT/Rev_FLA/HypUser/25336/Info (1003037)
Updated load cells [1.52368e + 007] data
[Fri August 26 14:59:41 2011] Local/Plan_UAT/Rev_FLA/HypUser/25336/Error (1013289)
Command [Import] failed due to memory allocation failure
What am I supposed to do? This happens in all three cubes of the application I. In all three cubes, cache data and Index are set to 0.5 GB and the server RAM is 64 GB.
The size of the file I am trying to import is not more than 0.5 GB.
Kind regards
Brig.You should check how much memory consumes your request, if it's 32-bit windows, which will be less than 2 GB.
It seems he requires more than 2 GB and cannot attack more, the combination of the caches for all databases in the application could take to the maximum, and when the application requires more memory, you do not find on the operating system.See you soon
John
http://John-Goodwin.blogspot.com/ -
Export and import in Data warehouse
Hello
I built a warehouse project data with a few dimensions and a cube on a server machine, say server1. Now I have another server computer on which I want to develop this project for bulk production.
I want to import all the developments of server1 to new server machine, say server2, to save my time. I exported the data to the server server1 using the export feature and import the same file to server2 by using the import function. My question is...
Is it possible to use all the imported objects like cube, dimension, maps, tables and sequences in the same way to server2 that I used to server1. If yes then what are the necessary settings, I did. ??? because imported ratings are not able to deploy in the new machine to server2 of various errors specific location not valid and not valid errors for mapping and the dimensions of the table.
Thanks in advance
ImranYes
-
Export and import using named pipes
Hai,
I need a clarification to the export, import and compress dumps using named pipes. I use Oracle 9i RAC 9.2.0.4 in AIX 5.3. Every month I have to move the list of tables in a database to a different database after shocks of export. The list of activities made by me at the present time are given below.
1 account export and gziping file dump at the same time by using named pipes.
2. to unzip and import into database using named pipes second.
We do the compress for space constraints. Now my doubt is if using named pipes, we can make two import operations and compress the dump file at the same time. That is to say, at the time of export, using channels named, I need the import into the database in another and compress the zip file. Is this possible?mknod exp.out p
mknod imp.inp p
owner of dbadmin/admindb queue = exp.out exp = scott log = export.log statistics = none &
gzip < exp.out=""> a.dmp.gz
IMP file = imp.inp dbadmin/admindb fromuser = scott touser = foobar log = import.log &
gunzip < a.dmp.gz=""> imp.inp
RM exp.out
RM imp.inp -
Hi team,
I'm new to OAF and works on a requirement to add some custom validation when the user clicks a button in a seeded standard page.
The approach I took was to extend the seeded controller object managed this press event button and put my custom logic in the extended controller and substitute the standard controller through customization.
The standard rate which was pressing the Complete button A Page, the user was taken to the next and epepinee page (Page B) some operations based on records that have been chosen Page A.
Part of the custom validation requirement that was if some postings were not met, the user must be a pop-up asking if they really wanted to move forward and if they have selected Yes then continue with the seeded standard flow (transition to page B) and if they have NOT selected then just remain on the current page.
I have used OADialogPage and to do this, in part, the question , I am running into is that when the user selects one or more records using a check box in a region of several record (table) and click the full page and if the validation fails then a modal page and the user made a selection i.e.either Yes or no modal page and when they return to the calling page (ex. Page A), all data (records) they chose previously is lost (the Page is refreshed). Based on what I see on this forum, I suspect it's because after having click Yes on the modal page and then return to the original page the processRequest fires again and the VO data is queried again and has all the parts on the page are lost. Since I am changing the flow in seedlings pages based on the intervention of the user I'm confused as to how this problem can be solved. that is, prevent the page refreshes or preserve the selections that were made before you navigate to modal page. Any help is really appreciated!
My Code:
' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)
...
...
If (oapagecontext.getParameter ("completeOps")! = null) {}
...
...
If (warnCount > 0) {}
OAException message = new OAException ("not in order...", OAException.WARNING);
oapagecontext.putDialogMessage (message);
OAException message = new OAException ("XYZ Violated rule. Do you want to continue? ", OAException.WARNING);
DialogPage OADialogPage = new OADialogPage (OAException.WARNING, message, null, "","");
String Yes = oapagecontext.getMessage ("AK", "FWK_TBX_T_YES", null);
String number = oapagecontext.getMessage ("AK", "FWK_TBX_T_NO", null);
dialogPage.setOkButtonItemName ("ConYesButton");
dialogPage.setNoButtonItemName ("ConNoButton");
dialogPage.setOkButtonToPost (true);
dialogPage.setNoButtonToPost (true);
dialogPage.setPostToCallingPage (true);
dialogPage.setOkButtonLabel (yes);
dialogPage.setNoButtonLabel (no);
oapagecontext.redirectToDialogPage (dialogPage);
}
If (oapagecontext.getParameter ("ConYesButton")! = null) {}
Write Yes button Action code
oapagecontext.putParameter ("completeOps", "Continue");
}
If (oapagecontext.getParameter ("ConNoButton")! = null) {}
Write the code of the Action for the No button
Dim errormsg = ' rule Violations have occurred. "
throw new OAException (errormsg);
}
super.processFormRequest (oapagecontext, oawebbean);
}
I managed to work around this problem by adding a simple control in my controller processRequest method extended to avoid the call to super.processRequest incase lhen control returns to the page once the user has made a selection on the Page of the dialog box
If ((oapagecontext. (GetParameter ("ConYesButton") == null) & (oapagecontext.getParameter ("ConNoButton") == null)) {}
super.processRequest (oapagecontext, oawebbean);
}
Thank you!
-
Problem with the archive log when you use RMAN for backup and restore (11g 2)
Hello world
Please help me solve this problem.
I'm just beginner in Oracle Database (11 g 2). Today, I had a problem, I tried to back up and restore my db by RMAN. I delete all the files in /u01/app/oracle/oradata/orcl / * , then I restore them easily, but the point is I have a table, I can restore Hungarian, but cannot restore anything ranks in it (something wrong with step restore database). I'll tell the detail below.
-First, I create a 'Day' with command table create table hr.day (varchar (20)) day. Then I backup complete by this:run{
allocate channel bkp device type DISK FORMAT '/u01/backup/DB_FULL_%d_%T_s%s_p%p' ;
backup as compressed backupset incremental level 0 tag 'DB_FULL' database include current controlfile;
backup as compressed backupset tag 'ARCL_BKP_FULL' archivelog all delete input;
crosscheck archivelog all;
crosscheck backup;
delete noprompt obsolete;
release channel bkp;
}
D ' other hand, I have insert 'Monday' to table. then do an incremental backup by this:run{
allocate channel bkp device type DISK FORMAT '/u01/backup/DB_INC_%d_%T_s%s_p%p' ;
backup as compressed backupset incremental level 1 tag 'DB_INC' database include current controlfile;
backup as compressed backupset tag 'ARCL_BKP_INC' archivelog all delete input;
crosscheck archivelog all;
crosscheck backup;
delete noprompt obsolete;
release channel bkp;
}Repeat 7 times (Monday-> Saturday). And I got these files:
[oracle@rac ~]$ ls -l /u01/backup/
total 400280
-rw-r----- 1 oracle oinstall 10158080 Jan 20 07:23 c-1428943247-20160120-01
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:04 c-1428943247-20160120-02
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:05 c-1428943247-20160120-03
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:06 c-1428943247-20160120-04
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:08 c-1428943247-20160120-05
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:08 c-1428943247-20160120-06
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:09 c-1428943247-20160120-07
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:32 c-1428943247-20160120-08
-rw-r----- 1 oracle oinstall 296337408 Jan 20 07:23 DB_FULL_ORCL_20160120_s89_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 07:23 DB_FULL_ORCL_20160120_s90_p1
-rw-r----- 1 oracle oinstall 2266624 Jan 20 07:23 DB_FULL_ORCL_20160120_s91_p1
-rw-r----- 1 oracle oinstall 4073984 Jan 20 07:23 DB_FULL_ORCL_20160120_s92_p1
-rw-r----- 1 oracle oinstall 11201536 Jan 20 07:23 DB_FULL_ORCL_20160120_s93_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:05 DB_INC_ORCL_20160120_s100_p1
-rw-r----- 1 oracle oinstall 146944 Jan 20 08:05 DB_INC_ORCL_20160120_s101_p1
-rw-r----- 1 oracle oinstall 884736 Jan 20 08:06 DB_INC_ORCL_20160120_s103_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:06 DB_INC_ORCL_20160120_s104_p1
-rw-r----- 1 oracle oinstall 82432 Jan 20 08:06 DB_INC_ORCL_20160120_s105_p1
-rw-r----- 1 oracle oinstall 294912 Jan 20 08:07 DB_INC_ORCL_20160120_s107_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:07 DB_INC_ORCL_20160120_s108_p1
-rw-r----- 1 oracle oinstall 18944 Jan 20 08:08 DB_INC_ORCL_20160120_s109_p1
-rw-r----- 1 oracle oinstall 155648 Jan 20 08:08 DB_INC_ORCL_20160120_s111_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:08 DB_INC_ORCL_20160120_s112_p1
-rw-r----- 1 oracle oinstall 131584 Jan 20 08:08 DB_INC_ORCL_20160120_s113_p1
-rw-r----- 1 oracle oinstall 647168 Jan 20 08:09 DB_INC_ORCL_20160120_s115_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:09 DB_INC_ORCL_20160120_s116_p1
-rw-r----- 1 oracle oinstall 8704 Jan 20 08:09 DB_INC_ORCL_20160120_s117_p1
-rw-r----- 1 oracle oinstall 2203648 Jan 20 08:04 DB_INC_ORCL_20160120_s95_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:04 DB_INC_ORCL_20160120_s96_p1
-rw-r----- 1 oracle oinstall 1899008 Jan 20 08:04 DB_INC_ORCL_20160120_s97_p1
-rw-r----- 1 oracle oinstall 327680 Jan 20 08:05 DB_INC_ORCL_20160120_s99_p1And
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
------- -- -- - ----------- --------------- ------- ------- ---------- ---
80 B 0 A DISK 20-JAN-16 1 1 YES DB_FULL
81 B 0 A DISK 20-JAN-16 1 1 YES DB_FULL
82 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
83 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
84 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
85 B F A DISK 20-JAN-16 1 1 NO TAG20160120T072332
86 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
87 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
88 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
89 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080440
90 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
91 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
92 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
93 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080545
94 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
95 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
96 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
97 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080657
98 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
99 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
100 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
101 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080801
102 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
103 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
104 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
105 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080844
106 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
107 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
108 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INCMy configuration of rman:
RMAN> show all;
RMAN configuration parameters for database with db_unique_name ORCL are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/backup/%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/backup/backup_df%t_s%s_s%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome/dbs/snapcf_orcl.f'; # default- Thirdly, i removed all file in /u01/app/oracle/oradata/orcl/*. then restore control file from the newest backup control file (saturday backup) + restore database. Seem nothing's wrong here.
RMAN> restore controlfile from '/u01/backup/c-1428943247-20160120-08';
Starting restore at 20-JAN-16
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=18 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=20 device type=DISK
channel ORA_DISK_2: skipped, AUTOBACKUP already found
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:09
output file name=/u01/app/oracle/oradata/orcl/control01.ctl
output file name=/u01/app/oracle/flash_recovery_area/orcl/control02.ctl
Finished restore at 20-JAN-16
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
released channel: ORA_DISK_2
RMAN> restore database;
Starting restore at 20-JAN-16
Starting implicit crosscheck backup at 20-JAN-16
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=20 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=18 device type=DISK
Crosschecked 29 objects
Finished implicit crosscheck backup at 20-JAN-16
Starting implicit crosscheck copy at 20-JAN-16
using channel ORA_DISK_1
using channel ORA_DISK_2
Finished implicit crosscheck copy at 20-JAN-16
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
using channel ORA_DISK_2
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf
channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf
channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/users01.dbf
channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf
channel ORA_DISK_1: reading from backup piece /u01/backup/DB_FULL_ORCL_20160120_s89_p1
channel ORA_DISK_1: piece handle=/u01/backup/DB_FULL_ORCL_20160120_s89_p1 tag=DB_FULL
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:01:15
Finished restore at 20-JAN-16-Fourth, the problem here, I got the database;
.. .every oky until this line...starting media recovery
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=15
channel ORA_DISK_1: reading from backup piece /u01/backup/DB_INC_ORCL_20160120_s117_p1
channel ORA_DISK_1: piece handle=/u01/backup/DB_INC_ORCL_20160120_s117_p1 tag=ARCL_BKP_INC
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2016_01_20/o1_mf_1_15_c9xsyx9k_.arc thread=1 sequence=15
unable to find archived log
archived log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/20/2016 08:50:22RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 1205841
The error said that it is impossible to find the archived log thread = 1 sequence = 1. Then I check it with this command always there (oh, I'm wrong?)RMAN> list backup of archivelog all;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
82 2.16M DISK 00:00:00 20-JAN-16
BP Key: 82 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s91_p1
List of Archived Logs in backup set 82
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 1 1154833 20-JAN-16 1177422 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
83 3.88M DISK 00:00:00 20-JAN-16
BP Key: 83 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s92_p1
List of Archived Logs in backup set 83
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 1 1162729 20-JAN-16 1188784 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
84 10.68M DISK 00:00:01 20-JAN-16
BP Key: 84 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s93_p1
List of Archived Logs in backup set 84
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 2 1177422 20-JAN-16 1201833 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
88 1.81M DISK 00:00:01 20-JAN-16
BP Key: 88 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s97_p1
List of Archived Logs in backup set 88
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 3 1201833 20-JAN-16 1204844 20-JAN-16
1 4 1204844 20-JAN-16 1204893 20-JAN-16
1 5 1204893 20-JAN-16 1204958 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
92 143.00K DISK 00:00:00 20-JAN-16
BP Key: 92 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s101_p1
List of Archived Logs in backup set 92
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 6 1204958 20-JAN-16 1205034 20-JAN-16
1 7 1205034 20-JAN-16 1205253 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
96 80.00K DISK 00:00:00 20-JAN-16
BP Key: 96 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s105_p1
List of Archived Logs in backup set 96
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 8 1205253 20-JAN-16 1205354 20-JAN-16
1 9 1205354 20-JAN-16 1205433 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
100 18.00K DISK 00:00:00 20-JAN-16
BP Key: 100 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s109_p1
List of Archived Logs in backup set 100
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 10 1205433 20-JAN-16 1205519 20-JAN-16
1 11 1205519 20-JAN-16 1205559 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
104 128.00K DISK 00:00:00 20-JAN-16
BP Key: 104 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s113_p1
List of Archived Logs in backup set 104
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 12 1205559 20-JAN-16 1205624 20-JAN-16
1 13 1205624 20-JAN-16 1205739 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
108 8.00K DISK 00:00:00 20-JAN-16
BP Key: 108 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s117_p1
List of Archived Logs in backup set 108
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 14 1205739 20-JAN-16 1205796 20-JAN-16
1 15 1205796 20-JAN-16 1205840 20-JAN-16
If i ignore it and open the database, just my table in full backup come back but rows was not restored. I'm sure the problem is my archive log backup but i don't know how to solve it. Plz help me.Sorry for a long post.
> 1 and from the 1205841 SNA sequence
The SCN that indicates Oracle is above the range of SNA that you have in the ArchiveLog backups for sequence 1 to 15 (15 sequence ends at 1205840).
The message
channel ORA_DISK_1: restoring archives Journal
Archives journal thread = 1 sequence = 15
channel ORA_DISK_1: backup/u01/backup/DB_INC_ORCL_20160120_s117_p1 piece reading
channel ORA_DISK_1: piece handle = / u01/backup/DB_INC_ORCL_20160120_s117_p1 tag = ARCL_BKP_INC
indicates that he has restored the sequence up to 15
You can check the log file alert database instance for messages on the fact of recovery.
He is now asking sequence #1 it seems you did a RESETLOGS after sequence #15.
Note: If you have NOT issued a COMMIT after the line is INSERTED in the table 'Day', the recovery of the database will have no * transactions * to retrieve. An uncomitted transaction is cancelled.
Hemant K Collette
-
all export and import and the data files location
Hi guys,.
can someone please confirm...
If I export the entire base and my X tablespace uses the loc * 1 data file * / test1.dbf, in the database where I matters now in the data file is in loc * 2 * / test1.dbf, it does make a difference and the data gets imported correctly, Yes?If I export the entire base and my X tablespace uses the loc * 1 data file * / test1.dbf, in the database where I matters now in the data file is in loc * 2 * / test1.dbf, it does make a difference and the data gets imported correctly, Yes?
No, it makes no difference and the import of the data correctly.
-
shape paths after using the opacity mask and import to photoshop
Okie dokie people help me here. In which case it is important
MacBook
OSX lion
HAVE CS5
I created this logo in Illustrator. I did my Masters with a pen tool, put a grunge texture of vector on the top of the forms and then used "make opacity mask" for my grunge effect. As you can see in the screenshot of my illy is all very clean and looking like it should. When you open my other photo you can see that as soon as I transferred (cmd + cmd copy + paste) the logo in PS you can now see pale lines where the forms used to be * highlighted in red *. I also tried place the .ai file in ps, but got the same effect. I use all colors pantone on the logo, the two documents are placed at 300 dpi... uh I don't see anything else. PS is in RGB, Illustrator is CMYK (but using Pantone)
What gives, how do I get my logo to look in PS as well as in Illustrator?
Simple. Your opacity mask black is dark gray.
-
migration of data from 10.2 to 9.2 problem
Hello
When the oracle data is migrated from 9.2 to 10.2, there are new 10.2 as new tablespace SYSAUX available and many new features. How to export data from 10.2 to 9.2 with import/export manual orders? I tried to use 9.2 export utility to export data from 10.2 and imported in 9.2. But tereminated with error not available sysaux tablespace in 9.2 to import.
Help, please.
Published by: user2319345 on August 18, 2009 07:16After the complete export and import settings used.
Diagrams how you are interested to import into a 9.2 10.2 database export?
Why not use parameter TOUSER, FROMUSER? -
Data accidentally deleted using the command replace the datapump
All,
I exported 2 partitions of a table using the pump data to the following address:
expdp User1/password1 directory = DPUMP_DIR tables = tab1:P27, tab1:P28 logfile = tab1.log dumpfile = tab1_27_28.dmp
I moved the dump to the staging file and tried to import with the following command:
Impdp User1/password1 directory = DPUMP_DIR tables = tab1:P27, tab1:P28 = tab1.log = tab1_27_28.dmp = table_exists_action dumpfile logfile APPEND
When I run the above command, I got the following error:
ORA-31696: unable to import/export TABLE_DATA: "VOP. "' R_REQUEST ': 'P28. "' P28_RN ' using client specified AUT
I checked this on the Oracle Support Web site and got the following advie:
=====================================================
+ * < moderator edit - content removed from MOS Doc - please do not post content of MOS Docs - this is a violation of your Support contract > * +.
=================================================================================
I then proceeded to use table_exists_action = replace (thinking he would only replace the 2 were specified).
With the help of table_exists_action = replace deleted lines of all others were leaving and loaded the 2 partitions that I exported.
I tried to recover data using the command below lodt, but it did not work:
SQL > flashback table user1.tab1 timestamp (systimestamp - interval minute '120');
I have enable row movement and we always had enabled flashback:
db_flashback_retention_target around 1440
Does anyone know how I could have consulted lost data without having to export and import the entire table (which is almost 1 terabyte)If your database in archivelog mode? If so you can try to make CAMILLE
Maybe you are looking for
-
EliteBook 2560p: how to clear the BIOS HP Elite 2560p admin password?
Bought a second hand Hp Elitebook 2560p just two weeks ago only to find out that there is a password for wood. The one with the idea od how do I clear the bios admin password?
-
Downgrade 17-e137cl of 8.1 of Windows to Windows 7 for Paul_Tikkanen
I'm back Paul, How to downgrade my laptop 17-e137cl for Win 7? Where can I get a copy of Windows 7 OEM and if you can please give me the links for the drivers. Thank you!
-
HP pavilion g7 processor upgrade
I try to update my laptop processor AMD A6 - 3420M APU to something better, but don't know which would work
-
I ran several analyzers antivirus from AVG to ODILE and none of them does not seem to get rid of this virus (Exploit: win32 / pdfjsc.dr) Any suggestions apart from simply all formatting?
-
Cannot set a primary monitor with 2 monitors
OK, here's the situation. I have two monitors, a 22 "widesceen LED and a 32" LCD screen, I have the smallest monitor connected via DVI and the cotyledon connected via HDMI. Whenever I plug the big one HDMI, he succeeded to the main screen and does no