Oracle View export/import copy
good morning all,
i have a vpn connection to an oracle database am connecting via oracle client 10g OS is windows.. now i have view with 12 fields now when i query the view the results comes in 12 seperate lines..
field1
field2
field
field
field
field
field
field
out put of field 1
field1
field2
field
field
field
field
field
field
output of field 2
and so on till field 12
i want to know how can this be in just one line ..
am giving the query
select * from <viewname> where rownum < 5
and i have half million records in this view what is the best way to export this view or to save the view as HTML or in some other file.. i dont have permission to use enterprise manager
thanks in advance
If the column data is too long then it can't come in one line, if the data string is short (lets say 3-6 chars) then you can try to reduce the column length to fix it in one page. But if you want to make it permanent then you need to modify the columns and reduce the character length. But this could be a problem if the future data will have more characters.
What I suggest is to retrieve the required columns
Similar Messages
-
Hi Experts,
I want to do an export - import of my Oracle DB. As I understand this could reduce my DB size.
What method do you suggest?
Can I use SAPINST 7.00 for the export -import? my SAP is 4.5B
It´s the same SAP System ID and the same server I just want to reduce my DB size.
Regards> I want to do an export - import of my Oracle DB. As I understand this could reduce my DB size.
This process is called "reorganization" and is only necessary if lots of data was deleted. Just exporting and importing doesn't do any change.
> Can I use SAPINST 7.00 for the export -import? my SAP is 4.5B
SAPINST doesn't know about 4.5B, this is LONG gone.
Oracle 8 and 4.5B are long out of maintenance, nowadays available tools don't support such old ancient versions. You would need to do that using sapdba or write your own scripts.
Markus -
Oracle 11G - Oracle AWR export import Query Statistics.
I have Oracle 11G, i have seen the sql statements through Historical AWR option from Top Activites in performance tab. Can i export all AWR query statistics from production machine so that i can analyze all logs after importing it.
How can i know all statistical sql ( information ) and performace of production machine ?
any help ?Hello,
have you checked the DBA_HIST* objects to see what / how was imported?
If the awr export dosn't get the contents of the rolling buffer, then you won't see any session statistics that are only there. If you want to get the contents of the rolling buffer you have to dump the contents of it with :
oradebug setmypid
oradebug dump ashdump 10
and load it into your "test" database.
But before doing this I suggest you read the related metalink documentation if any!!!
Regards,
Franky -
Oracle tools export / import / SQLloader
These tools are in the \Bin but not shown in the UI. They all work so why no access?
You have access (they are there)
the UI is html/db - html/db is 100% browser based and database based. In order to use the command line tools, we'll be using the command line.
html/db does have tools to do a "load/unload" of tables for smallish sets of data. -
Export/import in 904 versus 10.1.2
We have two 10G AS 904 installs (dev and prod - same O/S too). From time to time we move our production portal content to the dev server. We sometimes get corruption and have to use the Schema validation Utility scripts to fix the import to the dev server. Not a show stopper but this adds another manual step to the process.
I see the 10.1.2 version has improved import/export checks. Can anyone give feedback on the improvements in the export/import process?
Thanks
KevinKevin,
Careful with this approach. Passing from DEV to PROD is ok, but then to DEV back again, what I suggest you is that you have a clean start on DEV, ie, clean the DEV machine and later do the same to the PROD. Portal Export / Import works only in one-way and not both ways (this basically has to do with the checks we do make and with possible conflicts with the objects on both sides). Also check the available documentation... which is all compiled in Metalink Note:263995.1 - Master Note for OracleAS Portal Export / Import Issues
As to the improvement of the process, please give it a check on the New Features papers (make a find on "export" - it is easier to pick the references):-
10.1.2 -- http://www.oracle.com/technology/products/ias/pdf/1012_nf_paper.pdf
10.1.4 -- http://www.oracle.com/technology/products/ias/portal/pdf/portal_1014_new_features.pdf
I hope it helps...
Cheers,
Pedro. -
Oracle export/import and indexing
Hello All,
I am a newbie in oracle filed and trying to understand export/import funtionality and indexing related to it. May be it's silly but I don't get any other way to understand it.
Below are the topics I tried to understand-
1) I export one Db and trying to import that in another database server. I used sysdba username to import. A new table space will get created or how the data will store in database what would be the effect in indexing with this export and import.
2) If i import one more db on the same database server using sysdba username then also how indexing will behave?
Please help me to understand
Thanks
Sayan
Edited by: Sayan_Roy on Sep 26, 2011 11:41 PMIndexes are tied to tables. The default behaviour, in the absence of you specifying any directives, is that Oracle runs
CREATE TABLE
INSERT INTO table
CREATE INDEX
So, the Indexes are created after each of the corresponding tables.
Do NOT ever attempt to export/import objects owned by SYSDBA. You should be creating a separate schema to hold all your objects (Tables, Indexes, Views, Procedures, Functions etc). That separate schema can be exported and imported into another database. If you have multiple such schemas, a Full Export Import will copy all the schemas.
If a schema preexists in the target database, the import will error when attempting to CREATE TABLE --- unless you specify directives to handle this.
Please read the documentation on Export and Import for the version that you are testing.
Hemant K Chitale -
Homogeneous system copy using export/import on WIn/Ora
Dear experts,
i need to know the homogeneous system copy procedure using export/import method for following scenario as we are in the process of Data center migration of SAP systemsfrom location to another location.
Source system:
ECC6/BI7/APO(ABAP stack)
OS:WIndows 2003
D:B:Oracle 10g
Target System: New hardware installed on Virtual environment(VMware)
No change of SID
ECC6/BI//APO
OS:WINDOWS2008
D:B: Oracle 11g
It would be great if anyone can share the documentu2019s/links (Not SAP homogeneous system copy guide) which you have prepared for the homog. system copy using export/import on Windows/oracle as i have done the system copy using backup/restore for ABAP stack and export/import for Java stack so far.
Therefore i am not sure about this procedure/prerequisites/checklist needs to prepare as i have gone through the SAP guide but it is not step by step document.
CheersThere are two approacahes for your project
1) First wether to use Oracle11g on target database
2) Continue with Database Oracle 10.2 on traget database
If you want to use Oracle11.2 on your target database you have to search the installers which are supported for 11.2 database. If the installers are available then only you can install your target database using Oracle11.2.Other wise t use Oracle10.2.0.4 is supported on Win2008r2. You can use this version of Oracle database to build ur target database.It works fine . Absolutely no problem.
Later on you can upgrade the Oracle10.2 to 11.2 Onwards.
If installers are avialble you can use Oracle11.2 also. There is absolutely no problem.
As per my knowledge installers are available and supported with Oracle11.2.Also check the PAM before arriving on any deciscion. -
System copy using R3load ( Export / Import )
Hi,
We are testing System copy using R3load ( Export / Import ) using our production data.
Environment : 46C / Oracle.
while executing export, it takes more than 20 hours, for the data to get exported, we want to reduce the export time drastically. hence, we want to achieve it by scrutinizing the input parameters.
during export, there is a parameter by name splitting the *.STR and *.EXT files for R3load.
the default input for the above parameter is No, do not split STR and EXT files.
My question 1 : If we input yes instead of No and split the *.STR and *.EXT files, will the export time get reduced ?
My Question 2: If the answer is yes to Question 1, will the time reduced will be significant enough ? or how much percentage of time we can expect it to reduce, compare to a No Input.
Best Regards
L RaghunahthHi
The time of the export depends on the size of your database (and the size of your biggest tables) and your hardware capacity.
My question 1 : If we input yes instead of No and split the *.STR and *.EXT files, will the export time get reduced ?
In case you have a few very large tables, and you have multiple cpu's and a decent disk storage, then splitting might significantly reduce the export time.
My Question 2: If the answer is yes to Question 1, will the time reduced will be significant enough ? or how much percentage of time we can expect it to reduce, compare to a No Input.
As you did not tell us about your database size and hardware details there is no way to give you anything but very basic metrics. Did you specify a parallel degree at all, was your hardware idling for 20 hrs or fully loaded already?
20 hrs for a 100gb database is very slow. It is reasonable (rather fast in my opinion) for a 2tb database.
Best regards, Michael -
Client Copy Using Client Export/Import
Hi Everyone,
This is regarding Client Copy Using Client Export/Import Method. We have two system Production and Development system. Iam planning to do a client copy from from PRD to DEV. I know most of the steps to perform Client Copy.I have some doubhts So if some one can please help me out i would really appreciate it.
!) I want to know which user should be used to perfrom Client Export ?
2) I want to know know which user to be used to perform Client delete?
3) Is there any particular USER who is recommended to perform Client Copy or any USER can do it?
4) After the Client Delete Procedure thorugh SCC5 ..to get back the client space we do Reorganization ? can anyone plzz tell me what are the tables that i need to reorganize or if anyone can provide me the steps for Reorganization i would be really thankful.
Waiting For your Replies
Best RegardsHi Mohammed,
1)I want to know which user should be used to perfrom Client Export ?
You can use your personal defined on the system UserID.
2) I want to know know which user to be used to perform Client delete?
Same as above, just make sure you have an account on the client and you log on to the right client
3) Is there any particular USER who is recommended to perform Client Copy or any USER can do it?
I am not aware that you should use a particular user. I have been doing copies/deletions with my UserID, as system administrator.
4) After the Client Delete Procedure thorugh SCC5 ..to get back the client space we do Reorganization ? can anyone plzz tell me what are the tables that i need to reorganize or if anyone can provide me the steps for Reorganization i would be really thankful.
Reorganization ( I personally) use SAPDBA tool. However -if you use ORACLE, there are other alternatives as well. What is your DB vendor? I will append more info in a bit.
Rgds,
Loukas -
SYSTEM Copy with Data ( SAP Export/Import way)
Hello ,
There is requirement at my client site to build SAP system copy from Production System without copying Data but
should have Programs/ Structures / Repository/ Tables & views etc.
Though We have thought of building SAP system with Export/ Import way and then deleting the Client from copied system
after that running Remote client copy from Source to Target system with SAP_CUST profile
But I have heard with SAP Export/Import way , We can have SAP data copy skipped and only structure to copy. If there is any way
of such kind then Please help me in letting know the same
Thanks
Deepak GosainHi Deepak
Kindly refer the SCN link difference between the Client copy Export / import & Remote copy method
Difference between remote client copy and client Import/Export- Remote client copy steps
BR
SS -
System copy with Export/Import Distribyted system UNIX database, Windows CI
HI
we have a distributed system witch I want to make a copy of
Oracle Database on HP-UX
CI + SCS on Windows
Dual stack system ABAP/Java
1) I have made an system copy with data base copy tools, and that works fine.
2) I have made a system copy export/import of a "central system"
If I try to make an export/import system copy on a distributed system it wont work.
( this work fine in a central system) I dont get anny error messages all gren checks marks !
It seems like the problem are in not finding the profiles from CI ?
It find the profiles for the sapgateway.
I someone are more interested I have more documentation with screen shots in a word document.
I Have used Installation Master SR3 and tryed with some older versions as well.
I have read SAP Note 970518 - Hom./Het.System Copy SAP NetWeaver 7.0 (2004s) SR2
SAPINST
Using virtual hosts for central and/or DB instances
SYMPTOM:
You are using virtual host names for your central instance and/or the database instance (e.g. in a HA environment). Although SAPinst finishes successfully, some export steps are not being performed.
SOLUTION:
Start the export with the property SAPINST_USE_HOSTNAME=<virtual host>.
If the central instance and the database instance run on different hosts, run the database export with SAPINST_USE_HOSTNAME=<virtual host name of the DB server> and - if you run a Java or ABAP+Java system - run the central instance export with SAPINST_USE_HOSTNAME=<virtual host nameof the central instance host>.
If you run a central system with different host names in the profiles, handle the export as a distributed export, calling SAPinst with parameter SAPINST_USE_HOSTNAME. Perform the export of the database instance on the DB server, calling SAPinst with SAPINST_USE_HOSTNAME=<virtual host of the DB server>.Hi I have received folloving answer from SAP:
You're doing everything correct - besides one thing.
When you specify the profiles during the database export it cannot be
correct to specify the profiles of the gateway instance located on
the same host.
As a consequence - it picks up the wrong instance G01 and sets the
property 'hasABAP' and 'hasJava' to 'false'... - thus the export
is empty. You can see this within the corresponding 'sapinst.log' file.
The correct procedure would be to specify the profiles of the central
instance on the Windows Machine. If you cannot access them, you should
make them available by Samba or by any type of software which makes
it's possible to export filesystems or directories from windows to
unix.
Best regards
Bent -
ORACLE 버젼 간 EXPORT/IMPORT 상호 호환성 참조표
제품 : ORACLE SERVER
작성날짜 : 2002-10-08
ORACLE 버젼 간 EXPORT/IMPORT 상호 호환성 참조표
===============================================
버젼이 상이한 데이타베이스간의 export/import 작업은 작업 수행시 반드시 상호
호환성을 확인하여야 하며, 호환성이 없는 버젼간의 작업은 IMP-9 또는 IMP-10
오류와 함께 작업이 실패하게 된다.
다음은 V8.0 미만의 버젼으로 import하고자 할 때 사용될 export 도구의 버젼
정보이고,
---------------------------------------------+
| EXPORT | IMPORT to |
| from --------------------------------+
| | 7.0.x | 7.1.x | 7.2.x | 7.3.x |
| 7.0.x | EXP70x | EXP70x | EXP70x | EXP70x |
| 7.1.x | EXP70x | EXP71x | EXP71x | EXP71x |
| 7.2.x | EXP70x | EXP71x | EXP72x | EXP72x |
| 7.3.x | EXP70x | EXP71x | EXP72x | EXP73x |
| 8.0.x 주1| EXP70x | EXP71x | EXP72x | EXP73x |
| 8.1.x 주1| EXP70x | EXP71x | EXP72x | EXP73x |
다음은 V8.0 이상의 버젼으로 import하고자 할 때 사용될 export 도구의 버젼
정보이다.
----------------------------------------------------------------------+
| EXPORT | IMPORT to |
| from --------------------------------------------------------
| | 8.0.3 | 8.0.4 | 8.0.5 | 8.0.6 | 8.1.5 | 8.1.6 | 8.1.7 |
----------------------------------------------------------------+
| 7.x 주2| EXP7x | EXP7x | EXP7x | EXP7x | EXP7x | EXP7x | EXP7x |
----------------------------------------------------------------+
| 8.0.3 | EXP803 | EXP803 | EXP803 | EXP803 | EXP803 | EXP803 | EXP803 |
| 8.0.4 | EXP803 | EXP804 | EXP804 | EXP804 | EXP804 | EXP804 | EXP804 |
| 8.0.5 | EXP803 | EXP804 | EXP805 | EXP805 | EXP805 | EXP805 | EXP805 |
| 8.0.6 | EXP803 | EXP804 | EXP805 | EXP806 | EXP806 | EXP806 | EXP806 |
----------------------------------------------------------------+
| 8.1.5 | EXP803 | EXP804 | EXP805 | EXP806 | EXP815 | EXP815 | EXP815 |
| 8.1.6 | EXP803 | EXP804 | EXP805 | EXP806 | EXP815 | EXP816 | EXP816 |
| 8.1.7 | EXP803 | EXP804 | EXP805 | EXP806 | EXP815 | EXP816 | EXP817 |
----------------------------------------------------------------+
* 주의 사항 *
주1.Oracle8이나 Oracle8i 데이타베이스를 Oracle7 데이타베이스로 import하고자
하는 경우에는, import 수행 전 반드시 Oracle8이나 Oracle8i 데이타베이스를
대상으로 SYS 사용자로 CATEXP7.SQL 스크립트를 수행하여야 함.
주2.Oracle7 export dump 화일을 Oracle8이나 Oracle8i 데이타베이스로 import
하는 경우에는 DATE 타입의 컬럼에 지정되어 있는 제약조건이 invalid 상태로
변함.
기타 주의사항으로는,
1. 상위 버젼의 데이타베이스에 대해 exp 명령을 사용할 경우에는 반드시 tns
alias를 이용한 SQL*Net 접속이 필요하며,
2. DIRECT path export 방식은 지원하지 않으므로, CONVENTIONAL path 방법만을
사용하여야 한다.
현재 운영중인 데이타베이스가 유지하고 있는 export와 import 관련 뷰의 버젼을
확인하기 위해서는 다음 명령어를 이용할 수 있고, 값에 해당하는 버젼 번호는
아래 표와 같다.
SQL> SELECT * FROM sys.props$ WHERE name LIKE 'EXPORT%';
NAME VALUE$ COMMENT$
EXPORT_VIEWS_VERSION 8 Export views revision #
| EXPORT_VIEWS_VERSION |
------------------------------+
| Value | Introduced in Release |
------------------------------+
| 1 | 7.1.3 |
| 2 | 7.2.1 |
| 3 | 7.2.3 |
| 4 | 8.0.1 |
| 5 | 8.0.2 |
| 6 | 8.0.3 |
| 7 | 8.0.4 |
| 8 | 8.1.6 |
------------------------------+ -
How to Export/Import specific/selected table columns (can database view be
All,
I like to export and import some selected columns and rows of a table from one oracle database to another database.
For example, I like to export the following SQL's result data to another oracle database.
select ename, sal from emp where dno = 100;
Can I create a database view based on the above SQL and export the view with data (I don't think data will be exported along with database view?)
I know, I can do this either with SQL*Loader or by creating DBLink between databases and using insert-select statement.
Please let me know if this is possible in exp/imp.
Appreciate your help.
Thanks
KumarHello,
You can Query and table option to export and import and i recommend you to create parameter file to use query option
parfile.par
file=myexport.dmp
tables=table1,table2,table3
query="where dno=2"
..Conventional export/import, you can also consider using datapump if you are using 10g.
exp username/password parfile=parfile.par log=myexport.log
imp username/password file=myexport.dmp tables=table1,table2,table3 log=myimport.logRegards -
Issue with Oracle Export/Import
Hello Oracle,
I m using Oracle Import Utility to Import data .This utility, i m controlling through a C#.Net Application.
But I want to show the time estimation required to complete the Export/Import process in advance just like the windows feature when we are copying files from one place to another.
How can we get time estimation in advance to import the dump file or after analysis of dump file ?
Is Oracle providing any information regarding estimated time required to import the dump in data base.
Pls guide me.
Thanks.
Regards
TarunBut I want to show the time estimation required to
complete the Export/Import process in advance just
like the windows feature when we are copying files
from one place to another.So you want to show the user that it will be another 10 minutes left to complete the export/import, and just when he/she thinks it is nearly complete the time to remaining is reported in some 20+ digit number? ;)
The export and import utilities do not have a method to report the time remaining to complete that I have seen. -
I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.
Maybe you are looking for
-
SQL Report Region error in 4.0
Hi guys, Forgive me if this issue has been discussed already. My server was updated to 4.0 and my report region now displays with the column headers above the wrong columns - they are slipped to the left one place. I looked at the source code and I t
-
Workflow for sending reminder mail to approve pending PO in me28
Hi Experts, I have a requirement wherein I have to design a workflow to send a mail to the approver if he has not approved the PO in me28. I don need a workflow for PO approval . Only in the case he forgets to approve a PO for one day he needs to get
-
How do i import URL's into ipad
-
HT201250 Time Machine not keeping hourly backups.
My Time Machine backups don't seem to be working correctly. It doesn't appear to be keeping hourly backups. When I enter Time Machine and look at the backup from just one hour ago, the newest file is from several weeks ago, not one hour ago. Same t
-
Clicked on the newest update and The phone asked for a password since I use the thumb scan for my password I do not have a password, Im stuck, What do I do?