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.)?
Similar Messages
-
Export whole database with all stored data
how can i export the whole database with all tables, sequences, views etc to a textfile and then import it again? it should contain all availabe data.
thank you.Joshua,
You can use the Data Pump import and export utilities to export and import an entire database (or traditional import and export utilities if pre-10g database).
http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10825/toc.htm
The export is not to a text file, though.
Joel -
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 -
Full Export/Import Errors with Queue tables and ApEx
I'm trying to take a full export of an existing database in order to build an identical copy in another database instance, but the import is failing each time and causing problems with queue tables and Apex tables.
I have used both the export utility and Data Pump (both with partial and full exports) and the same problems are occurring.
After import, queue tables in my schema are unstable. They cannot be dropped using the queue admin packages as they throw ORA-24002: QUEUE_TABLE <table> does not exist exceptions. Trying to drop the tables causes the ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables error
As a result, the schema cannot be dropped at all unless manual data dictionary clean up steps (as per metalink) are done.
The Apex import fails when creating foreign keys to WWV_FLOW_FILE_OBJECTS$PART. It creates the table ok, but for some reason the characters after the $ are missing so the referencing tables try to refer to WWV_FLOW_FILE_OBJECTS$ only.
I am exporting from Enterprise Edition 10.2.0.1 and importing into Standard edition 10.2.0.1, but we are not using any of the features not available in standard, and I doubt this would cause the issues I'm getting.
Can anyone offer any advice on how I can resolve these problems so a full import will work reliably?Thanks for the lead!
After digging around MetaLink some more, it sounds like I'm running into Bug 5875568 (MetaLink Note:5875568.8) which is in fact related to the multibyte character set. The bug is fixed in the server patch set 10.2.0.4 or release 11.1.0.6. -
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 -
While Exporting Oracle9i Database with 10g EXP.
Hi Friends,
when export ing Oracle9i Database with Oracle10g EXP utility, it gives following error.
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 41:
PLS-00302: component 'SET_NO_OUTLINES' must be declared
ORA-06550: line 1, column 15:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfullyYou can't use 10g exp against 9i database.
Use 9i exp.
Sybrand Bakker
Senior Oracle DBA -
How to export oracle schema with only TABLE and TABLE DATA
Dear All,
Is possible to export (expdp) all tables in a schema?
Thank you in advanceHi, Yes it is possible:
For example:
expdp user/password direcory=my_dir dumfile=my_dump.dmp tables=schama1.table1,schema1.table2,etc content=metadata_only include=table
OR
expdp system/pass directory=DATA_PUMP dumpfilr=test.dmp log file=test.log schamas=Scahems_name
https://forums.oracle.com/message/4103671#4103671
https://forums.oracle.com/thread/1087857?start=0&tstart=0
ORACLE-BASE - Oracle Data Pump (expdp and impdp) in Oracle Database 10g -
Using Oracle's Parallel Server for synchronizing databases with different tables
Hello,
I have a problem and I was searching through the Oracle documentation.
Then I mentioned the Oracle's Parallel Server (OPS) feature.
The problem I want to fix is the following:
I want to make a copy of a database. Subsequently I want to make changes to the copy of the original database. (possible changes could be extra columns).
Now I want to synchronize the data of both databases...
Is it possible to use Oracle's Parallel Server feature for this task?
Greets,
HarmHello,
I have a problem and I was searching through the Oracle documentation.
Then I mentioned the Oracle's Parallel Server (OPS) feature.
The problem I want to fix is the following:
I want to make a copy of a database. Subsequently I want to make changes to the copy of the original database. (possible changes could be extra columns).
Now I want to synchronize the data of both databases...
Is it possible to use Oracle's Parallel Server feature for this task?
Greets,
Harm -
Hello Folks,
I have a database with large tables that contain attachments of various kinds of files such as *.doc, *.docx, *.xlsx, *.jpg, *.pdf, *, *.jpeg. Overtime this database has grown so quickly and quite a handful to maintain.
I've been thinking of a proper approach to redesign the database's tables' struct with a little change on the application side.
How do you implement an idea in which the physical file attachment is not appended to these tables but instead just a path to that file which is located in another storage drive? Hence, the column's data type could be just a string rather than an image.
This topic first appeared in the Spiceworks CommunityHi,
I'm sorry you are having this problem, here is another post about the same problem, where the cause of the problem is described:
https://support.mozilla.com/en-US/questions/894442
A bug has been filed to track resolution of the issue here, because a true fix isn't yet available:
https://bugzilla.mozilla.org/show_bug.cgi?id=703015
I apologize for the inconvenience.
Regards,
Michelle -
Import dmp database with EE8MSWIN1250 to AL32UTF8 (XE)
I have problem with importing dmp database with EE8MSWIN1250 to AL32UTF8 (XE)
I've tried to import my database dump with settings NLS_LANG=POLISH_POLAND.AL32UTF8 but it didn't work
I had
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "MYDB"."AP_ARKUSZE_PRZECENY"."PRZEC_KOD" (actual: 26, maximum: 25)
Column 1 1
Column 2 Arkusz ĹredniowaĹĽon\$NR$
Column 3 16-WRZ-2002:00:00:00
so I exported my database with NLS_LANG=POLISH_POLAND.AL32UTF8 and next I tried to import this dump but it still didn't work.
Anybody knows how to import dump database ??It isn't correct approach. Column size is one of database constraints and you compromised it, so beware.
Correct approach is modifying columns to apply char length semantics, it means you should use following construct
alter table tablename modify columnname varchar2(10 CHAR)
In your code replace your execute immediate line with:
EXECUTE IMMEDIATE 'ALTER TABLE ' || tn || ' MODIFY ' || cn || ' VARCHAR2(' || crec.data_length || ' CHAR )';
Look at this example:
This is your original table
SQL>
SQL> create table T2( c varchar2(10 byte) );
Tabulka vytvořena.
SQL>
SQL> insert into T2 values ('0123456789');
1 řádka vytvořena.
SQL> insert into T2 values ('0123456789 few more');
insert into T2 values ('0123456789 few more')
CHYBA na řádku 1:
ORA-12899: value too large for column "MIGR"."T2"."C" (actual: 19, maximum: 10)
values longer then 10 characters are not allowed, it was your constraint, and now your modification
SQL>
SQL> alter table T2 modify c varchar2(20); -- 2*10
Tabulka změněna.
SQL> insert into T2 values ('+ěčřýýáí');
1 řádka vytvořena.
You solved the problem, you shoud be praised
SQL> insert into T2 values ('0123456789 few more');
1 řádka vytvořena.
But, you compromised your data model
SQL>
SQL> rem correct approach
SQL>
SQL> delete from T2 where length(c)>10;
1 řádka vymazána.
This solve both problems, and constraint is still valid
SQL>
SQL> alter table T2 modify c varchar2(10 char);
Tabulka změněna.
SQL>
SQL> insert into T2 values ('+ěčřýýáí');
1 řádka vytvořena.
SQL> insert into T2 values ('0123456789 few more');
insert into T2 values ('0123456789 few more')
CHYBA na řádku 1:
ORA-12899: value too large for column "MIGR"."T2"."C" (actual: 19, maximum: 10) -
CRVS2010 Beta - Report with many tables
Hi,
I was developing my application first with a test Database with few tables. Now that I am changing to the actual database (with about 200 tables) I noticed that the ReportDocument takes a really long time to load when I tried to access the DataDefinition for the first time.
Is there one way to avoid this?? The tables are all there because I need to have the option the select the table that I wanna use in the application, but after this I just use the table chosen and the linked tables in the Report.
thanksOK where to start...
First the act of adding 200 tables, and I assume none of them are linked is the first problem you are going to have. CR is a relational database reporting tool. Not linking tables generates multiple SELECT statements.
If you only need one or two then use RAS to add the tables and then the fields, Bascially you are creating the report designer for your users. All of the user interface needs to be created by you.
There may be one option that could help but what you are doing is likely never going to be fast....
Open regedit32.exe and go to:
HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports Designer Component\DatabaseOptions
In there you'll find a key called - DoAutoSmartLinking
Set the value to No
What that key does is when a report is open CR tries to link all tables and all fields.
Good luck
Don -
Multi step form with three tables
Hi:
I have a database with 3 tables. Table 1 has one-to-many
relationship with two others. Infact in table 1 user should enter
his basic info and details will be submited itno two other tables.
Is there any easy way to make it with DW/colfusion?
I know that session may help but it is needed that each page
can submit information (if the user doesn't fill the last form them
I may loose data with session)
I thought of sending information to other page with form
action="page.cfm" but my problem is I don't know how to submit
information in the second form that the primary key of table one
becoms the foreign key of the next page. Please please I really
need this. I really need it.
Thanks
BenignHi:
Thanks for the reply. In fcat I have to put them in different
pages because they have many many fields.
Is there any easy way to do it?
My project is about patients registration database. I am a
medical doctor and know some about coldfusion and some about SQL. I
am doing this project for the patient and free of charge and I can
not hire any professional programmer. My research center has boght
a Coldfusion Web server (Webserve.ca) and we are in hurry to
register the patients and organize their data to manage their
cancer problems or alarming them for future personal/familial
follow ups.(purchasing the host was a problem then {because of the
money shortage}but solved fortunately)
The cancer information tables are about 10 tables and a
parent table for patients general/personal information.
I tried to build it with coldfusion/dreamweaver wizards but I
have many problems. There is no coldfusion expert avaiable as I
said (as you know there is a shortage of money in research centers)
and the solution is something that the patients really need.
It will be great if some one helps me. Surely the name of the
this project savior (you are really a savior of many if you help)
will be a part of the prject.
Thanks
Benign -
How to Copy complete structure of a table with data from one database table to another databse table
I need a sql query to copy structure of table with data from production table of ONLINEBTREKDB database to production table of Archive database.
I tried this query
select * into Archive.dbo.Production from ONLINEBTREKDB.dbo.Production p
but problem is I am able to copy the table schema and data but not able to copy constraints(PK)
Any Help?
seemaYou've multiple options
1. Use generate scripts wizard available in SQL management studio. This is particularly helpful when you want to script out lot of objects. You can also choose to script data as well inside this. This can be launched by right clicking the db, choosing tasks
-> generate scripts and then selecting required options inside the wizard
2. Use object explorer and right click and script out table. You can also use search functionality to find object you want inside object explorer
http://visakhm.blogspot.in/2013/02/object-filtering-using-ssms-object.html
3. Use query based on INFORMATION_SCHEMA views like TABLES,COLUMNS,CONSTRAINT_COLUMN_USAGE etc to generate the script
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to export some data from the tables of an owner with integrity?
Hi to all,
How to export some data from the tables of an owner with integrity?
I want to bring some data from all tables in a single owner of the production database for development environment.
My initial requirements are: seeking information on company code (emp), contract status (status) and / or effective date of contract settlement (dt_liq_efetiva) - a small amount of data to developers.
These three fields are present in the main system table (the table of contracts). Then I thought about ...
- create a temporary table from the query results table to contract;
- and then use this temporary table as a reference to fetch the data in other tables of the owner while maintaining integrity. But how? I have not found the answer, because: what to do when not there is the possibility of a join between the contract and any other table?
I am considering the possibility of consulting the names of tables, foreign keys and columns above, and create dynamic SQL. Conceptually, something like:
select r.constraint_name "FK name",
r.table_name "FK table",
r.column_name "FK column",
up.constraint_name "Referencing name",
up.table_name "Referencing table",
up.column_name "Referencing column"
from all_cons_columns up
join all_cons_columns r
using (owner, position), (select r.owner,
r.constraint_name fk,
r.table_name table_fk,
r.r_constraint_name r,
up.table_name table_r
from all_constraints up, all_constraints r
where r.r_owner = up.owner
and r.r_constraint_name = up.constraint_name
and up.constraint_type in ('P', 'U')
and r.constraint_type = 'R'
and r.owner = 'OWNERNAME') aux
where r.constraint_name = aux.fk
and r.table_name = aux.table_fk
and up.constraint_name = aux.r
and up.table_name = aux.table_r;
-- + Dynamic SQL
If anyone has any suggestions and / or reuse code to me thank you very much!
After resolving this standoff intend to mount the inserts in utl_file by a table and create another program to read and play in the development environment.
Thinking...
Let's Share!
My thanks in advance,
PhilipsThanks, Peter.
Well, I am working with release 9.2.0.8.0. But the planning is migrate to 10g this year. So my questions are:
With Data Pump can export data just from tables owned for me (SCHEMAS = MYOWNER) parameterizing the volume of data (SAMPLE) and filters to table (QUERY), right? But parameterizing a contract table QUERY = "WHERE status NOT IN (2,6) ORDER BY contract ":
1º- the Data Pump automatically searches for related data in other tables in the owner? ex. parcel table has X records related (fk) with Y contracts not in (2,6): X * SAMPLE records will be randomly exported?
2º- for the tables without relation (fk) and which are within the owner (MYOWNER) the data is exported only based on the parameter SAMPLE?
Once again, thank you,
Philips
Reading Oracle Docs... -
Import from database an internal table with generic Type : Web Dynpro ABAP
Hi everyone,
i have a requirement in which i'm asked to transfer data flow between two frameworks, from WD Component to another. The problem is that i have to transfer internal tables with generic types. i used the import/ export from database approache but in that way i get an error message saying "Object references and data references not yet supported".
Here is my code to extract a generic internal table from memory.
DATA l_table_f4 TYPE TABLE OF REF TO data.
FIELD-SYMBOLS: <l_table_f4> TYPE STANDARD TABLE.
DATA lo_componentcontroller TYPE REF TO ig_componentcontroller .
DATA: ls_indx TYPE indx.
lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
lo_componentcontroller->fire_vh_search_action_evt( ).
ASSIGN l_table_f4 TO <l_table_f4>.
*-- Import table for Help F4
IMPORT l_table_f4 TO <l_table_f4> FROM DATABASE indx(v1) TO ls_indx ID 'table_help_f4_ID'.
The error message is desplayed when last instruction is executed " IMPORT l_table_f4...".
I saw another post facing the same problem but never solved "Generic Type for import Database".
Please can anyone help ?
Thanks & Kind regards.hi KIan,
go:
general type
TYPE : BEGIN OF ty_itab,
field1 TYPE ztab-field1,
field2 TYPE ztab-field2,
*your own fields here:
field TYPE i,
field(30) TYPE c,
END OF ty_itab.
work area
DATA : gw_itab TYPE ty_itab.
internal table
DATA : gt_itab TYPE TABLE OF ty_itab.
hope this helps
ec
Maybe you are looking for
-
Crystal Report error - The Handle is invalid;
I get the error 'The handle is Invalid' when I try to print a crystal report that is opened in the Report viewer. I was wondering if anyone has encountered this is has a solution. The report was created using Crystal Report 2008 for SAP B1. Regards A
-
I'm using Acrobat XI on Windows. I want to add my company's logotype as a watermark to a PDF document. How can I do this? When I add it as a file (jpeg), the logotype is printed on a white square background. It will be positioned on the PDF docum
-
my phone crashed when i tried updating it. it then gave me error code 3194 in itunes when i tried to update it
-
dear all Iam search for a BAPI to be used in search for particular customer using one of its attribute wich is stored in kna1 table and also search in its details stored in ADRC taple if possible. and also BAPI for search for equipment us
-
Can CHARM be setup to ignore Invalid Component Version?
Hi Gurus. Our SOLMAN Prod is on version 7.0 SP 25 and I'm trying to activate a new system to use the CHARM for transports. Can CHARM be configured to take u201Cignore Invalid Component Versionu201D as a default import option like u201CLeave Trans