Benutzer-Werkzeuge

Webseiten-Werkzeuge


dba:exp_oracle_export_imp_oracle_import

Meldung EXP-00091: Exporting questionable statistics.

Ursache:
exp kann die Statisik zwar exportieren aber die Statistik kann evlt. beim Import nicht wieder verwendet werden.
Lösungen:

  • Zeichensatz von Client und Server GLEICH einstellen! (siehe Beispiel)
  • Kein Statisik exportieren (Parameter „statistics=none“)

Zeichensatz Angabe von NLS_LANG überprüfen! Client = Server !
auf folgende Meldung achten possible charset conversion :

Export done in WE8MSWIN1252 character set and UTF8 NCHAR character set 
server uses UTF8 character set (possible charset conversion)
D:\scripts>exp my_ours/my_pwd file=my_ours.dmp

Export: Release 10.2.0.3.0 - Production on Fri Sep 3 12:52:48 2010

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

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
Export done in WE8MSWIN1252 character set and UTF8 NCHAR character set
server uses UTF8 character set (possible charset conversion)

About to export specified users ...
. exporting pre-schema procedural objects and actions
.........
EXP-00091: Exporting questionable statistics.
. . exporting table                    HILFEMEDIEN          0 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
. . exporting table                     HILFETEXTE          0 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table                            IDS          0 rows exported

............

exporting statistics
Export terminated successfully with warnings.

NLS Setzen

D:\scripts>set nls_lang=.UTF8
D:\scripts>exp my_ours/my_pwd file=my_ours.dmp

Export: Release 10.2.0.3.0 - Production on Fri Sep 3 12:55:07 2010

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


Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
Export done in UTF8 character set and UTF8 NCHAR character set

About to export specified users ...
. ...
. . exporting table                    HILFEMEDIEN          0 rows exported
. . exporting table                     HILFETEXTE          0 rows exported
. . exporting table                            IDS          0 rows exported
............

. exporting statistics
Export terminated successfully without warnings.

Tabellen eines anderen Users als SYS exportieren

Aufgabe: Zwei Test Tabellen aus einem User Schema exportieren.

Einziger Trick: die Tabellenname mit User Namen angeben.

# NLS Zeichensatz auf DB Zeichensatz setzen
 
export NLS_LANG=.WE8ISO8859P15
 
# / vor der Shell schützen
 
exp "'/ as sysdba'" tables=P_GPI.TEST_ELEMENT,P_GPI.DEBUG_DATA file=p_gpi_user_export.dmp log=p_gpi_user_export.log
Diese Website verwendet Cookies. Durch die Nutzung der Website stimmen Sie dem Speichern von Cookies auf Ihrem Computer zu. Außerdem bestätigen Sie, dass Sie unsere Datenschutzbestimmungen gelesen und verstanden haben. Wenn Sie nicht einverstanden sind, verlassen Sie die Website.Weitere Information
dba/exp_oracle_export_imp_oracle_import.txt · Zuletzt geändert: 2013/09/12 20:53 von gpipperr