MV快速重新整理時執行的SQL
MV快速執行時所涉及的比對SQL:[@more@]SELECT /*+ remote_mapped(SZPADB_CCADMIN) */
CURRENT$."MAPPING_FIELD_ID",
CURRENT$."TENANT_ID",
CURRENT$."FIELD_NAME",
CURRENT$."REMARK",
CURRENT$."CREATE_TIME",
CURRENT$."TABLE_NAME",
CURRENT$."RESERVE1",
CURRENT$."RESERVE2",
CURRENT$."FILE_UPLOAD_ID",
CURRENT$."CREATE_ID",
CURRENT$."CREATE_ORGAN_ID",
CURRENT$."EDIT_TIME",
CURRENT$."EDIT_ORGAN_ID",
CURRENT$."EDIT_ID",
CURRENT$."DATA_TYPE",
CURRENT$."EDIT_CODE",
CURRENT$."FIELD_LENGTH",
CURRENT$."FIELD_SHOW_NAME",
CURRENT$."INPUT_TYPE",
CURRENT$."IS_PHONE_NUMBER",
CURRENT$."CREATE_CODE",
CURRENT$."TEMP_FIELD_NAME",
CURRENT$."MAPPING_RULE_ID",
CURRENT$."IS_PASSWORD"
FROM (SELECT "CRM_FILE_MAPPING_FIELD"."MAPPING_FIELD_ID" "MAPPING_FIELD_ID",
"CRM_FILE_MAPPING_FIELD"."TENANT_ID" "TENANT_ID",
"CRM_FILE_MAPPING_FIELD"."FIELD_NAME" "FIELD_NAME",
"CRM_FILE_MAPPING_FIELD"."REMARK" "REMARK",
"CRM_FILE_MAPPING_FIELD"."CREATE_TIME" "CREATE_TIME",
"CRM_FILE_MAPPING_FIELD"."TABLE_NAME" "TABLE_NAME",
"CRM_FILE_MAPPING_FIELD"."RESERVE1" "RESERVE1",
"CRM_FILE_MAPPING_FIELD"."RESERVE2" "RESERVE2",
"CRM_FILE_MAPPING_FIELD"."FILE_UPLOAD_ID" "FILE_UPLOAD_ID",
"CRM_FILE_MAPPING_FIELD"."CREATE_ID" "CREATE_ID",
"CRM_FILE_MAPPING_FIELD"."CREATE_ORGAN_ID" "CREATE_ORGAN_ID",
"CRM_FILE_MAPPING_FIELD"."EDIT_TIME" "EDIT_TIME",
"CRM_FILE_MAPPING_FIELD"."EDIT_ORGAN_ID" "EDIT_ORGAN_ID",
"CRM_FILE_MAPPING_FIELD"."EDIT_ID" "EDIT_ID",
"CRM_FILE_MAPPING_FIELD"."DATA_TYPE" "DATA_TYPE",
"CRM_FILE_MAPPING_FIELD"."EDIT_CODE" "EDIT_CODE",
"CRM_FILE_MAPPING_FIELD"."FIELD_LENGTH" "FIELD_LENGTH",
"CRM_FILE_MAPPING_FIELD"."FIELD_SHOW_NAME" "FIELD_SHOW_NAME",
"CRM_FILE_MAPPING_FIELD"."INPUT_TYPE" "INPUT_TYPE",
"CRM_FILE_MAPPING_FIELD"."IS_PHONE_NUMBER" "IS_PHONE_NUMBER",
"CRM_FILE_MAPPING_FIELD"."CREATE_CODE" "CREATE_CODE",
"CRM_FILE_MAPPING_FIELD"."TEMP_FIELD_NAME" "TEMP_FIELD_NAME",
"CRM_FILE_MAPPING_FIELD"."MAPPING_RULE_ID" "MAPPING_RULE_ID",
"CRM_FILE_MAPPING_FIELD"."IS_PASSWORD" "IS_PASSWORD"
FROM "CRM_FILE_MAPPING_FIELD") CURRENT$,
(SELECT DISTINCT MLOG$."MAPPING_FIELD_ID" "MAPPING_FIELD_ID"
FROM "CCADMIN"."MLOG$_CRM_FILE_MAPPING_FIE"@SZPADB_CCADMIN MLOG$
WHERE "SNAPTIME$$" > :1
AND ("DMLTYPE$$" != 'D')) LOG$
WHERE CURRENT$."MAPPING_FIELD_ID" = LOG$."MAPPING_FIELD_ID"
CURRENT$."MAPPING_FIELD_ID",
CURRENT$."TENANT_ID",
CURRENT$."FIELD_NAME",
CURRENT$."REMARK",
CURRENT$."CREATE_TIME",
CURRENT$."TABLE_NAME",
CURRENT$."RESERVE1",
CURRENT$."RESERVE2",
CURRENT$."FILE_UPLOAD_ID",
CURRENT$."CREATE_ID",
CURRENT$."CREATE_ORGAN_ID",
CURRENT$."EDIT_TIME",
CURRENT$."EDIT_ORGAN_ID",
CURRENT$."EDIT_ID",
CURRENT$."DATA_TYPE",
CURRENT$."EDIT_CODE",
CURRENT$."FIELD_LENGTH",
CURRENT$."FIELD_SHOW_NAME",
CURRENT$."INPUT_TYPE",
CURRENT$."IS_PHONE_NUMBER",
CURRENT$."CREATE_CODE",
CURRENT$."TEMP_FIELD_NAME",
CURRENT$."MAPPING_RULE_ID",
CURRENT$."IS_PASSWORD"
FROM (SELECT "CRM_FILE_MAPPING_FIELD"."MAPPING_FIELD_ID" "MAPPING_FIELD_ID",
"CRM_FILE_MAPPING_FIELD"."TENANT_ID" "TENANT_ID",
"CRM_FILE_MAPPING_FIELD"."FIELD_NAME" "FIELD_NAME",
"CRM_FILE_MAPPING_FIELD"."REMARK" "REMARK",
"CRM_FILE_MAPPING_FIELD"."CREATE_TIME" "CREATE_TIME",
"CRM_FILE_MAPPING_FIELD"."TABLE_NAME" "TABLE_NAME",
"CRM_FILE_MAPPING_FIELD"."RESERVE1" "RESERVE1",
"CRM_FILE_MAPPING_FIELD"."RESERVE2" "RESERVE2",
"CRM_FILE_MAPPING_FIELD"."FILE_UPLOAD_ID" "FILE_UPLOAD_ID",
"CRM_FILE_MAPPING_FIELD"."CREATE_ID" "CREATE_ID",
"CRM_FILE_MAPPING_FIELD"."CREATE_ORGAN_ID" "CREATE_ORGAN_ID",
"CRM_FILE_MAPPING_FIELD"."EDIT_TIME" "EDIT_TIME",
"CRM_FILE_MAPPING_FIELD"."EDIT_ORGAN_ID" "EDIT_ORGAN_ID",
"CRM_FILE_MAPPING_FIELD"."EDIT_ID" "EDIT_ID",
"CRM_FILE_MAPPING_FIELD"."DATA_TYPE" "DATA_TYPE",
"CRM_FILE_MAPPING_FIELD"."EDIT_CODE" "EDIT_CODE",
"CRM_FILE_MAPPING_FIELD"."FIELD_LENGTH" "FIELD_LENGTH",
"CRM_FILE_MAPPING_FIELD"."FIELD_SHOW_NAME" "FIELD_SHOW_NAME",
"CRM_FILE_MAPPING_FIELD"."INPUT_TYPE" "INPUT_TYPE",
"CRM_FILE_MAPPING_FIELD"."IS_PHONE_NUMBER" "IS_PHONE_NUMBER",
"CRM_FILE_MAPPING_FIELD"."CREATE_CODE" "CREATE_CODE",
"CRM_FILE_MAPPING_FIELD"."TEMP_FIELD_NAME" "TEMP_FIELD_NAME",
"CRM_FILE_MAPPING_FIELD"."MAPPING_RULE_ID" "MAPPING_RULE_ID",
"CRM_FILE_MAPPING_FIELD"."IS_PASSWORD" "IS_PASSWORD"
FROM "CRM_FILE_MAPPING_FIELD") CURRENT$,
(SELECT DISTINCT MLOG$."MAPPING_FIELD_ID" "MAPPING_FIELD_ID"
FROM "CCADMIN"."MLOG$_CRM_FILE_MAPPING_FIE"@SZPADB_CCADMIN MLOG$
WHERE "SNAPTIME$$" > :1
AND ("DMLTYPE$$" != 'D')) LOG$
WHERE CURRENT$."MAPPING_FIELD_ID" = LOG$."MAPPING_FIELD_ID"
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10130206/viewspace-1043175/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mv complate重新整理時使用DELETE OR TRUNCATE!delete
- 取消超時執行的sqlSQL
- 執行緒的快取何時重新整理?執行緒快取
- 提高對大批量資料時MV的重新整理效率
- oracle查詢sql執行耗時、執行時間、sql_idOracleSQL
- JProgressBar Demo 執行緒實時重新整理資訊執行緒
- 【PL/SQL】在PL/SQL中執行重新整理Shared Pool命令SQL
- 快速定位sql語句執行內容SQL
- MyBatis列印SQL執行時間MyBatisSQL
- 計算SQL執行時間SQL
- SQL Server中檢視SQL句子執行所用的時間SQLServer
- MV (Materialed View) 物化檢視的重新整理組View
- Mysql執行批量sql時的格式問題MySql
- 同時多個SQL命令執行的方法SQL
- JAMon監控SQL執行時間SQL
- oracle 中如何顯示sql語句的執行時間和sql語句的執行後的當前時間OracleSQL
- python執行時強制重新整理緩衝區Python
- 自適應查詢執行:在執行時提升Spark SQL執行效能SparkSQL
- SQL的執行SQL
- 在unix下定時執行oracle的sql方法(轉)OracleSQL
- 查詢正在執行的sql語句及該語句執行的時間SQL
- MySQL cron定時執行SQL語句MySql
- Oracle - 執行過的SQL、正在執行的SQL、消耗資源最多的SQLOracleSQL
- 透過pl/sql計算程式的執行時間SQL
- 通過pl/sql計算程式的執行時間SQL
- [轉]SQL Server 2000定時執行SQL語句SQLServer
- c#實現用SQL池(多執行緒),定時批量執行SQL語句 (轉)C#SQL執行緒
- mysql sql語句執行超時設定MySql
- SQL學習系列之對執行計時SQL
- 快照庫MV不能成功重新整理問題的解決
- 分享:ODC 如何精準展現 SQL 執行的耗時?SQL
- containerd容器執行時快速入門使用指南AI
- 物化檢視重新整理遞迴SQL獲取執行計劃報錯遞迴SQL
- SQL是如何執行的SQL
- SQL的執行計劃SQL
- 停止 FutrueBuilder 的重複重新整理和執行UI
- Lumen 實時記錄 SQL 執行解決方案SQL
- [MSSQL]sql 儲存過程定時執行方法SQL儲存過程