Oracle's own table

oracle built-in table

 
[sql] 
--oracle common system table  
/*  
dba_begins.....  
dba_users database user information  
   dba_segments table segment information  
   dba_extents data area information  
   dba_objects database object information  
   dba_tablespaces database tablespace information  
   dba_data_files Data file setup information  
   dba_temp_files temporary data file information  
   dba_rollback_segs rollback segment information  
   dba_ts_quotas user tablespace quota information  
   dba_free_space database free space information  
   dba_profiles database user resource limit information  
   System privilege information for the dba_sys_privs user  
   Object privilege information owned by the dba_tab_privs user  
   Column object privilege information owned by the dba_col_privs user  
   Role information of the dba_role_privs user  
   dba_audit_trail audit trail record information  
   dba_stmt_audit_opts audit setting information  
   dba_audit_object object audit result information  
   dba_audit_session session audit result information  
   dba_indexes user mode index information  
user_ begins  
   user_objects User object information  
   All resource object information of user_source database user  
   user_segments user's table segment information  
   user_tables user's table object information  
   user_tab_columns user's table column information  
   user_constraints User's object constraint information  
   user_sys_privs System privilege information of the current user  
   user_tab_privs Object privilege information of the current user  
   user_col_privs List privilege information of the current user  
   user_role_privs The role permission information of the current user  
   user_indexes user's index information  
   Table column information corresponding to the index of the user user_ind_columns  
   user_cons_columns Table column information corresponding to the user's constraints  
   user_clusters User all cluster information  
   user_clu_columns Content information contained in the user's cluster  
   user_cluster_hash_expressions Hash cluster information  
start with v$  
   v$database database information  
   v$datafile data file information  
   v$controlfile control file information  
   v$logfile redo log information  
   v$instance database instance information  
   v$log log group information  
   v$loghist log history information  
   v$sga database SGA information  
   v$parameter initialization parameter information  
   v$process database server process information  
   v$bgprocess database background process information  
   v$controlfile_record_section The information of each section recorded in the control file  
   v$thread thread information  
   v$datafile_header Information recorded in the data file header  
   v$archived_log Archived log information  
   v$archive_dest Archive log setting information  
   v$logmnr_contents DML DDL result information of archived log analysis  
   v$logmnr_dictionary Dictionary file information for log analysis  
   v$logmnr_logs Log list information for log analysis  
   v$tablespace tablespace information  
   v$tempfile temporary file information  
   v$filestat I/O statistics for data files  
   v$undostat Undo data information  
   v$rollname Online rollback segment information  
   v$session session information  
   v$transaction transaction information  
   v$rollstat rollback segment statistics  
   v$pwfile_users Privileged User Information  
   v$sqlarea The resources and related information accessed by the currently queried sql statement  
   v$sql has basically the same related information as v$sqlarea  
   v$sysstat database system status information  
all_begins  
   all_users database all user information  
   all_objects Information about all objects in the database  
   all_def_audit_opts All default audit settings information  
   all_tables All table object information  
   all_indexes Information about all database object indexes  
session_beginning  
   session_roles session role information  
   session_privs session privilege information  
index_ begins  
   index_stats index settings and storage information  
Pseudo table  
   dual system pseudo list information  
*/  
  
-- delete table object  
select 'drop table '||segment_name from dba_segments where owner='VPMUSER' and segment_type='TABLE';  
--create table object  
select  
'create table '||segment_name || ' as select * from '||segment_name ||'@DBLINK'  
from dba_segments where owner='VPMUSER' and segment_type='TABLE';  
  
Check if the table is fully imported  
select segment_name from dba_segments@aaa where owner='VPMUSER' and segment_type='TABLE'   
and (segment_name not like 'BIN$%'  
and segment_name not like '%201%')  
minus  
select segment_name from dba_segments where owner='VPMUSER' and segment_type='TABLE'  and segment_name not like 'BIN$%'  

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326585945&siteId=291194637
own