postgresqltuner
pgbadger
Our great sponsors
postgresqltuner | pgbadger | |
---|---|---|
3 | 6 | |
2,551 | 3,382 | |
- | - | |
0.0 | 7.9 | |
4 months ago | about 2 months ago | |
Perl | Perl | |
GNU General Public License v3.0 only | PostgreSQL License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
postgresqltuner
- Postgresqltuner: Analyse Your PostgreSQL Database
-
In MySQL, never use “utf8”. Use “utf8mb4”
Are the DBA's on this thread committing code to the MySQL [1] and Postgres [2] tuner scripts that give new DBA's all your learned advise and battle hardening experience? Or at least a repo with the same objectives?
[1] - https://github.com/major/MySQLTuner-perl
[2] - https://github.com/jfcoz/postgresqltuner
- Is there any tool I can use to see what improvements can be made to a db?
pgbadger
-
Site down due hosted on digitalocean
It might also help to use pgbadger or something similar to process your postgres logs and see whether some event is aligned with your outages.
-
SQL: 2023 Has Been Released
Interestingly, when a place does get to the point where the single instance has capacity issues (after upgrading to EPYC and lots of flash drives) then other non-obvious stuff shows up too.
For example, at one place just over a year ago they were well into this territory. One of weird problems for them was with pgBadger's memory usage (https://github.com/darold/pgbadger). That's written in perl, which doesn't seem to go garbage collection well. So even on a reporting node with a few hundred GB's of ram, it could take more than 24 hours to do a "monthly" reporting run.
There wasn't a solution in place at the time I left, so they're probably still having the issue... ;)
- Moving from Oracle to Postgres, what should I know?
-
What are the top 3 most useful things that you have hosted over the years?
First of all I used a profiler (pgbadger and netdata) to figure out where the lags were coming from. I then tried the usual stuff (increasing shared_buffers, max_wal_size, min_wal_size from their ultra low defaults), but the biggest performance gain came from moving the database from eMMC to a mechanical hard drive :-D
-
Best way to find queries that might benefit from indexes.
Look into PgBadger (a log parser/analyser): https://github.com/darold/pgbadger
What are some alternatives?
MySQLTuner-perl - MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability.
pgaudit_analyze - PostgreSQL Audit Analyzer
kanban-board - Single-click full-stack application (Postgres, Spring Boot & Angular) using Docker Compose
Mailcow - mailcow: dockerized - 🐮 + 🐋 = 💕
netdisco - A web-based network management tool.
minion - :octopus: Perl high performance job queue
apache2buddy - apache2buddy
Octopussy - Octopussy - Open Source Log Management Solution
apt-mirror-docker - Up to date apt-mirror script, containerized for mirroring + serving.
pg_wait_sampling - Sampling based statistics of wait events