File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
<p >
4
4
<a href =" " ><img src =" https://img.shields.io/badge/postgresql-13+-blue.svg " alt =" PostgreSQL version " height =" 18 " ></a >
5
- <a href =" https://github.com/supabase/index_advisor/blob/master/LICENSE " ><img src =" https://img.shields.io/pypi/l/markdown-subtemplate.svg " alt =" License " height =" 18 " ></a >
5
+ <a href =" https://github.com/supabase/index_advisor/blob/master/LICENSE " ><img src =" https://img.shields.io/github/license/supabase/index_advisor " alt =" License " height =" 18 " ></a >
6
6
<a href =" https://github.com/supabase/index_advisor/actions " ><img src =" https://github.com/supabase/index_advisor/actions/workflows/test.yml/badge.svg " alt =" tests " height =" 18 " ></a >
7
7
8
8
</p >
9
9
10
- ---
11
-
12
10
A PostgreSQL extension for recommending indexes to improve query performance.
13
11
14
- Features:
12
+ ![ Dashboard] ( ./docs/img/dashboard.png )
13
+
14
+ ## Features
15
+
15
16
- Supports generic parameters e.g. ` $1 ` , ` $2 `
16
17
- Supports materialized views
17
18
- Identifies tables/columns obfuscaed by views
@@ -53,9 +54,13 @@ select
53
54
from
54
55
index_advisor(' select book.id from book where title = $1' );
55
56
57
+ ```
58
+
59
+ ``` markdown
56
60
startup_cost_before | startup_cost_after | total_cost_before | total_cost_after | index_statements | errors
57
61
---------------------+--------------------+-------------------+------------------+-----------------------------------------------------+--------
58
62
0.00 | 1.17 | 25.88 | 6.40 | {"CREATE INDEX ON public.book USING btree (title)"},| {}
63
+
59
64
(1 row)
60
65
```
61
66
111
116
and publisher.id = $2
112
117
' );
113
118
119
+ ```
120
+
121
+ ``` markdown
114
122
startup_cost_before | startup_cost_after | total_cost_before | total_cost_after | index_statements | errors
115
123
---------------------+--------------------+-------------------+------------------+-----------------------------------------------------------+--------
116
124
27.26 | 12.77 | 68.48 | 42.37 | {"CREATE INDEX ON public.book USING btree (author_id)", | {}
You can’t perform that action at this time.
0 commit comments