0% found this document useful (0 votes)
144 views

Table

The document contains the output of an SQL query that selects alter table statements to move tables from the SYSTEM tablespace to a data_tbl tablespace. There are over 100 alter table statements listed, moving tables for various Oracle schemas like MDSYS, ORDSYS, SCOTT, and others.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
144 views

Table

The document contains the output of an SQL query that selects alter table statements to move tables from the SYSTEM tablespace to a data_tbl tablespace. There are over 100 alter table statements listed, moving tables for various Oracle schemas like MDSYS, ORDSYS, SCOTT, and others.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

SQL> select 'alter table '|| owner || '.

' || segment_name || ' move tablespace d


ata_tbl;' kueri
2 from dba_segments
3 where tablespace_name ='SYSTEM'
4 and owner not in ('SYSTEM','SYS')
5 and segment_type ='TABLE';
KUERI
-------------------------------------------------------------------------------alter table OUTLN.OL$ move tablespace data_tbl;
alter table OUTLN.OL$HINTS move tablespace data_tbl;
alter table ORDSYS.JACCELERATOR$DLL_ERRORS move tablespace data_tbl;
alter table ORDSYS.JACCELERATOR$STATUS move tablespace data_tbl;
alter table ORDSYS.ORD_INSTALLATIONS move tablespace data_tbl;
alter table ORDSYS.ORD_CARTRIDGE_COMPONENTS move tablespace data_tbl;
alter table ORDSYS.CREATE$JAVA$LOB$TABLE move tablespace data_tbl;
alter table ORDSYS.JAVA$CLASS$MD5$TABLE move tablespace data_tbl;
alter table MDSYS.OGIS_SPATIAL_REFERENCE_SYSTEMS move tablespace data_tbl;
alter table MDSYS.OGIS_GEOMETRY_COLUMNS move tablespace data_tbl;
alter table MDSYS.MD$TAB move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table MDSYS.MD$PTS move tablespace data_tbl;
alter table MDSYS.MD$PTAB move tablespace data_tbl;
alter table MDSYS.MD$COL move tablespace data_tbl;
alter table MDSYS.MD$DIM move tablespace data_tbl;
alter table MDSYS.MD$LER move tablespace data_tbl;
alter table MDSYS.MD$EXC move tablespace data_tbl;
alter table MDSYS.MD$DICTVER move tablespace data_tbl;
alter table MDSYS.SDO_GEOM_METADATA_TABLE move tablespace data_tbl;
alter table MDSYS.SDO_INDEX_METADATA_TABLE move tablespace data_tbl;
alter table MDSYS.FINAL_PARTITION move tablespace data_tbl;
alter table MDSYS.PARTITION_TMP_2 move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table MDSYS.PARTITION_TMP_3 move tablespace data_tbl;
alter table SCOTT.EMP move tablespace data_tbl;
alter table SCOTT.DEPT move tablespace data_tbl;
alter table SCOTT.MLOG$_EMP move tablespace data_tbl;
alter table SCOTT.EMP_SNAPSHOT move tablespace data_tbl;
alter table OUTLN.OL$NODES move tablespace data_tbl;
alter table MDSYS.WFS_FTXSDINFO$ move tablespace data_tbl;
alter table ORDSYS.JACCELERATOR$DLLS move tablespace data_tbl;
alter table MDSYS.USER_CS_SRS move tablespace data_tbl;
alter table MDSYS.USER_TRANSFORM_MAP move tablespace data_tbl;
alter table MDSYS.SDO_GEOR_XMLSCHEMA_TABLE move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table MDSYS.SDO_GEOR_SYSDATA_TABLE move tablespace data_tbl;
alter table MDSYS.SDO_MAPS_TABLE move tablespace data_tbl;
alter table MDSYS.SDO_STYLES_TABLE move tablespace data_tbl;
alter table MDSYS.SDO_THEMES_TABLE move tablespace data_tbl;
alter table MDSYS.SDO_LRS_METADATA_TABLE move tablespace data_tbl;
alter table ORDSYS.SI_IMAGE_FORMATS_TAB move tablespace data_tbl;
alter table ORDSYS.SI_FEATURES_TAB move tablespace data_tbl;
alter table ORDSYS.SI_VALUES_TAB move tablespace data_tbl;
alter table MDSYS.SDO_TOPO_METADATA_TABLE move tablespace data_tbl;

alter table MDSYS.NDM_FINAL_PARTITION move tablespace data_tbl;


alter table MDSYS.NDM_PARTITION_TMP_2 move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table MDSYS.NDM_PARTITION_TMP_3 move tablespace data_tbl;
alter table DBSNMP.MGMT_SNAPSHOT move tablespace data_tbl;
alter table DBSNMP.MGMT_SNAPSHOT_SQL move tablespace data_tbl;
alter table DBSNMP.MGMT_BASELINE move tablespace data_tbl;
alter table DBSNMP.MGMT_BASELINE_SQL move tablespace data_tbl;
alter table DBSNMP.MGMT_CAPTURE move tablespace data_tbl;
alter table DBSNMP.MGMT_CAPTURE_SQL move tablespace data_tbl;
alter table DBSNMP.MGMT_RESPONSE_CONFIG move tablespace data_tbl;
alter table DBSNMP.MGMT_LATEST move tablespace data_tbl;
alter table DBSNMP.MGMT_LATEST_SQL move tablespace data_tbl;
alter table DBSNMP.MGMT_HISTORY move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table DBSNMP.MGMT_HISTORY_SQL move tablespace data_tbl;
alter table DBSNMP.BSLN_102_DATASOURCES move tablespace data_tbl;
alter table DBSNMP.BSLN_102_BASELINES move tablespace data_tbl;
alter table DBSNMP.BSLN_102_INTERVALS move tablespace data_tbl;
alter table DBSNMP.BSLN_102_METRICS move tablespace data_tbl;
alter table DBSNMP.BSLN_102_STATISTICS move tablespace data_tbl;
alter table DBSNMP.BSLN_102_THRESHOLD_PARMS move tablespace data_tbl;
alter table MDSYS.CS_SRS_ORIG move tablespace data_tbl;
alter table MDSYS.SDO_CS_SRS move tablespace data_tbl;
alter table MDSYS.NTV2_XML_DATA move tablespace data_tbl;
alter table MDSYS.SDO_ELLIPSOIDS_OLD_SNAPSHOT move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table MDSYS.SDO_DATUMS_OLD_SNAPSHOT move tablespace data_tbl;
alter table MDSYS.SDO_UNITS_OF_MEASURE move tablespace data_tbl;
alter table MDSYS.SDO_PRIME_MERIDIANS move tablespace data_tbl;
alter table MDSYS.SDO_ELLIPSOIDS move tablespace data_tbl;
alter table MDSYS.SDO_DATUMS move tablespace data_tbl;
alter table MDSYS.SDO_COORD_SYS move tablespace data_tbl;
alter table MDSYS.SDO_COORD_AXIS_NAMES move tablespace data_tbl;
alter table MDSYS.SDO_COORD_AXES move tablespace data_tbl;
alter table MDSYS.SDO_COORD_REF_SYS move tablespace data_tbl;
alter table MDSYS.SDO_COORD_OP_METHODS move tablespace data_tbl;
alter table MDSYS.SDO_COORD_OPS move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table MDSYS.SDO_PREFERRED_OPS_SYSTEM move tablespace data_tbl;
alter table MDSYS.SDO_PREFERRED_OPS_USER move tablespace data_tbl;
alter table MDSYS.SDO_COORD_OP_PATHS move tablespace data_tbl;
alter table MDSYS.SDO_COORD_OP_PARAMS move tablespace data_tbl;
alter table MDSYS.SDO_COORD_OP_PARAM_USE move tablespace data_tbl;
alter table MDSYS.SDO_COORD_OP_PARAM_VALS move tablespace data_tbl;
alter table MDSYS.SRSNAMESPACE_TABLE move tablespace data_tbl;
alter table MDSYS.MD$RELATE move tablespace data_tbl;
alter table MDSYS.SDO_ANNOTATION_TEXT_METADATA move tablespace data_tbl;
alter table MDSYS.SDO_XML_SCHEMAS move tablespace data_tbl;
alter table MDSYS.SDO_GEOR_PLUGIN_REGISTRY move tablespace data_tbl;
KUERI

-------------------------------------------------------------------------------alter table MDSYS.SDO_NETWORK_METADATA_TABLE move tablespace data_tbl;


alter table MDSYS.SDO_NETWORK_USER_DATA move tablespace data_tbl;
alter table MDSYS.WFS_FEATURETABLEUPDATED$ move tablespace data_tbl;
alter table MDSYS.SDO_CACHED_MAPS_TABLE move tablespace data_tbl;
alter table MDSYS.SDO_CRS_GEOGRAPHIC_PLUS_HEIGHT move tablespace data_tbl;
alter table MDSYS.SDO_PROJECTIONS_OLD_SNAPSHOT move tablespace data_tbl;
alter table MDSYS.SDO_NETWORK_CONSTRAINTS move tablespace data_tbl;
alter table MGDSYS.MGD_IDENCODING_COMP_TAB move tablespace data_tbl;
alter table MGDSYS.MGD_IDENCODING_CATEGORY_TAB move tablespace data_tbl;
alter table MGDSYS.MGD_IDENCODING_TYPE_TAB move tablespace data_tbl;
alter table DBSNMP.BSLN_METRIC_DEFAULTS move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table DBSNMP.BSLN_BASELINES move tablespace data_tbl;
alter table DBSNMP.BSLN_STATISTICS move tablespace data_tbl;
alter table DBSNMP.BSLN_THRESHOLD_PARAMS move tablespace data_tbl;
alter table DBSNMP.MGMT_DB_FEATURE_LOG move tablespace data_tbl;
alter table ORDSYS.ORDDCM_DOC_TYPES move tablespace data_tbl;
alter table ORDSYS.ORDDCM_INSTALL_DOCS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_DOCS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_DOC_REFS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_VR_DT_MAP move tablespace data_tbl;
alter table ORDSYS.ORDDCM_STD_ATTRS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_PRV_ATTRS move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table ORDSYS.ORDDCM_DICT_ATTRS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_DAREFS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_MAPPING_DOCS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_MAPPED_PATHS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_ANON_RULE_TYPES move tablespace data_tbl;
alter table ORDSYS.ORDDCM_ANON_ACTION_TYPES move tablespace data_tbl;
alter table ORDSYS.ORDDCM_ANON_RULES move tablespace data_tbl;
alter table ORDSYS.ORDDCM_ANON_ATTRS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_PREFS_LOOKUP move tablespace data_tbl;
alter table ORDSYS.ORDDCM_RT_PREF_PARAMS move tablespace data_tbl;
alter table ORDSYS.ORDDCM_UID_DEFS move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table ORDSYS.ORDDCM_DATA_MODEL move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_PRED move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_PRED_OPRD move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_PRED_SET move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_MACRO_PAR move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_PRED_PAR move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_ACTION move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_VLD_MSG move tablespace data_tbl;
alter table ORDSYS.ORDDCM_DOCS_WRK move tablespace data_tbl;
alter table ORDSYS.ORDDCM_DOC_REFS_WRK move tablespace data_tbl;
alter table ORDSYS.ORDDCM_STD_ATTRS_WRK move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table ORDSYS.ORDDCM_PRV_ATTRS_WRK move tablespace data_tbl;
alter table ORDSYS.ORDDCM_DICT_ATTRS_WRK move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_DAREFS_WRK move tablespace data_tbl;

alter
alter
alter
alter
alter
alter
alter
alter

table
table
table
table
table
table
table
table

ORDSYS.ORDDCM_MAPPING_DOCS_WRK move tablespace data_tbl;


ORDSYS.ORDDCM_MAPPED_PATHS_WRK move tablespace data_tbl;
ORDSYS.ORDDCM_ANON_RULES_WRK move tablespace data_tbl;
ORDSYS.ORDDCM_ANON_ATTRS_WRK move tablespace data_tbl;
ORDSYS.ORDDCM_RT_PREF_PARAMS_WRK move tablespace data_tbl;
ORDSYS.ORDDCM_UID_DEFS_WRK move tablespace data_tbl;
ORDSYS.ORDDCM_DATA_MODEL_WRK move tablespace data_tbl;
ORDSYS.ORDDCM_CT_PRED_WRK move tablespace data_tbl;

KUERI
-------------------------------------------------------------------------------alter table ORDSYS.ORDDCM_CT_PRED_OPRD_WRK move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_PRED_SET_WRK move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_MACRO_PAR_WRK move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_PRED_PAR_WRK move tablespace data_tbl;
alter table ORDSYS.ORDDCM_CT_ACTION_WRK move tablespace data_tbl;
alter table ORDSYS.ORD_USAGE_RECS move tablespace data_tbl;
alter table MDSYS.SDO_NETWORK_LOCKS_WM move tablespace data_tbl;
alter table MDSYS.OPENLSSERVICES move tablespace data_tbl;
alter table MDSYS.OPENLS_NODES move tablespace data_tbl;
alter table MDSYS.OPENLS_XPATHS move tablespace data_tbl;
alter table MDSYS.OPENLS_CLASSIFICATIONS move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table MDSYS.OPENLS_NAMESPACES move tablespace data_tbl;
alter table MDSYS.OLS_DIR_BUSINESS_CHAINS move tablespace data_tbl;
alter table MDSYS.OLS_DIR_CATEGORY_TYPES move tablespace data_tbl;
alter table MDSYS.OLS_DIR_CATEGORIES move tablespace data_tbl;
alter table MDSYS.OLS_DIR_CATEGORIZATIONS move tablespace data_tbl;
alter table MDSYS.OLS_DIR_SYNONYMS move tablespace data_tbl;
alter table MDSYS.SDO_WS_CONFERENCE move tablespace data_tbl;
alter table MDSYS.SDO_WS_CONFERENCE_RESULTS move tablespace data_tbl;
alter table MDSYS.SDO_WS_CONFERENCE_PARTICIPANTS move tablespace data_tbl;
alter table MDSYS.WFS_FEATURETYPE$ move tablespace data_tbl;
alter table MDSYS.WFS_FEATURETYPETAGS$ move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table MDSYS.WFS_FEATUREINSTANCEMETADATA$ move tablespace data_tbl;
alter table MDSYS.WFS_CAPABILITIESINFO$ move tablespace data_tbl;
alter table MDSYS.WFS_FEATURETYPECOMPLEXTAGS$ move tablespace data_tbl;
alter table MDSYS.WFS_FEATURETYPEATTRS$ move tablespace data_tbl;
alter table MDSYS.WFS_FEATURETYPESIMPLETAGATTRS$ move tablespace data_tbl;
alter table MDSYS.WFS_FTTYPECOMPLEXTAGATTRS$ move tablespace data_tbl;
alter table MDSYS.WFS_PROC_MAP$ move tablespace data_tbl;
alter table MDSYS.WFS_FEATURETYPEXMLCOLINFO$ move tablespace data_tbl;
alter table MDSYS.WFS_FEATURETYPENESTEDSDOS$ move tablespace data_tbl;
alter table MDSYS.WFS_FEATURETABLEMDUPDATED$ move tablespace data_tbl;
alter table MDSYS.CURRENTSESSIONTOKENMAP_T$ move tablespace data_tbl;
KUERI
-------------------------------------------------------------------------------alter table MDSYS.TOKENSESSIONMAP_T$ move tablespace data_tbl;
alter table MDSYS.ROWTOKENMAP_T$ move tablespace data_tbl;
alter table MDSYS.WFS_TRG_TABLE_TEMP$ move tablespace data_tbl;
alter table MDSYS.CSW_RECORD_TYPES$ move tablespace data_tbl;
alter table MDSYS.CSW_DOMAININFO$ move tablespace data_tbl;
alter table MDSYS.CSW_CAPABILITIESINFO$ move tablespace data_tbl;
alter table MDSYS.CSW_HARVESTMETADATA$ move tablespace data_tbl;

alter
alter
alter
alter

table
table
table
table

MDSYS.CSW_RECORDTABLEMDUPDATED$ move tablespace data_tbl;


MDSYS.CSW_RECORDTABLEUPDATED$ move tablespace data_tbl;
MDSYS.CSW_RECORDDOMAINUPDATED$ move tablespace data_tbl;
MDSYS.CSW_RECORDVIEWMAP$ move tablespace data_tbl;

KUERI
-------------------------------------------------------------------------------alter table MDSYS.CSW_RTXSDINFO$ move tablespace data_tbl;
alter table MDSYS.CSW_PLUGIN_MAP$ move tablespace data_tbl;
alter table MDSYS.CSW_TRG_TABLE_TEMP$ move tablespace data_tbl;
alter table MDSYS.SDO_PC_BLK_TABLE move tablespace data_tbl;
alter table MDSYS.SDO_TIN_BLK_TABLE move tablespace data_tbl;
alter table MDSYS.SDO_TIN_PC_SEQ move tablespace data_tbl;
alter table MDSYS.SDO_TIN_PC_SYSDATA_TABLE move tablespace data_tbl;
194 rows selected.
SQL> SPOOL OFF

You might also like