1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2024-11-28 08:58:52 +02:00
Commit Graph

237 Commits

Author SHA1 Message Date
Hubert depesz Lubaczewski
23f69af2d8 Add hints from Pg::Explain::Hinter 2022-02-16 12:23:51 +01:00
Hubert depesz Lubaczewski
eddd052137 change output of find_interesting_plans 2022-02-06 17:00:12 +01:00
Hubert depesz Lubaczewski
5fd2f83e2e Scan all plans in db to find interesting ones
This is so that I will find things to work on for next improvements in
the site.
2022-02-04 13:17:57 +01:00
Hubert depesz Lubaczewski
0ae60772d9 Don't commit env files to git 2022-02-04 13:17:43 +01:00
Hubert depesz Lubaczewski
0951a8d583 move partitions to public schema 2021-11-23 13:16:20 +01:00
Hubert depesz Lubaczewski
bbd30be2ff Require Pg::Explain 1.13 or newer 2021-08-03 20:44:21 +02:00
Hubert depesz Lubaczewski
5d84a4356d Correctly display InitPlan details 2021-08-03 20:43:56 +02:00
Hubert depesz Lubaczewski
e8a5c5ce02 Force refetch of css 2021-07-18 20:02:54 +02:00
Hubert depesz Lubaczewski
0af9ea6170 Display plan settings 2021-07-18 20:00:49 +02:00
Hubert depesz Lubaczewski
4b3c52d9e8 Display buffers I/O information 2021-07-04 21:41:35 +02:00
Hubert depesz Lubaczewski
03723f668a Add copy-to-clipboard for query text 2021-06-10 12:12:53 +02:00
Hubert depesz Lubaczewski
4b2ce2469a update version of css and js, not to get cached 2021-06-09 00:03:08 +02:00
Hubert depesz Lubaczewski
b66c2f485e Many changes:
1. Help page is updated to newest functionality
2. you can now copy plans to clipboard (as requested by Eugen Konkov)
3. Rows removed by filters are displayed in plan view
4. URLs with #elements will now automatically open/select requested
   element (including: source, text, stats, specific lines) - also
   requested by Eugen Konkov.
5. Made explain.js a bit smarted about hiding/showing content when user
   clicks on tabs
6. Updated dependency to newest Pg::Explain
7. Fixed display of returned rows for multi-loop or multi-worker nodes
2021-06-08 23:56:14 +02:00
Hubert depesz Lubaczewski
c27474acdb More explicit help for how to get explain plan
Suggestion by Eugen Konkov.
2021-05-30 11:59:39 +02:00
Hubert Lubaczewski
2a143a88f3 Merge branch 'docker-fix' into 'master'
Add pgformatter to the Docker dependencies and move from stretch to buster

See merge request depesz/explain.depesz.com!19
2021-05-30 07:58:10 +00:00
Daniel Vérité
1a15f2645d Add pgformatter to the dependencies and move from stretch to buster
(stretch is lacking pgformatter)
2021-05-26 22:46:58 +02:00
Hubert depesz Lubaczewski
70d2d101a5 Display query from explain data 2021-04-14 20:55:07 +02:00
Hubert Lubaczewski
47596ad0b4 Merge branch 'master' into 'master'
reorder commands because curl is not included with base image

See merge request depesz/explain.depesz.com!18
2021-03-24 18:34:44 +00:00
Richard Yen
fa1d5ff58e reorder commands because curl is not included with base image 2021-03-24 10:42:35 -07:00
Hubert Lubaczewski
2e9126474d Merge branch 'mojolicious-v9' into 'master'
Update routing for Mojolicious v9

See merge request depesz/explain.depesz.com!17
2021-03-05 14:12:58 +00:00
Raphaël Rondeau
eec934a94d
Update routing for Mojolicious v9 2021-03-05 14:03:24 +01:00
Hubert depesz Lubaczewski
383e5e538c Display JIT info for plans 2021-02-19 14:52:03 +01:00
Hubert Lubaczewski
34f0032e55 Merge branch 'fix_docker' into 'master'
Copy pgFormatter submodule in Dockerfile.

See merge request depesz/explain.depesz.com!16
2020-12-17 17:31:31 +00:00
Bernd Helmle
b1cedf6294 Copy pgFormatter submodule in Dockerfile.
This module was missing and caused a failure when using explain.
2020-12-17 17:51:27 +01:00
Hubert Lubaczewski
ceaf10edf2 Merge branch 'obfuscate-warning' into 'master'
Add note that the obfuscation feature makes plans harder to read

See merge request depesz/explain.depesz.com!15
2020-11-24 15:51:46 +00:00
Christoph Berg
6c19d86a06 Add note that the obfuscation feature makes plans harder to read 2020-11-24 16:48:25 +01:00
Hubert depesz Lubaczewski
2e30779c38 Update year in copyright 2020-11-05 16:50:16 +01:00
Hubert depesz Lubaczewski
35ca9b5953 Add information about reformatter tool 2020-11-05 16:48:59 +01:00
Hubert depesz Lubaczewski
828d2c848c allow easier changes in css/js
Adding v= paramterer should make it easier to refresh if file is cached.
2020-11-05 15:44:01 +01:00
Hubert depesz Lubaczewski
6833367855 Beautify queries, and hide bogus "actual" info
1. Added beautification of queries using pgFormatter library
   https://github.com/darold/pgFormatter
2. In case of plans that are "explain query" and not "explain analyze"
   - don't show bogus "actual ..." info.
2020-11-05 15:38:16 +01:00
Hubert depesz Lubaczewski
db338f6a88 stop robots from killing the site 2020-11-04 14:18:24 +01:00
Hubert depesz Lubaczewski
8efa706ecf Better loading of sql scripts
Problem reported by Steve Baker in
https://gitlab.com/depesz/explain.depesz.com/-/issues/18
2020-09-04 09:45:22 +02:00
Hubert depesz Lubaczewski
60ecd77745 Added missing index for finding plan optimizations 2020-08-24 10:19:20 +02:00
Hubert depesz Lubaczewski
46800fc9fb new version of highlight, with sql support 2020-08-05 11:43:56 +02:00
Hubert depesz Lubaczewski
c278cff677 make query textarea smaller than plan 2020-08-05 11:43:36 +02:00
Hubert depesz Lubaczewski
9979f2f233 remove forgotten debug text 2020-08-05 11:43:25 +02:00
Hubert depesz Lubaczewski
b36cefb716 On delete plan, delete the query too 2020-07-31 08:37:44 +02:00
Hubert depesz Lubaczewski
55be9d33bf Add support for storing queries 2020-07-27 15:16:43 +02:00
Hubert depesz Lubaczewski
cbe239d9da Commify numbers in extra-info parts of plan 2020-06-08 11:37:00 +02:00
Hubert depesz Lubaczewski
f8462580bd Changed pg port in dev env 2020-06-08 11:35:40 +02:00
Hubert depesz Lubaczewski
dd79ede498 Add missing dependency 2020-05-04 20:59:20 +02:00
Hubert depesz Lubaczewski
ab60fbca86 Fix display for Tid Scans
This is to accomodate Pg::Explain 0.95
2020-03-20 12:24:20 +01:00
Hubert depesz Lubaczewski
e330dbd2db Display # of workers, if parallel 2020-01-07 17:29:06 +01:00
Hubert depesz Lubaczewski
c20c5db4ea Add details when failed parsing 2019-12-17 20:09:28 +01:00
Hubert depesz Lubaczewski
f838622a1f recreate views after table migration 2019-12-17 19:53:53 +01:00
Hubert depesz Lubaczewski
df18b5e37a Improved help page 2019-12-03 22:33:53 +01:00
Hubert depesz Lubaczewski
f833e75ab5 Use textual link, and not image 2019-12-03 21:48:30 +01:00
Hubert depesz Lubaczewski
f4fb153c41 Allow embedding results in other pages (iframe)
To do it, simply:

  <iframe src="https://explain.depesz.com/i/<ID>"></iframe>
2019-12-03 21:31:29 +01:00
Hubert depesz Lubaczewski
da03aa92c0 Favicon that is related to the site 2019-12-03 17:55:36 +01:00
Hubert depesz Lubaczewski
d2d4e03557 Add colorized sources for explains
If explain was originally in json/yaml/xml format, add syntax-highlight
to the source of it.

Also - in such cases, add text view - explain regenerated to text
format.
2019-11-13 00:14:18 +01:00