[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 944
  • Last Modified:

ORA-00942 during export

I am doing the export using parfile.following is the content of parfile.
rows=y

indexes=y

grants=y

statistics=compute

full=n

# owner=gk0cp1

tables=(gk0cp1.tas)

direct=y

constraints=y

consistent=y

compress=y


When I run the script I get the error
About to export specified tables via Direct Path ...

EXP-00056: ORACLE error 942 encountered

ORA-00942: table or view does not exist

EXP-00000: Export terminated unsuccessfully


But when I change the parameter direct=y to direct=n then  it works.
Can someone tell me why this is happeneing.

What I need to do to make sure that script works with direct=y

Thanks in advance.
Deepak
0
dgupta70
Asked:
dgupta70
3 Solutions
 
haidersyedCommented:
Dear dgupta70

You must be exporting from a machine having different client version. Either export it from server or install same version of client on that machine as server.

Just write sqlplus on bash prompt or command prompt.
It will give you the verion of oracle installed on server and run same command on server

Below 9.2.0.6.0 is the version of oracle
E.g
Windows
c:\ sqlplus

SQL*Plus: Release 9.2.0.6.0 - Production on Tue May 2 10:41:18 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter user-name:



Solaris or unix

# sqlplus

SQL*Plus: Release 9.2.0.6.0 - Production on Tue May 2 10:41:18 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter user-name:
0
 
schwertnerCommented:
Sometimes this happens because the DBA has upgraded the Orcle software using Patch
but have not upgraded the Oracle dictionary using the script catpatch.sql 9or catupgr.sql)
0
 
Pradeepgv03Commented:
Hi,
In many cases , if the direct  path export fails and conventional path works it could be due to an Oracle bug.
Please check the alert.log to see if there is something unusual (an ORA_00600 or ORA-07445) reported at the time of export failure.
Also what is the version of database and exp utility?

Pradeep George,
Oracle Certified Master.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now