1 SQL>createtablet1(idnumber,t_datedate);
2 SQL>insertintot1values(1,to_date('2022‐01‐11','yyyy‐mm‐dd'));
3 SQL>insertintot1values(2,to_date('2022‐02‐11','yyyy‐mm‐dd'));
4 SQL>insertintot1values(3,to_date('2022‐03‐11','yyyy‐mm‐dd'));
5 SQL>insertintot1values(4,to_date('2022‐04‐11','yyyy‐mm‐dd'));
6 SQL>insertintot1values(5,to_date('2022‐05‐11','yyyy‐mm‐dd'));
7 SQL>insertintot1values(6,to_date('2022‐06‐11','yyyy‐mm‐dd'));
8 SQL>insertintot1values(7,to_date('2022‐07‐11','yyyy‐mm‐dd'));
9 SQL>insertintot1values(8,to_date('2022‐08‐11','yyyy‐mm‐dd'));
10 SQL>insertintot1values(9,to_date('2022‐09‐11','yyyy‐mm‐dd'));
11 SQL>insertintot1values(10,to_date('2022‐10‐11','yyyy‐mm‐dd'));
12 SQL>insertintot1values(11,to_date('2022‐11‐11','yyyy‐mm‐dd'));
13 SQL>insertintot1values(12,to_date('2022‐12‐11','yyyy‐mm‐dd'));
14 SQL>commit;
15 SQL>createindext_date_indont1(t_date);
1 SQL>Select*fromt1wheret_date=to_date('2022‐03‐11','yyyy‐mm‐dd');
2
3 IDT_DATE
4 ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
5 311‐MAR‐22
6 ExecutionPlan
7 ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
8 Planhashvalue: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 ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
‐‐
15 PredicateInformation(identifiedbyoperationid):
16 ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
文档被以下合辑收录
评论