Nonstop Database, HiRDB Version 9 Command Reference
SCAN # Table Name :aa...a(aa...a) bbbbbbbbbb(bb...b) (xx...x) cc...c{AA...A} Cost :d(ee...eROW) {T-BB...B,I-CC...C,P-DD...D,AND-EE...E,OR-FF...F} RDAREA :ff...f-CLM gg...g(hh...h) (ii...iRD/jj...jBES) [kkkk(kk...k),...] ll...l Rebalance :mm...m Scan Type :nn...n(oo...o) [pp...p] Index Name :qq...q rrrrrrrrrr(rr...r) (ss...s)tt...t SearchCnd :uu...u[vv...v],... KeyCnd :ww...w RowCnd :{HH...H} IfThenCnd :{II...I} |
(+C1,-C2)
(C1[(1U)+/A/B/C])
(C1[(1U)+declare namespace aaa ="http://www.w3.org/XML/1998/namespace";/A/B/aaa:C])
(C1[(1U)+/A/B/xml:C])
WITHIN(C1,..)[SCAN TYPE]
CONTAINS (C1,..)[INDEX SCAN TYPE]
SEARCHFEATUREDATA (C1,..)[FULL SCAN TYPE]
SCAN # Table Name :aa...a(aa...a) bbbbbbbbbb(bb...b) (CC...C) cc...c{DD...DD} Cost :d (ee...eROW) {T-EE...E,I-FF...F,P-GG...G,AND-HH...H,OR-II...I} RDAREA :ff...f-CLM gg...g(hh...h) (ii...iRD/jj...jBES) [kkkk(kk...k),...] LL...L Rebalance :mm...m Scan Type :nn...n [oo...o] Index Name :pp...p = qq...q rrrrrrrrrr(rr...r) (ss...s) tt...t BB...B{KK...K} Scan Type :uu...u SearchCnd :vv...v[ww...w],... KeyCnd :xx...x RowCnd :{HH...H} IfThenCnd :{NN...N} pp...p = qq...q rrrrrrrrrr(rr...r) (ss...s) tt...t BB...B{KK...K} Scan Type :uu...u SearchCnd :vv...v[ww...w],... KeyCnd :xx...x RowCnd :{HH...H} IfThenCnd :{NN...N} pp...p = [yy...y zz...z{JJ...J}] AA...A[yy...y zz...z{JJ...J}] RowCnd :{MM...M} IfThenCnd :{OO...O} |
(+C1,-C2)
(C1[(1U)+/A/B/C])
(C1[(1U)+declare namespace aaa ="http://www.w3.org/XML/1998/namespace";/A/B/aaa:C])
(C1[(1U)+/A/B/xml:C])
WITHIN(C1,..)[SCAN TYPE]
CONTAINS (C1,..)[INDEX SCAN TYPE]
SEARCHFEATUREDATA (C1,..)[FULL SCAN TYPE]
where C1='A' work table number: 1 or C2=between 'a' and 'z' work table number: 2
: Scan Type :AND PLURAL INDEXES SCAN Index Name :LID(1)=IX1 (1) (+C1) Scan Type :INDEX SCAN SearchCnd :AT['A'] LID(2)=IX2 (1) (+C2) Scan Type :INDEX SCAN SearchCnd :RANGE(CS-CE) ['a','z'] LID(3)=[LID(1) LIST(SORT){..}] OR [LID(2) LIST(SORT){..}] |
SCAN # Table Name :aa...a(aa...a) bbbbbbbbbb(bb...b) (zz...z) Cost :c (dd...dROW) {T-AA...A,I-BB...B,P-CC...C,AND-DD...D,OR-EE...E} RDAREA :ee...e-CLM ff...f(gg...g) (hh...hRD/ii...iBES) [jjjj(jj...j),...] kk...k Rebalance :ll...l Scan Type :SELECT-APSL Table Name :mm...m(mm...m) nnnnnnnnnn(nn...n) Column ID :oooooo(oo...o) Predicate :pp...p Threshold :qq...q [1] rr...r ................................................1 Index Name :ss...s tttttttttt(tt...t) (uu...u) vv...v SearchCnd :ww...w[xx...x],... KeyCnd :yy...y RowCnd :{FF...F} [2] rr...r ................................................2 Index Name :ss...s tttttttttt(tt...t) (uu...u) vv...v SearchCnd :ww...w[xx...x],... KeyCnd :yy...y RowCnd :{FF...F} IfThenCnd :{GG...G} |
(+C1,-C2)
SCAN # Table Name :aa...a(aa...a) bbbbbbbbbb(bb...b) (AA...A) Cost :c (dd...dROW) {T-BB...B,I-CC...C,P-DD...D,AND-EE...E,OR-FF...F} RDAREA :ee...e-CLM ff...f(gg...g) (hh...hRD/ii...iBES) [jjjj(jj...j),...] kk...k Rebalance :ll...l Scan Type :SELECT-APSL Table Name :mm...m(mm...m) nnnnnnnnnn(nn...n) Column ID :oooooo(oo...o) Predicate :pp...p Threshold :qq...q [1] rr...r (ss...s) ........................................1 Index Name :tt...t uuuuuuuuuu(uu...u) (vv...v) ww...w SearchCnd :xx...x[yy...y],... KeyCnd :zz...z RowCnd :{GG...G} IfThenCnd :{HH...H} [2] SELECT-APSL (ss...s) ...................................2 Table Name :mm...m(mm...m) nnnnnnnnnn(nn...n) Column ID :oooooo(oo...o) Predicate :pp...p Threshold :qq...q [1] rr...r ..............................................3 Index Name :tt...t uuuuuuuuuu(uu...u) (vv...v) ww...w SearchCnd :xx...x[yy...y],... KeyCnd :zz...z RowCnd :{GG...G} IfThenCnd :{HH...H} [2] rr...r ..............................................4 RowCnd :{GG...G} IfThenCnd :{HH...H} |
(+C1,-C2)
SCAN # Table Name :aa...a(aa...a) bbbbbbbbbb(bb...b) {AA...A} Cost :(cc...cROW) {T-BB...B} Scan Type :dd...d RowCnd :{CC...C} IfThenCnd :{DD...D} |
SCAN # Table Name :aa...a(aa...a) {AA...A} Cost :(bb...bROW) {T-BB...B} Scan Type :cc...c RowCnd :{CC...C} IfThenCnd :{DD...D} |
SCAN # Table Name :aa...a(aa...a) {AA...A} Cost :(bb...bROW) {T-BB...B} Scan Type :cc...c RowCnd :{CC...C} IfThenCnd :{DD...D} |
SCAN # Table Name :aa...a {AA...A} Cost :(bb...bROW) {T-BB...B} Scan Type :cc...c RowCnd :{CC...C} IfThenCnd :{DD...D} |
--- SELECT-APSL --- Table Name :aa...a(aa...a) bbbbbbbbbb(bb...b) Column ID :cccccc(cc...c) Predicate :dd...d Threshold :ee...e [1] ......................................................1 Section No :ff...f : [2] ......................................................2 Section No :ff...f : |
1 and 2 indicate the first candidate and second candidate, respectively, for the access path. For details about the types of access paths, see 17.5.8 Types of access paths.
For a HiRDB single server configuration, the single server creates two SQL objects for the entire SQL statement without executing SELECT-APSL for each join and retrieval processing.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.