zirk.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
Literature, philosophy, film, music, culture, politics, history, architecture: join the circus of the arts and humanities! For readers, writers, academics or anyone wanting to follow the conversation.

Administered by:

Server stats:

731
active users

#postgres

7 posts7 participants0 posts today

Ive built a setup for hosting websites which consists of:
* Host running #microos with #podman
* #Treafik and #sshpiper at the edge
* #Nginx, php-fpm, #mariadb + phpmyadmin + nginx or #postgres + dbadmin, openssh for each site

It actually works quite well, openssh keybased access is to transfer files into the containers, traefik does the reverse proxying.

I'm just wondering if its a sustainable and maintainable setup. Sometimes just going with a "standard" solution seems so much easier.

Adding or dropping indexes 📒 in a live PostgreSQL database means locking the entire table, potentially causing application slowdowns or outages. Use CONCURRENTLY with CREATE INDEX or DROP INDEX to perform the operation in the background. #postgres

I recently leaned on an #LLM to help me get data out of a legacy database. The key was a multi-step prompt that took an existing schema and compressed it. That allowed me to build a chat bot that understood and could generate SQL for the answers I was seeking.

joecotellese.com/posts/llms-to

Joe Cotellese · How I Used LLMs to Help a Team Understand a Legacy Database in HoursSee how a fractional VP of Engineering used LLMs to decode a legacy database fast.