Thread: Exp FIle.


Permlink Replies: 18 - Pages: 2 [ Previous | 1 2 ] - Last Post: Apr 17, 2008 9:56 PM Last Post By: Amardeep Sidhu
Amardeep Sidhu

Posts: 1,296
Registered: 10/27/06
Re: Exp FIle.
Posted: Apr 17, 2008 12:25 AM   in response to: Pavan Kumar in response to: Pavan Kumar
Click to report abuse...   Click to reply to this thread Reply
Even then where are you using STATISTICS ?

Also better would be what Hemant suggested. Run imp with indexfile option.

Amardeep Sidhu

http://www.amardeepsidhu.com
Pavan Kumar

Posts: 4,830
Registered: 07/22/07
Re: Exp FIle.
Posted: Apr 17, 2008 8:35 AM   in response to: FZheng in response to: FZheng
Click to report abuse...   Click to reply to this thread Reply
Hi fzheng ,

I tried... and its working sir....he wants to know the tables exported atleast..
I tried...with options.. rows = n the tables exported will be listed out...

and when rows =y the number of rows are exported will be listed..

since he wants to log file...ehnce we can generate...

I was posting this solution ....after long back..since I was in office with some other busy..work...

Its just a verifications my side....Don't think in any other manner..
I want to make the my self clear about the ORACLE Subject..
that's it..

Thanks
Pavan Kumar N
Eduardo Legatti

Posts: 4,879
Registered: 11/27/01
Re: Exp FIle.
Posted: Apr 17, 2008 12:26 PM   in response to: Alok Kumar in response to: Alok Kumar
Click to report abuse...   Click to reply to this thread Reply
Hi,

>>Is there anyway, we can see how many tables and rows are in dump files , without importing dump file.
Let's try to take a test ...
C:\>exp scott/tiger file=emp.dmp tables=emp statistics=none

Export: Release 10.1.0.2.0 - Production on Thu Apr 17 16:20:06 2008

Copyright (c) 1982, 2004, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)

About to export specified tables via Conventional Path ...
. . exporting table EMP 498 rows exported
Export terminated successfully without warnings.

C:\>imp scott/tiger file=emp indexfile=test.txt

Import: Release 10.1.0.2.0 - Production on Thu Apr 17 16:20:49 2008

Copyright (c) 1982, 2004, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options

Export file created by EXPORT:V10.01.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
. . skipping table "EMP"

Import terminated successfully without warnings.

C:\>findstr "rows" test.txt
REM ... 498 rows

Cheers

Legatti
Amardeep Sidhu

Posts: 1,296
Registered: 10/27/06
Re: Exp FIle.
Posted: Apr 17, 2008 9:56 PM   in response to: Eduardo Legatti in response to: Eduardo Legatti
Click to report abuse...   Click to reply to this thread Reply
REM ... 498 rows

Interesting :)

Amardeep Sidhu

http://www.amardeepsidhu.com
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums