Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sql:explain:home [2010/05/12 21:37]
tdo
sql:explain:home [2012/10/26 14:51] (current)
Line 36: Line 36:
  
 Any time see Retrieve, Omnidex had to read the data files. Any time see Retrieve, Omnidex had to read the data files.
 +==== Optimization ====
 +
 +Nested queries can many times be optimized by Omnidex automatically.
 +Some SQL statements that look complex like nested queries can be optimized by Omnidex.
 +
 +Omnidex can look inside nested queries in the WHERE clause and can re-write the SQL and optimize.
 +
 +Nested Queries in the FROM clause rarely allow Omnidex to do optimization.
 +
 +Try to re-work sub-queries in the FROM clause and put them in the WHERE clause.
 +
 +=== Nested Queries ===
 +
 +select count(*) from INDIVIDUAL ​
 +
 +What enables navigation from child to parent is just putting prejoin on a constraint.
 +
 +Typically don't have to create custom indexes for this type of prejoin index operation.
 +
 +custom indexes with prejoins can have further options such as record_complex and record_specific.
  
 {{page>:​bottom_add&​nofooter&​noeditbtn}} {{page>:​bottom_add&​nofooter&​noeditbtn}}
 
Back to top
sql/explain/home.1273700264.txt.gz ยท Last modified: 2012/10/26 14:48 (external edit)