Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to export the table data (this table having 18 million
records) to .csv file. Please tell me is there any faster
way to export the data.

Answer Posted / kiran penujuri

We have one very good oracle utility called EXPORT
Exporting of ORACLE database objects is controlled by
parameters.
To get familiar with EXPORT parameters type:
exp help=y
You will get a short description and the default settings
will be shown.
The EXPORT utility may be used in three ways:

Interactive dialogue
Simply type exp. You will be prompted for your ORACLE
userid, password. All other prompts answer by pressing the
return key. This is the easiest way to export all data you
stored in the ORALE database. You may assign other values
than the defaults to the parameters but in most cases it is
unnecessary.
Controlled through bypassed parameters
You may bypass parameters when you export data from the
database. Type:
exp <userid/password>
<parameter>=<value>,<parameter>=<value>,...
Example of exporting scott's tables EMP and DEPT to file
empdept.expdat and storing all messages to file empdept.log:
exp scott/tiger file=empdept.expdat tables=(EMP,DEPT)
log=empdept.log

Parameterfile controlled
Instead of typing the parameters on the commandline you may
use a parameter file where the parameters are stored. The
syntax for this method is: exp <userid/password>
parfile=<filename>
Do not ignore warnings and messages! Look at your logfile
and repeat EXPORT until you get messages like:
About to export specified tables ...
. exporting table EMP 14
rows exported
. exporting table DEPT 4
rows exported
Export terminated successfully without warnings.
\

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between partitioning and sharding?

947


Explain what is sql?

1059


What is a column in a table?

1061


How does postgresql compare to oracle/db2/ms sql server/informix?

981


How does one use sql*loader to load images, sound clips and documents? : aql loader

1117


What is restrict in sql?

1031


What is mutating error?

907


Explain how to use transactions efficiently : transact sql

923


What are % type and % rowtype?

979


Why is pl sql used?

937


What is function and procedure?

984


What are the ddl commands?

948


What is an implicit commit?

990


What are the two virtual tables available at the time of database trigger execution?

1157


What is the difference between count 1 and count (*) in a sql query?

908