1sql>createtablet1(idnumber,t_datedate);
2sql>insertintot1values(1,to_date('2022‐01‐11','yyyy‐mm‐dd'));
3sql>insertintot1values(2,to_date('2022‐02‐11','yyyy‐mm‐dd'));
4sql>insertintot1values(3,to_date('2022‐03‐11','yyyy‐mm‐dd'));
5sql>insertintot1values(4,to_date('2022‐04‐11','yyyy‐mm‐dd'));
6sql>insertintot1values(5,to_date('2022‐05‐11','yyyy‐mm‐dd'));
7sql>insertintot1values(6,to_date('2022‐06‐11','yyyy‐mm‐dd'));
8sql>insertintot1values(7,to_date('2022‐07‐11','yyyy‐mm‐dd'));
9sql>insertintot1values(8,to_date('2022‐08‐11','yyyy‐mm‐dd'));
10sql>insertintot1values(9,to_date('2022‐09‐11','yyyy‐mm‐dd'));
11sql>insertintot1values(10,to_date('2022‐10‐11','yyyy‐mm‐dd'));
12sql>insertintot1values(11,to_date('2022‐11‐11','yyyy‐mm‐dd'));
13sql>insertintot1values(12,to_date('2022‐12‐11','yyyy‐mm‐dd'));
14sql>commit;
15sql>createindext_date_indont1(t_date);
1sql>select*fromt1wheret_date=to_date('2022‐03‐11','yyyy‐mm‐dd');
2
3idt_date
4‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
5311‐mar‐22
6executionplan
7‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
8planhashvalue:3617692013
9‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
‐
10|id|operation|name|rows|bytes|cost(%cpu)|time|
11‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
‐‐
12|0|selectstatement||1|22|2(0)|00:00:01|
13|*1|tableaccessfull|t1|1|22|2(0)|00:00:01|
14‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
‐‐
15predicateinformation(identifiedbyoperationid):
16‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
文档被以下合辑收录
评论