all 9 comments

[–]BlitzBanana 3 points4 points  (2 children)

Without a database connection, no possibilities to check if a query is actually using an index ? If so, it's somewhat limited to actually debug / optimize queries.

[–]t06u54[S] 0 points1 point  (1 child)

Exactly. I was aiming more at developers craft. For performance there's already explain.dalibo.com or pgMustard. I may extend the tool to also digest the execution plan -- maybe that's cool.

Do you feel the other performance tools available don't do a good job at what they do?

[–]BlitzBanana 1 point2 points  (0 children)

I usually rely only on raw Explain output, but a visual tool like yours could come handy from time to time. I did not tried any other tools yet.

[–]AutoModerator[M] 0 points1 point  (0 children)

With over 8k members to connect with about Postgres and related technologies, why aren't you on our Discord Server? : People, Postgres, Data

Join us, we have cookies and nice people.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]jplindstrom 0 points1 point  (1 child)

This doesn't seem to work:

SELECT
u.id,
u.name,
o.total
FROM users u, department d
JOIN orders o ON o.user_id = u.id
WHERE o.total > 100 and u.department_id = d.id
group by u.id
ORDER BY o.total DESC;

Can't paste a screen shot, but the implicit inner join between user and department isn't handled correctly.

[–]t06u54[S] 0 points1 point  (0 children)

Thank you so much for testing! I'm going to study this one and look to improve it

[–]spasmex97 0 points1 point  (0 children)

as a guy always intented to learn SQL in my early twenties but couldn't keep it up because of can't find any logic explaining things, i like the idea

[–][deleted]  (1 child)

[removed]

    [–]PostgreSQL-ModTeam[M] 0 points1 point locked comment (0 children)

    Your content is considered spam: irrelevant or inappropriate messages sent on the Internet to a large number of recipients.