我正在使用oracle 11g。
在我的数据库中,我有一个rqnge间隔的表,间隔是1个月。
当我在表格中执行insert-select时,它会进入无限循环。
但是我执行相同的插入选择到其他分区表 - 不是间隔一,它传递很好。
我在一个测试简单插页上做了一个跟踪,我得到的是:
insert into "DELIVERY_BY_MONTH_PART" (SAVE_MNTH)
values
(trunc (to_date('01/01/2018', 'dd/mm/yyyy'), 'month'))
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 1.40 5.37 0 228 23167 1
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 1.40 5.37 0 228 23167 1
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 21300
Rows Row Source Operation
------- ---------------------------------------------------
0 LOAD TABLE CONVENTIONAL DELIVERY_BY_MONTH_PART (cr=153359 pr=0 pw=0 time=5899030 us)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
control file sequential read 880 0.00 0.09
db file sequential read 88 0.00 0.00
Disk file operations I/O 132 0.14 0.27
Data file init write 44 0.00 0.00
db file single write 44 0.00 0.00
control file parallel write 132 0.00 0.02
rdbms ipc reply 44 0.00 0.06
log file sync 1 0.00 0.00
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 15.24 15.24
********************************************************************************
有人??
感谢。