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

45 Commits

Author SHA1 Message Date
Hubert depesz Lubaczewski
383e5e538c Display JIT info for plans 2021-02-19 14:52:03 +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
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
55be9d33bf Add support for storing queries 2020-07-27 15:16:43 +02:00
Hubert depesz Lubaczewski
c20c5db4ea Add details when failed parsing 2019-12-17 20:09:28 +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
Hubert depesz Lubaczewski
4290b6a57d Add more details to html view of plan.
- display planning time, if available
- display execution time, if available
- display trigger execution table, if available
- use real execution time, instead of execution time of top level node,
if available
2019-06-18 13:33:31 +02:00
Hubert depesz Lubaczewski
57e2027985 Show info when calculating contact nonce prefix 2019-05-21 10:33:57 +02:00
Hubert depesz Lubaczewski
acb1952b1b Add proof-of-work (in JS) for contact form
There was too much spam from this contact form, so let's make it harder
for spammers to use.
2019-05-21 09:29:21 +02:00
Hubert depesz Lubaczewski
90c19886e9 Format contact confirmation msg nicely 2019-05-21 08:09:06 +02:00
Hubert depesz Lubaczewski
ccbc785440 bitcoin plea relocation 2013-11-24 19:58:23 +01:00
Hubert depesz Lubaczewski
f6d2ca31ba update user history layout
first layout was just a development thing made by depesz. New layout for
user history is 99.9% by metys. depesz just added the date bar, and
decreased width of id column
2013-10-30 12:45:03 +01:00
Hubert depesz Lubaczewski
22b973d093 WIP - users support
- users can now:
    - register
    - login
    - logout
    - change password
- new explains know about logged user (it's stored in database)
2013-10-28 14:58:17 +01:00
Hubert depesz Lubaczewski
364560bdfb move donation back to its place 2013-10-22 15:22:27 +02:00
Hubert depesz Lubaczewski
6a31c2e4a1 Make it possible to delete plans
Each plan will have now delete_key (random, 50 character string), which
can be used with url like http://.../d/plan-id/delete-key
to delete it.

The delete key is shown once just after plan creation
2013-03-30 20:18:27 +01:00
Hubert depesz Lubaczewski
adf37dfd65 sync to production 2013-03-30 17:45:15 +01:00
Hubert depesz Lubaczewski
645606933a Fix logic error
$(...) will always be true, as its collection. But it can have 0 elements.
2013-01-30 14:00:52 +01:00
Hubert depesz Lubaczewski
47c90054a7 Make ctrl-enter submit form with new explain 2013-01-30 13:52:57 +01:00
Hubert depesz Lubaczewski
c6290a2927 New column in explain - line number
New column can be hidden, stored in cookie/preferences, and it contains
links to given lines.
2012-11-08 16:08:53 +01:00
Hubert depesz Lubaczewski
cef1e42076 move donation plea 2012-04-13 20:34:23 +02:00
Hubert depesz Lubaczewski
b239a3b5ca Added stats
In view of query, added 3rd tab (HTML, TEXT) - STATS.

This shows list of all different node types with their repetition count,
summarized time, and percent of total query time, plus similar per table
stats.
2011-07-13 02:29:41 +02:00
Hubert depesz Lubaczewski
f505e4a9c6 Add information about donations for Ulas vacation. 2011-06-20 16:34:03 +02:00
Hubert depesz Lubaczewski
493c37661a Make the alert of bad explain more visible
A lot of people are adding bad values for explains - things like modified
explains, explains with some additional quoting characters, or even plain
selects!

Made sure that the error will be more visible.
2011-06-14 14:33:05 +02:00
Hubert depesz Lubaczewski
121ffcc4b3 Hints for adding explains work.
Again, thanks to metys for help - wouldn't be able to do it on my own.
2011-06-14 14:19:51 +02:00
Hubert depesz Lubaczewski
a349ca19d3 Trying to add hints
Some people try to add queries, and not their explain analyze plans. So
decided to add a hint, but can't make it happen. Committing so that I can
show it to someone who could help me.
2011-06-14 14:04:11 +02:00
Hubert depesz Lubaczewski
761cc4742b Add anonymization
Added checkbox, and additional logic which uses anonymization feature of
Pg::Explain from 0.60
2011-06-11 04:44:41 +02:00
metys
5f5a3b5685 subnodes selection for hover/collapse bug fix
+ cte layout/js fix/update
2011-03-26 21:21:16 +00:00
metys
5fd7367837 update (white-space:nowrap on node span's) 2011-03-15 10:36:01 +00:00
metys
0f302b4f6f + explain form hidden by default
+ "required" markers removed from explainj form
2011-03-15 05:48:41 +00:00
metys
b8f194fb14 "tight" columns width set to 1px 2011-03-14 11:58:53 +00:00
metys
cf1d0013f0 immediate-children markups 2011-03-14 11:57:00 +00:00
metys
e0c49364f1 as previous, css update (mostly for Internet Explorer) 2011-03-14 10:16:28 +00:00
metys
9df2d3133c css update (mostly for IE) 2011-03-14 10:03:47 +00:00
metys
0150d19005 + layout changes
+ rows "even" now depends on explain node depth rather than node index
2011-03-14 06:05:29 +00:00
metys
cb3cfc8928 new functionality (with control form)
ready for testing
2011-03-12 17:15:27 +00:00
metys
f37ec628fc new explain JS features
!WIP!
2011-03-11 16:19:10 +00:00
metys
e39e64ecfd + jquery based plugin for cookies
+ fix: getting current route name 
+ layout changes
2011-03-11 10:55:42 +00:00
metys
198b38717a 1. history pagination changed to date ranges
2. index renamed to new explain
3. form styling changes
2011-03-11 06:19:50 +00:00
depesz
046da81e8c new version of explain.depesz.com, by metys - llewandowski.pl 2011-03-10 15:19:34 +00:00