Exporting complete database
i need to export the complete database tables, procedures, functions, triggers etc from one computer to another.
i'm using Oracle XE.
and i have to import it to another computer (also using oracle XE)
any suggestions on how to do that?_
i have more than 16 tables and 12 procedures and huge amounts of data.so i cannot just move on.
Revisited:
In my case I am on
Apex 4.1 - 10Gex (Centos 5.2 - 32 bit) and want to migrate applications and data to
Apex 4.1 - 11Gex (Centos 6.3 - 64 bit)
1) Should I do anything different than suggested above?
[ I know... CentOS is not a 'Required OS':
...from the 11Gex R2 docs...
•Oracle Enterprise Linux 4 Update 7
•Oracle Enterprise Linux 5 Update 2
•Red Hat Enterprise Linux 4 Update 7
•Red Hat Enterprise Linux 5 Update 2 ]
It is basically RHEL 6.3... I have successfully used CentOS 5.2 with 10Gex even though the 'requirements' for 10Gex are RHEL 3 and RHEL4...
ya see - In order to go to 11Gex, I need a 64-bit OS...
2) I have scheduled DB backups to disk using RMAN -
Can I use those, from 10Gex to 'restore' in 11Gex?
If so - how would I go about setting up the files in what directories - and what edits would be needed in configuration?
(over and above placing everying in 11Gex where is resides in 10Gex - defaults)
Thanks
Rich
Similar Messages
-
Export complete database with InterMedia tables
Hi all,
I need to move my developement database for one schema to the same schema on another server. So I started up the "exp.exe" app and run trough the processes.
I then moved the *.dmp file to the server and started "imp.exe". All tables, grants and alike are imported successfully, except the tables which are created with Intermedia.
Is there a problem with exporting/importing tables with Intermedia columns? If so, is there a workaround? I need to have the other database rolling next week.
Thank you.I only received your reply by email notification today....
Yes, we are storing in the ORDSYS schema. This is how we have been told to store media's. From the manual it notes "Note that ALL Intermedia objects and procedures are defined in the ORDSYS schema".
Better to store them in the schema that the user is using? Will then everyhting still work (Image manipulation, etc.)? -
Is there any way to export complete PR as an XML?
hI,
Please help me to know if there is any way to export Complete PR as an XML...if its der,then how we can do it?
Also, if data is already der in database table then is it feasible to create a PR(reverse case)?
Kindly Help.
Thanks,
LinaHi
You have the opton in PR to export to XML. But I am not sure whether it suits your requirment.
Go to ME53N>Click on Export Button>Spread Sheet>Click the radion Button All Available formats>Select from Drop down SAP XML format
Hope it helps
Karthik -
I need to export, and import, a complete database, from one server to another. This is my first attempt at this.
I am doing this on Oracle 9i (both servers) - and Linux. The data file names & tablespace names on the 2 servers are different. Question 1: is this a problem ?
I tried using, the following 2 commands, but I am getting lots of privilege errors. I must be missing something. I have Googled, and one reply I saw, mentioned creating all the users, role and privileges first, before running an import. Question 2: Is this necessary ?
If so, how do I copy all the users across to the new database, with the same privileges and roles ?
Commands I tried:
exp userid=system/manager file=my_db.dmp log=my_db.log full=y
(ftp'ed dmp file to new server ... in binary mode)
imp userid=system/manager file=my_db.dmp log=imp.log full=yYou are on the same Oracle version, that's a good starting point. It is easier to clone your database, even if your datafiles are placed on different directories, you can clone it.
Copy the whole of your database file, redo logs and controlfiles to the target system.
Take note on how they were named at your source, and how they will be named at the destination.
start up (mount) your instance.
For each datafile/logfile that will be placed at a different location issue the 'ALTER DATABASE RENAME FILE ....' command.
For the controlfiles, update the parameter control_files at your instance initialization file.
Verify the values of all other parameters that require path definition, i.e. background_dump_dest, user_dump_dest, log_archive_dest_n, db_create_file_dest .... etc.
Once corrected at the mount -
Regarding - Export of database - confussion
When I am doing export my database at the end of the result shows
export "terminated" successfully completed.Any how i have no problem
in the file while i import i got 100% data.
The word "terminated" is making confussion -
what is the purpose of the word "terminated" meaning?:D Good one Howard ;)
See even with help=Y , its terminating :D
C:\>exp help=y
Export: Release 9.0.1.3.1 - Production on Fri Oct 19 11:45:23 2007
(c) Copyright 2001 Oracle Corporation. All rights reserved.
You can let Export prompt you for parameters by entering the EXP
command followed by your username/password:
Example: EXP SCOTT/TIGER
Or, you can control how Export runs by entering the EXP command followed
by various arguments. To specify parameters, you use keywords:
Format: EXP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
Keyword Description (Default) Keyword Description (Default)
USERID username/password FULL export entire file (N)
BUFFER size of data buffer OWNER list of owner usernames
FILE output files (EXPDAT.DMP) TABLES list of table names
COMPRESS import into one extent (Y) RECORDLENGTH length of IO record
GRANTS export grants (Y) INCTYPE incremental export type
INDEXES export indexes (Y) RECORD track incr. export (Y)
DIRECT direct path (N) TRIGGERS export triggers (Y)
LOG log file of screen output STATISTICS analyze objects (ESTIMATE)
ROWS export data rows (Y) PARFILE parameter filename
CONSISTENT cross-table consistency CONSTRAINTS export constraints (Y)
FEEDBACK display progress every x rows (0)
FILESIZE maximum size of each dump file
FLASHBACK_SCN SCN used to set session snapshot back to
FLASHBACK_TIME time used to get the SCN closest to the specified time
QUERY select clause used to export a subset of a table
RESUMABLE suspend when a space related error is encountered(N)
RESUMABLE_NAME text string used to identify resumable statement
RESUMABLE_TIMEOUT wait time for RESUMABLE
TTS_FULL_CHECK perform full or partial dependency check for TTS
TABLESPACES list of tablespaces to export
TRANSPORT_TABLESPACE export transportable tablespace metadata (N)
TEMPLATE template name which invokes iAS mode export
Export terminated successfully without warnings.
C:\>So no problems :)
Sidhu -
From a complete database dump, I need to import 8 schemas
I have a complete database dump made with datapump on oracle 10g on Linux.
I need to import only 8 schemas.
In my parfile I have to use the INCLUDE option?
How can I tell oracle to import only these 4 schemas?Hi,
What is the version you are using.. ??
In my parfile I have to use the INCLUDE option?
As per yu requirment it might not fit, I suppose
The INCLUDE and EXCLUDE parameters can be used to limit the export/import to specific objects.
Second thing is that when you use INCLUDE parameter only those objects specified by it will be included and EXCLUDE will make sure that all objects except those specified by it will be included in the export.
How can I tell oracle to import only these 4 schemas?
Better I suggest that import the full dB in to some test DB, then do an schema level export with respective your requirement.
As, sybrand had pointed the correct point of SCHEMAS, which I missed out..
- Pavan Kumar N
Edited by: Pavan Kumar on Nov 13, 2008 4:26 PM -
How to import complete database with all schemas
I have exported all database using system/manager in oracle 8.
Now How i can i import all database in oracle 9i with all users, Roles etc...
I tried to import "Import Entire database=y" using system manager schema but face following errors.
Schema doesn't exit, Role errors etc.....Hi,
As you are working with Old version of Oracle, then Oracle data pump would not be applicable to in order to carry out. So, in order to complete the export and import from prior version either you need to upgrade the version of Oracle so that you can make use of upgrade tools or either clone it or make sure you create required things prior to import on destination database. Further you can check Oracle support team
- Pavan Kumar N -
Error while trying to export my database using this command
Hi,
I am trying to export my database using this command :
expdp system/manager@db1 full=n schemas=kul4231 dumpfile=kul4231_20091122.dmp logfile=kul4231_20091122.log directory=dump_dir1
Error:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_SCHEMA_05 for user SYSTEM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT_INT", line 600
ORA-39080: failed to create queues "KUPC$C_1_20091122101110" and "" for Data Pump job
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPC$QUE_INT", line 1606
ORA-01008: not all variables bound
DB version : Release 10.2.0.4.0
all ideas are welcomed!!!!!!!!!!!! let me know where am i going wrong!!!!!!!
thanks in advance..!!!!!!!!
venkat.What is your SGA settings? (especially streams_pool_size).
You can try to bump streams_pool_size to 100M if your current setting is below that.
Regards
Tomasz K. -
SQL to search a field in the complete database
Hi,
I would like to know whether is it possible to search for a particular field name from the complete database?
Say, for example, I would like to search for the field value 'oxford' present anywhere in the database and in any of the tables and in any columns.
If possible, could any one help me with the sql to perform this please?
Thanks
Shivram RajamanickamOk...
searching for a values in all tables in a schema
... -
Import and export the database table
I would like to know what is the syntax of using imp.exe and exp.exe to import and export the database table?
Could anyone teach me what is the syntax and how could do the export and import in the Forms?
Thanks a loT~try: imp help=yes
Or read the documentation online on OTN. -
How can I export my database created in Oracle8 into Oracle 8i/9i..
I am running my database in Oracle8 and want to switch to Oracle8i. What procedure should I take to export my database into Oracle 8i/9i. Please help me .....
my email is [email protected]
Thanks in anticipation.
Nadeem Iqbal BhattiPlease see the Oracle8i Migration Guide for 8i migrations.
http://download.oracle.com/docs/cd/A87860_01/doc/server.817/a86632/toc.htm -
Export 500gb database size to a 100gb file system space in oracle 10g
Hi All,
Please let me the know the procedure to export 500gb database to a 100gb file system space. Please let me know the procedure.user533548 wrote:
Hi Linda,
The database version is 10g and OS is linux. Can we use filesize parameter for the export. Please advice on this.FILESIZE will limit the size of a file in case you specify multiple dumpfiles. You could also could specify multiple dump directory (in different FS) when given multiple dumpfiles.
For instance :
dumpfile=dump_dir1:file1,dump_dir2:file2,dump_dir3:file3...Nicolas. -
Java Export hangs at 'Export Java Database Content' phase
Hi All -
As part of system refresh activities,we are doing Java Export from our Production system(PE1) & we will use that export to import it in our Qulaity system(QE1).So while doing Java Export,the export gets stucks/hangs at 'Export Java Database Content" phase which is the last phase in Java Export steps.We have been doing this task since many years & we did not encounter this kind of issue ever.There are no errors or at least warnings in the logs like sapinst_dev.log,jload.log,jload.java.log,sapinst.log etc.Our environment details are as below
EP -6.0
OS - AIX 5.3,64 BIT
DB - DB2 UDB
SAPINST version - 642
Java version is below
pe1adm> java -fullversion
java full version "J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20100918 (SR13 FP6)"
Please note with the SAPINST we are using currently, the exports of remaining systems in EP & other solutions like ECC,CR,SRM,XI,BI are successfull.We are having this issue only in PE1.Looks like some bug in code.So request the experts in this forum to please take a look at it & provide me with solution if any of you have faced the similar situation.
Thanks & regards,
Nagendra.Thank you for your reply Subhash.The below is the last entry in jload.log.It is at EP_ATTR_HEADERS.While doing the Java export,we asked our DBA to monitor to find out any errors at DB side.He monitored and said that no deadlocks or no infinite loops are found.Also he said that he cannot create index for that too because it is trying to do select *.In our first 2 or 3 attempts it used to hang at CA_PRODUCTS meta data exported,CA_PROPERTY meta data exported.Now here.Our DBA said that EP_ATTR_HEADERS has 1.4M rows.We tried to bounce the entire system also,but no luck.We have the same issue.Peculiar thing is we dont see any errors or warnings in the logs.
23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
INFO: EP_ATTR_DEFS exported (6 rows)
23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
INFO: EP_ATTR_HEADERS meta data exported
Please let me know if you need any further info in resolving this issue.
Thanks & regards,
Nagendra. -
Using 'export to database' in background processing
If i call a Function Module in Background will i be able to Export values to Database ?
like:
CALL FUNCTION 'func_name' IN BACKGROUND TASK TABLES table = table1.
and in FM:
EXPORT <one> FROM <two> TO DATABASE indx(some) ID 'some1'.
I am only able to export if i dont use the background processing.
thanks
Edited by: shalaxy s on Feb 10, 2009 3:18 PMHi Shalaxy,
Calling Function Module in Background/Update Task is normally used for bundling techniques where your requirement is to execute all the database updates in single database LUW (Logical Unit of Work) in order to maintain data integrity. All your database updates gets successfull or none of them.
If you call FM in Background Task, it is not executed immediatly, it is registered with all its values and executed only when COMMIT WORK statement is executed.
I think there is no explicit COMMIT WORK statement in your code and that is why you are not able to see effect of EXPORT TO DATABASE statement as LUW is not at all initiated.
I feel, as your requirement is only to suppress the ALV output, you should handle it through some other alternative e.g. using parameter or something like that and If function module you are talking about is Z and you are willing to change it.
Regards,
Vishal -
Db Export when database is in read only mode
Hi All,
I have to perform a full database export when database is in read only mode. My db version is 9i.
Kindly let me know whether that export file is valid enough to do full import in new database and make database oprational.
Thanks.rajaryan wrote:
Hi All,
I have to perform a full database export when database is in read only mode. My db version is 9i.
Kindly let me know whether that export file is valid enough to do full import in new database and make database oprational.
Thanks.Check the log file, if you haven't got any error, then it's valid
BTW - Why you've taken full export of the database? Why not using RMAN?
See the following video tutorial:
http://kamranagayev.wordpress.com/2010/03/29/rman-video-tutorial-series-performing-disaster-recovery-with-rman/
Maybe you are looking for
-
Auto creation of Purchase order by heuristic
Hello Experts, In my project, Heuristic is creating "Purchase orders" automatically, which should have been created by planners only. Sometimes, it creates it without even creating "Purchase requisitions" and sometimes with PurReq. Has any one faced
-
Need help with how to configure jumpers on new HD
I'm replacing the Hard Drive in an iMac 350 with the same type of Seagate HD I just replaced in my cube. I have a question about the jumber arrangement. On the old Apple HD [that came out of the iMac], with the Apple sticker face down on the table, t
-
Newer bios all boards for the nvidia utility
K7N2 Delta-L bios version 5.6 and K7N2 Delta-ILSR bios version 7.6 can be downloaded here:- http://www.msi.com.tw/program/suppo...?UID=436&kind=1 K7N2G-ILSR bios version 1.8 is here:- http://www.msi.com.tw/program/suppo...?UID=398&kind=1 K7N2-L and K
-
Tables for Excise duty , Ecess , Hsecess in Purchse order
Hi Gurus , I am preparing functional specification for Purchase order FORM , can anybody tell me from which tables excise duty ,e cess and H E cess comes from ,as only the po has been created no Gr and excise invoice has been created. Thanks n Rega
-
bonjour, je stocke des fichiers PDF sur Adobe reader.com gratuitement que je consulte soit par ipad soit iPhone .. seulement ce ce jour vers 16h je m'aperçoit que l'on m'a supprimé certain de mes fichiers pdf au hasard , ils ont tous simplement dispa