• 维护了数据库
  • 优化了数据库配置
  • 摸了小狗

#实例维护 #pghero #postgresql #postgres #mastodon #maintainers

Und gleich noch ein Update für das Mastodon/Glitch Setup: Dieses Mal habe ich hinzugefügt, wie man die PgHero Warnung "Query stats must be enabled for slow queries" wegbekommt. Und damit dann auch in den vollen Genuss von PgHero kommt.

https://info.jyrgi.de/services/mastodon/index.html

#Fediverse #Mastodon #PgHero #SelfHosting #HomeServer

Mastodon Glitch Fediverse Instance :: Jürgen's Notebook

I am running a Mastodon Glitch Edition instance. Here is a short description on how to install this fediverse software in a docker compose environment with Caddy as a reverse proxy. It is important to emphasize, that there are many other great fediverse softwares, like Sharkey, that are worth to be investigated. Install Mastodon Glitch Edition Note This description is about how I installed Mastodon Glitch Edition. Please also have a look at the Mastodon Documentation and the Mastodon Glitch Documentation.

Jürgen's Notebook
Je trouvais que mon instance #Mastodon 4.4.0 répondais vite, voir très vite, beaucoup plus vite que la 4.3.9 🤔
Tu m'étonnes... J'aime voir ça 😎
#PgHero
C'est réellement OK maintenant 😁 Il y avait un petit souci avec #PgHero ❗ J'ai dû apporter des modifications à postgresql.conf 😎 Tout est 🆗
PostgreSQL Web UIs in docker

Let’s install and configure PgHero and PgAdmin4 in docker to connect to the databases deloyed in the previous post. If you don’t have docker installed, now is the time to do it: PgHero: Create the config for PgHero pghero.yml : databases: database1: url: postgres://dummy:[email protected]:5432/postgres database2: url: postgres://dummy:[email protected]:5432/postgres And run the docker command to start it: docker run -it -d -v $(pwd)/pghero.yml:/app/config/pghero.yml -p 8080:8080 ankane/pghero If everything is ok, you should see:

My (Work)Space

Query stats must be enabled for slow queries

PgHero zeigte den o. g. Hinweis in gelb/orange unterlegter Schrift. Nach einigen Fehlversuchen ist es mir heute endlich gelungen, diese Funktion, von der ich nicht einmal weiß wozu sie gut ist, zu aktivieren. Der Fehler ist beseitigt und PgHero zeigt einen "grünen" Status. Für mich ein kleiner Erfolg am heutigen Tag.

#mastodon #pghero #slowqueries

#MastoAdmin

What should I do if #PgHero shows slow queries? Didn't find any solution.

I think I have to add an index to the PostgreSQL database, but I don't know how...

Thanks for all tipps!

According to #PGhero, I have unused indexes (several gigs big).

How can I double check PG Hero's work to ensure that they're actually actually actually unused before I delete them?

WILL THIS TRIGGER SIDEKIQ JORBS ADASHDASJDASDASDSADA??? #WHAT #SIDEKIQ #RUBY #YOLO #AAAAA #WOW #PGHERO #REEEE
Just took a look into #Mastodon instance administration stuff... this is sooo good #sidekiq #pghero 😍