Difference between revisions of "EXPLAIN"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 25: | Line 25: | ||
EXPLAIN SELECT * FROM example | EXPLAIN SELECT * FROM example | ||
sqlcnt=100 | sqlcnt=100 | ||
− | EXPLAIN SELECT * FROM example WHERE start_date | + | EXPLAIN SELECT * FROM example WHERE start_date < date() |
Could not optimize WHERE condition | Could not optimize WHERE condition | ||
− | sqlcnt= | + | sqlcnt=100 |
EXPLAIN SELECT * FROM example WHERE account_no = '000' | EXPLAIN SELECT * FROM example WHERE account_no = '000' | ||
Optimized using index tag 'ACCOUNT_NO' | Optimized using index tag 'ACCOUNT_NO' |
Revision as of 15:21, 12 October 2009
Class
Performance and Optimization
Purpose
Syntax
See Also
Description
Example
EXPLAIN SELECT * FROM example sqlcnt=100 EXPLAIN SELECT * FROM example WHERE start_date < date() Could not optimize WHERE condition sqlcnt=100 EXPLAIN SELECT * FROM example WHERE account_no = '000' Optimized using index tag 'ACCOUNT_NO' sqlcnt=99
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer