Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to avoid Questionable statistics permanently ??

JhilApr 3 2015 — edited Apr 3 2015

Good  morning experts

I want to avoid  EXP-00091: Exporting questionable statistics permanently.

Every time i don't want to use statistics=none .

Anyone can provide permanent solution.

SQL> select VALUE

  2  from nls_database_parameters

  3   where PARAMETER = 'NLS_CHARACTERSET';

VALUE

----------------------------------------

WE8MSWIN1252

SQL> exec dbms_stats.gather_schema_stats('U1');

PL/SQL procedure successfully completed.

SQL> show parameter nls;

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

nls_calendar                         string

nls_comp                             string      BINARY

nls_currency                         string

nls_date_format                      string

nls_date_language                    string

nls_dual_currency                    string

nls_iso_currency                     string

nls_language                         string      AMERICAN

nls_length_semantics                 string      BYTE

nls_nchar_conv_excp                  string      FALSE

nls_numeric_characters               string

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

nls_sort                             string

nls_territory                        string      AMERICA

nls_time_format                      string

nls_time_tz_format                   string

nls_timestamp_format                 string

nls_timestamp_tz_format              string

$ exp file=tts_exp.dmp log=tts_exp.log TRANSPORT_TABLESPACE=Y TABLESPACES='TBS1,TBS2'

Export: Release 11.2.0.1.0 - Production on Fri Apr 3 10:04:40 2015

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Username: / as sysdba

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

Export done in US7ASCII character set and AL16UTF16 NCHAR character set

server uses WE8MSWIN1252 character set (possible charset conversion)

Note: table data (rows) will not be exported

About to export transportable tablespace metadata...

For tablespace TBS1 ...

. exporting cluster definitions

. exporting table definitions

. . exporting table                            EMP

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table                           DEPT

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

. . exporting table                        PAYROLL

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

EXP-00091: Exporting questionable statistics.

For tablespace TBS2 ...

. exporting cluster definitions

. exporting table definitions

. exporting referential integrity constraints

. exporting triggers

. end transportable tablespace metadata export

Export terminated successfully with warnings.

This post has been answered by BeGin on Apr 3 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2015
Added on Apr 3 2015
3 comments
1,333 views