6f429244e498457b8400e72e4af683b0 Alberto Blog: EXP-00091

giovedì 24 febbraio 2011

EXP-00091

Stamattina controllando i files di log delle varie operazioni notturne di Oracle mi sono imbattuto in un EXP-0091: Exporting questionable statistics, durante un exp non full di un DB ver 9.2.0.1.0 in un server Windows 2003.

Ho provato ad esportare solo la tabella interessata per verificare meglio il tutto ma ovviamente l'errore si ripresentava:


Username: XXXX
Password:

Connected to: Oracle9i Release 9.2.0.1.0 - Production
JServer Release 9.2.0.1.0 - Production
Enter array fetch buffer size: 4096 >

Export file: EXPDAT.DMP >

(2)U(sers), or (3)T(ables): (2)U > 3

Export table data (yes/no): yes >

Compress extents (yes/no): yes >

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 ...
Table(T) or Partition(T:P) to be exported: (RETURN to quit) > AAAA

. . exporting table AAAA 48668 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
Table(T) or Partition(T:P) to be exported: (RETURN to quit) >

Export terminated successfully with warnings.

Verificando meglio ho visto che era un'errore di conversione del character set.
Allora lo imposto manualmente dalla sessione in uso uguale a quello del server come suggerisce un post nel forum OTN http://forums.oracle.com/forums/thread.jspa?threadID=339093 :


C:\Documents and Settings\Admin>SET NLS_LANG=.WE8ISO8859P1

C:\Documents and Settings\Admin>exp

Export: Release 9.2.0.1.0 - Production on Thu Feb 24 10:40:06 2011

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


Username: XXXX
Password:

Connected to: Oracle9i Release 9.2.0.1.0 - Production
JServer Release 9.2.0.1.0 - Production
Enter array fetch buffer size: 4096 >

Export file: EXPDAT.DMP >

(2)U(sers), or (3)T(ables): (2)U > 3

Export table data (yes/no): yes >

Compress extents (yes/no): yes >

Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set

About to export specified tables via Conventional Path ...
Table(T) or Partition(T:P) to be exported: (RETURN to quit) > AAAA

. . exporting table AAAA 48668 rows exported
Table(T) or Partition(T:P) to be exported: (RETURN to quit) >

Export terminated successfully without warnings.

Adesso lanciandolo manualmente tutto va bene, ma non mi riesco a spiegare il perchè di questa variazione, negli export precedenti benchè il problema del character set ci sia sempre stato, l'operazione si concludeva con successo.

Nel DB server non è stata fatta nessuna variazione e tra l'altro nelle specifiche dell'export imposto l'opzione STATISTICS=NONE, quindi non mi dovrebbe esportare nessuna statistica.
L'errore poi è solo per questa tabella mentre nelle altre che esporto di questo problema non c'è traccia.
Provo ad indagare meglio....

AGGIORNAMENTO


La tabella in questione è una tabella che ogni 30 min viene cancellata e ricreata.
Questa operazione dura pochi secondi ma se nel durante viene eseguito l'export può generale questo errore.
Ci sono altre tabelle che vengono cancellate e ricreate ma non hanno presentato mai questo errore.
Stasera riviene eseguito l'export alla stessa ora e vediamo cosa succede.



Nessun commento:

Posta un commento