How to export a table with near 1 billion records in 9i
Hi,
I would like to ask your inputs on exporting a very large table (rows approximately nearing 1 billion).
What are the parameters and its values to have an acceptable export time?
Thanks in Advance
user13380363 wrote:
Hi,
I would like to ask your inputs on exporting a very large table (rows approximately nearing 1 billion).
What are the parameters and its values to have an acceptable export time?Just in case there might be an alternative - what are you trying to accomplish?
(In other words, is export the correct tool for your job?)
Note that it MIGHT be the right tool. However, based on experience, that is not a foregone conclusion until we understand what your end goal is intended to be.
Similar Messages
-
How to get the table with no. of records after filter in webdynpro
Dear Gurus,
How to get the table with no. of records after filter in webdynpro?
Thanks in advance.
SankarHello Sankar,
Please explain your requirement clearly so that we can help you easily.
To get the table records from your context node use method get_static_attributes_table()
data lo_nd_mynode type ref to if_wd_context_node.
data lt_atrributes_table type wd_this->elements_mynode.
lo_nd_mynode = wd_context->get_child_node( name = wd_this->wdctx_mynode ).
lo_nd_mynode->get_static_attributes_table( importing table = lt_atrributes_table ).
Note: You should have already defined your context node as a Dictionary Structure.
BR,
RAM -
How to export a table with BLOBs
Hi,
when I have to export a table with its own data, I generally export it by using the export on UNIX.
I've never tried to export a table with a BLOB. Is it possible in the same manner or what else?
Thanks!Hi mark;
Please see below which could be helpful for your issue:
Export and Import of Table with LOB Columns (like CLOB and BLOB) has Slow Performance [ID 281461.1]
Master Note for Data Pump [ID 1264715.1]
Regard
Helios -
How to export a table with a mixed case name using EXP untility
i'm trying to export a table which has a name with mixed upper and lower case. The command i'm trying is
exp USER/password TABLES=("MyTableName") FILE=ExportCNCS1.dat
and does not work.
Error:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
EXP-00011: USER.MYTABLENAME does not exist
Export terminated successfully with warnings.
I presume its saying the table doesnt exist because its looking for MYTABLENAME rather than MyTableName and doing this because its ignoring the double quotes. Any ideas?Or, let the export prompt you for the table name:
C:\Temp>exp
Export: Release 9.2.0.7.0 - Production on Mon Aug 14 11:33:28 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Username: scott/tiger
Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Enter array fetch buffer size: 4096 >
Export file: EXPDAT.DMP >
(2)U(sers), or (3)T(ables): (2)U > T
Export table data (yes/no): yes >
Compress extents (yes/no): yes > no
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
Table(T) or Partition(T:P) to be exported: (RETURN to quit) > MyTableName
EXP-00011: SCOTT.MYTABLENAME does not exist
Table(T) or Partition(T:P) to be exported: (RETURN to quit) > "MyTableName"
. . exporting table MyTableName 14 rows exported
Table(T) or Partition(T:P) to be exported: (RETURN to quit) >
Export terminated successfully with warnings.
C:\Temp> -
How to export a table with half a million rows?
I need to export a table that has 535,000 rows. I tried to export to Excel and it exported only 65,535 rows. I tried to export to a text file and it said it was using the clipboard (?) and 65,000 rows was the maximum. Surely there has to be a way to export
the entire table. I've been able to import much bigger csv files than this, millions of rows.What version of Access are you using? Are you attempting to copy and paste records or are you using Access' export functionality from the menu/ribbon? I'm using Access 2010 and just exported a million record table to both a text file and to Excel
(.xlsx format). Excel 2003 (using .xls 97-2003 format) does have a limit of 65,536 rows but the later .xlsx format does not.
-Bruce -
Fact Table with multi billion records.
Hi ---> Is it advisable to build hierarchies around 3 billion record table Fact table and still growing in OBIEE..I know we can use oracle OLAP Tool and DB and other additional infrastructure will do it. But tryiing to look for a better way with the existing tools and hardware... Please let know the possibilities using obiee..yes I am aware of aggregate tables, materialized views etc.., it takes time to implement and view which is most optimal...
Edited by: user007009 on Apr 11, 2013 5:49 PMIs it advisable to build hierarchies around 3 billion record table Fact tableIs it warehouse table or OLTP table treating as fact table? if it is ware house table then in BI we create hierarchy on dimension table but not on fact! or else you are using a fact table as both fact and dim then it can be but you have to mention as dim instead of fact.
I dont think there is a limitation, its all how you see the data. I dont think you create a report to show 1 or 2Billion records at once.
If you didnt convince try to check with Oracle with SR.
If helps mark
Thanks
BTW: You havent mentioned about time period for that 3 billion records! if it is over a period of time then BI can take care of its source using fragmentation.
Edited by: Srini VEERAVALLI on Apr 12, 2013 7:26 AM -
How Can I Export A Table With Its Entries ( values )
Hi guys,
How can i export a table with the entries that the table is populated with ??!!
Best Regards,
FatehTo export a table and its data you can do it a number of ways.. Do you have access to SQL Developer? If not you can do it through the APEX SQL Workshop..
Under SQL Workshop, Utilities, Data Unload, To text (or XML, whichever you are more comfortable with..).. Select your schema, click next button, select the table, click next, select the columns you want exported (select ALL ITEMS in the select List), click next, on optionally enclosed by I usually enter a " (Sometimes I have long strings in columns), click the include column names checkbox to get the column names at the top of the document, click unload data button..
To get the ddl (code to build table) Sql Workshop, utilities, generate ddl, create script, select schema, select next, click table checkbox, select next, click the checkbox of table you want to get ddl for...
Thank you,
Tony Miller
Webster, TX
There are two kinds of pedestrians -- the quick and the dead.
If this question is answered, please mark the thread as closed and assign points where earned.. -
How to export / import tables from UAT Environment to Devlopment in oracle
i wanted to share some points about export/import tables in oracle.
we have two environments one is development and integrated user acceptance test (UAT).
we have finalized table structures with data in UAT. i wanted to move from UAT to Development.
i found some commends in google. I tried but I am not able to export and then its throwing some errors.
i am explaining below what i want to do and what i want did.
Please provide solution what i need to do.
admin credentials in UAT
username :venkat_admin
password :venkat_admin
UAT user/schema
username : ods_inb_stg
password : ods_inb_stg
development environment credentials
admin user name : dev_admin
password : dev_admin
Development user/schema
username :ods_inb_dev
password :ods_inb_dev
Above mentioned schema names i want move data from UAT (ods_inb_stg) to development (ods_inb_dev)
I logged in uat ods_inb_stg user and then
I used this command
Exp ods_inb_stg/ods_inb_stg file=party_pt_address.expdat tables=(party,party_address)
log=party_pt_address.log;
getting error
Unknown command beginning "exp ods_inb_stg/..." - rest of line ignored.
What should I do any one help.
One more thing i have more than 100 tables how to export all tables and which is the easiest way and how to do it.
Thanks in Advance
VenkatHi,
based import and export we need to do.
suppose we think we have created tables in production and data also populated. we need to export the tables with data. i am able to export the tables with data some tables or full database.
suppose we have development environment. in development environment there is no tables. we can treat nothing in development. we have only username,password and hostname.
when you import the tables production to development automatically create the table structures with data.
where ever we wanted to import the tables no need to create table structures. thats why no need to think about table structures. -
How to create a table with events in smartforms?
How to create a table with events view in smartforms?
It doesn't like general table with header, main area and footer.
for example:
in smartforms: LE_SHP_DELNOTE
table name is TABLEITEM(Delivery items table)Vel wrote:
I am creating XML file using DBMS_XMLGEN package. This XML file will contain data from two different database tables. So I am creating temporary table in the PL/SQL procedure to have the data from these different tables in a single temporary table.
Please find the below Dynamic SQL statements that i'm using for create the temp table and inserting the data into it.
Before insert the V_NAME filed, i will be appending a VARCHAR field to the original data.
EXECUTE IMMEDIATE 'CREATE TABLE TEMP_TABLE (UNIQUE_KEY NUMBER , FILE_NAME VARCHAR2(1000), LAST_DATE DATE)';
EXECUTE IMMEDIATE 'INSERT INTO TEMP_TABLE values (SEQUENCE.nextval,:1,:2)' USING V_NAME,vLastDate;What exactly i need is to eliminate the INSERT portion of it,Since i have to insert more 90,000 rows into it. Is there way to have the temp table created with data in it along with the sequence value as well.
I'm using Oracle 10.2.0.4 version.
Edited by: 903948 on Dec 22, 2011 10:58 PMWhat you need to do to eliminate the INSERT statement is to -- as already suggested by others - eliminate the temporary table. You don't need it. It is just necessary overhead. Please explain why you (apparently) believe that the suggestion of a view will not meet your requirements. -
How to create a table with varied number of columns?
I am trying to create a balance table. The colunms should include years between the start year and end year the user will input at run time. The rows will be the customers with outstanding balance in those years.
If the user input years 2000 and 2002, the table should have columns 2000, 2001, 2002. But if the user input 2000 and 2001, the table will only have columns 2000 and 2001.
Can I do it? How? Thanka a lot.Why did you create a new thread for this?
How to create a table with varied number of columns? -
How to create a table with datatype blob and insert a pdf file (ravi)
how to create a table with datatype blob and insert a pdf file,
give me the explain asap
1.create the table?
2.insert the pdffiles into tables?
3.how to view the files?
Thanks & Regards
ravikumar.k
Edited by: 895044 on Dec 5, 2011 2:55 AM895044 wrote:
how to create a table with datatype blob and insert a pdf file,
give me the explain asapPerhaps you should read...
{message:id=9360002}
especially point 2.
We're not just sitting here waiting to answer your question as quickly as possible for you. -
I am trying to use Labview for mp3 huffman decoding. there are 34 predefined tables for lookup purpose. I tried build array control, but it is so hard to assign value with size of 16. What is the better way to create predefined array? And how to do lookup table with Labview?
IMHO, the best way to have something "predefined" is to read this data from a "setup/configuration" file (if you don't want to use "default settings" LV feature). The choice of the format for all the data that you want to store in some kind of configuration file is up to you.
Also, constructing a "lookup table" in LV doesn't seems different as for any other programming language. -
How to insert a table with variable rows in smart form
Hi all,
How to insert a table with variable rows in smart form?
Any help would be appreciated.
Regards,
Mahesh.Hi,
Right click the mouse->create->table
If you want 5 columns, you need to declare 5 cells in one line type of the table
Click on Table -> Details, then do the following
Line Type 1 2 3 4 5
L1 2mm 3mm etc
Here specify the width of the columns as many as you want..
then in the header/main area of the table, click create Table Line, Rowtype is L1, automatically 5 cells will come,In each cell create a text element, display the variable to be printed there. -
Export/import table with XMLTYPE data_type and fine_grained policy
Hi friends!
I'm trying to export a table with XMLTYPE and faine-grained policy.
Source: HP-UX - Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
Target: Linux 2.6.18-238.el5 - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
I do it thru exp/imp old utilities as mention in metalink ID 1318012.1.
One of the things that surprised me after exp/imp is that the number of objects increased:
Objects at Source:
exp \"/ as sysdba\" owner=xml log=xml file=xml.dmp
Type
Number of Objects
TYPE
431
TRIGGER
6
TABLE
17
PROCEDURE
2
LOB
120
INDEX
17
FUNCTION
1
On Target:
imp \"/ as sysdba\" file=xml.dmp fromuser=xml touser=xml log=xml.log
Type
Number of Objects
TYPE
431
TABLE
32
PROCEDURE
2
LOB
429
INDEX
478
FUNCTION
1
Why is this happening? Is it normal?
Other problem that I found is triggers are not imported, why!?!?
Thank you very much for your help!
JoséHi!
The new squema was created empty. If I run the following query:
select '10g', TABLE_NAME,COUNT(*)
from DBA_LOBS@DSN_HP
where OWNER='XML'
group by TABLE_NAME
union
select '11g', table_name,count(*)
from DBA_LOBS
where OWNER='XML'
group by TABLE_NAME
order by 2,1
As a result:
Version
Table_name
Total
10g
ACTION_TABLE
1
11g
ACTION_TABLE
1
10g
Document1767_TAB
14
11g
Document1767_TAB
13
10g
Document1852_TAB
14
11g
Document1852_TAB
13
10g
Document1941_TAB
16
11g
Document1941_TAB
15
10g
Document2016_TAB
14
11g
Document2016_TAB
13
10g
Document2087_TAB
13
11g
Document2087_TAB
12
10g
IBT_XML_RECIBIDOS
1
11g
IBT_XML_RECIBIDOS
1
10g
LINEITEM_TABLE
2
11g
LINEITEM_TABLE
2
10g
PURCHASEORDER
7
11g
PURCHASEORDER
7
10g
PurchaseOrder1145_TAB
9
11g
PurchaseOrder1145_TAB
7
10g
RICARDO
13
10g
RICARDO2
1
11g
RICARDO2
1
10g
RITNTFER
1
11g
RITNTFER
1
10g
RITNTFRE_08
13
11g
SYS_NT3+LEU6vbfGLgQ18DLgrURw==
69
11g
SYS_NT3+LEU6vffGLgQ18DLgrURw==
76
11g
SYS_NT3+LEU6vjfGLgQ18DLgrURw==
63
11g
SYS_NT3+LEU6vpfGLgQ18DLgrURw==
1
11g
SYS_NT3+LEU6vqfGLgQ18DLgrURw==
2
11g
SYS_NT3+LEU6vTfGLgQ18DLgrURw==
65
11g
SYS_NT3+LEU6vXfGLgQ18DLgrURw==
66
10g
TESTCLOB
1
11g
TESTCLOB
1
There are many new tables created...I suppose because the differences between versions...
Any ideas?
Thanks a lot!
José -
How to Export EUL tables ?
Hi all,
I have upgraded Discoverer admin/ desktop form 4.1.37 to 4.1.48. When i try to connect to Administrator it asks me to export EUL tables so that it will upgrade EUL. Iam unable to connect to Adminstrator/Desktop 4.1.48 as a Application user.
How to export EUL tables?
ThankyouHi,
Your DBA should export the EUL owner schema using the database command exp. This will export all the EUL tables and will enable you restore the tables if the upgrade fails.
Rod West
Maybe you are looking for
-
My 160GB ipod classic stopped whilst playing music and will not turn back on despite having almost a full battery. I have tried connecting to itunes and a docking station but will not turn on at all - HELP?! I've had this from new for 2 years, the ba
-
Lack of firewire disappointing
My 4G iPod died earlier in the week so I've been out and bought a new 5G Video iPod. Pretty disappointed to get it home and find it doesn't support firewire. Did Apple ever give any reason why they would remove this? Pretty poor that they don't speci
-
Bridge CS5 will not open on new computer
I deactivated ps cs5 on my old computer and used my ps cs5 upgrade disk to install it on my new win 7 ultimate computer. It should be clean install but I did migrate many files from the old win xp computer with windows easy transfer. Bridge will not
-
Black page when copying and scanning
Hi, I have a HP Laserjet 1536dnf MFP, all was working fine until I changed the ink cartridge two days ago. Printing is fine but when I go to copy or scan I get a solid black page printed. I've checked the light goes across when copying and scanning
-
I am building a Column chart I'm not sure what its called but its where you add different series together to make a column chart (this option is second from the top and on the left side in the charts selector). I would call it a additive column chart