Difference between revisions of "EXPLAIN (PostgreSQL)"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page EXPLAIN to EXPLAIN (PostgreSQL))
Line 1: Line 1:
 
 
 
 
https://www.postgresql.org/docs/current/sql-explain.html
 
https://www.postgresql.org/docs/current/sql-explain.html
  
 +
<code>EXPLAIN --</code> show the execution plan of a statement
  
 
  .../...
 
  .../...

Revision as of 19:08, 5 August 2021

https://www.postgresql.org/docs/current/sql-explain.html

EXPLAIN -- show the execution plan of a statement

.../...
 ->  Index Scan using your_key on your_table your_table  (cost=0.43..8.39 rows=1 width=952) (actual time=1.030..1.030 rows=0 loops=39649)
       Index Cond: (id = your_id)
       Filter: (your_filter_id = ######)
       Rows Removed by Filter: 1
Planning Time: 0.441 ms
Execution Time: 50387.333 ms

Related terms

Activities

See also

Advertising: