Hi Mark,
Indeed it’s not listed in those views. Well, I know it works as I use it
all the time. In my scenario I have domain indexes which are controlled by
third-party software. I wish to datapump a replacement table with all the normal
indexes intact BUT skip the domain indexes as they can often take much longer to
load than the table data itself. I have to rebuild them all anyhow on the target
database because the third-party software renames them to an instance-specific
naming scenario. I can indeed use TABLE/INDEX to skip ALL the indexes but would
rather not have to do that work.
So is there some way to convince the TOAD team that TABLE/INDEX/DOMAIN_INDEX is
a valid parameter? I can show three import logs for a sample table:
NO FILTER, gives me the whole kit and caboodle:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table “RAD_NHD”.“SYS_IMPORT_FULL_03” successfully loaded/unloaded
Starting “RAD_NHD”.“SYS_IMPORT_FULL_03”: rad_nhd/********@kraken_waters10
DUMPFILE=sample.dmp LOGFILE=full_import.log DIRECTORY=LOADING_DOCK
TABLE_EXISTS_ACTION=REPLACE
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported “RAD_NHD”.“RAD_FSHTD_L_OS” 2.272 MB 3830 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type
TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type TABLE_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
Job “RAD_NHD”.“SYS_IMPORT_FULL_03” successfully completed at 10:57:29
FILTER using TABLE/INDEX, gives me no indexes at all
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table “RAD_NHD”.“SYS_IMPORT_FULL_03” successfully loaded/unloaded
Starting “RAD_NHD”.“SYS_IMPORT_FULL_03”: rad_nhd/********@kraken_waters10
DUMPFILE=sample.dmp LOGFILE=exclude_tableindex_import.log DIRECTORY=LOADING_DOCK
TABLE_EXISTS_ACTION=REPLACE EXCLUDE=TABLE/INDEX
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported “RAD_NHD”.“RAD_FSHTD_L_OS” 2.272 MB 3830 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job “RAD_NHD”.“SYS_IMPORT_FULL_03” successfully completed at 10:59:55
FILTER USING TABLE/INDEX/DOMAIN_INDEX, gives me all indexes (and index stats)
BUT no domain indexes
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table “RAD_NHD”.“SYS_IMPORT_FULL_03” successfully loaded/unloaded
Starting “RAD_NHD”.“SYS_IMPORT_FULL_03”: rad_nhd/********@kraken_waters10
DUMPFILE=sample.dmp LOGFILE=exclude_tableindexdoindex_import.log
DIRECTORY=LOADING_DOCK TABLE_EXISTS_ACTION=REPLACE
EXCLUDE=TABLE/INDEX/DOMAIN_INDEX
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported “RAD_NHD”.“RAD_FSHTD_L_OS” 2.272 MB 3830 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type
TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job “RAD_NHD”.“SYS_IMPORT_FULL_03” successfully completed at 11:02:27
If I cannot convince you with this evidence, how about an option to add a custom
filter or somehow tack DOMAIN_INDEX on the backend of the existing TABLE/INDEX
option?
Thanks for responding to this issue so quickly.
Cheers,
Paul