zoukankan      html  css  js  c++  java
  • 根据rowid回表

    select rowid from T_PM_DEPOSIT_HIS partition(DEPOSIT_HIS_20120104) ;
    
    
    SQL> set linesize 200
    SQL> set pagesize 200
    SQL> set autot trace
    
    ----该条数据取自partition(DEPOSIT_HIS_20120104) 分区
    SQL> select * from T_PM_DEPOSIT_HIS where rowid='AAAqFKAAYAABTzUAAB';
    
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1146909301
    
    ---------------------------------------------------------------------------------------------------------------
    | Id  | Operation		        | Name	      | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    ---------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT	        |		      |     1 |   183 |     1	(0)| 00:00:01 |       |       |
    |   1 |  TABLE ACCESS BY USER ROWID| T_PM_DEPOSIT_HIS |     1 |   183 |     1	(0)| 00:00:01 | ROWID | ROWID |
    ---------------------------------------------------------------------------------------------------------------
    
    
    Statistics
    ----------------------------------------------------------
    	  5  recursive calls
    	  0  db block gets
    	  3  consistent gets
    	  0  physical reads
    	  0  redo size
           2236  bytes sent via SQL*Net to client
    	524  bytes received via SQL*Net from client
    	  2  SQL*Net roundtrips to/from client
    	  0  sorts (memory)
    	  0  sorts (disk)
    	  1  rows processed


     

  • 相关阅读:
    js阻止事件冒泡和标签默认行为
    Sql server不同数据类型间拼接(+)
    win7 激活相关
    查找算法
    算法基础
    requests库使用
    python urllib和urllib3包使用
    爬虫工具fiddle在firefox浏览器中的使用
    爬虫抓包工具Fiddle设置
    爬虫抓包工具Charles设置
  • 原文地址:https://www.cnblogs.com/zhaoyangjian724/p/3798081.html
Copyright © 2011-2022 走看看