#pgsql — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pgsql, aggregated by home.social.
-
🐘 All you need is PostgreSQL
「 Complexity grows, not because the problems demand it, but because someone reached for a tool they saw in a conference talk 」
https://ebellani.github.io/blog/2026/all-you-need-is-postgresql/
-
🐘 All you need is PostgreSQL
「 Complexity grows, not because the problems demand it, but because someone reached for a tool they saw in a conference talk 」
https://ebellani.github.io/blog/2026/all-you-need-is-postgresql/
-
Another fucking year.
Another #PostgreSQL version without MIN/MAX aggregators for fucking UUID v7 (or an exclusive, UUID-v7-type-column)
Thank you.
#Programming #Coding #Code #PgSQL #Postgre #SQL #Database #Databases #RDBM #RDBMS #DB #UUID #UUIDv7 #SoftwareDevelopment #WebDevelopment #WebDev #AppDevelopment #AppDev
-
Another fucking year.
Another #PostgreSQL version without MIN/MAX aggregators for fucking UUID v7 (or an exclusive, UUID-v7-type-column)
Thank you.
#Programming #Coding #Code #PgSQL #Postgre #SQL #Database #Databases #RDBM #RDBMS #DB #UUID #UUIDv7 #SoftwareDevelopment #WebDevelopment #WebDev #AppDevelopment #AppDev
-
Как написать свое расширение postgres?
Привет, хабровчане! Сегодня покажу, как писать расширения для PostgreSQL. На примере pg_plan_alternatives, который логирует все пути, рассматриваемые планировщиком. Вы увидите то, что обычно скрывает планировщик. Нам потребуется:
https://habr.com/ru/articles/1042118/
#postgresql #postgres #c #c++ #makefile #git #sql #pgsql #extension #planning
-
I like #TimescaleDB for storing time-based data...
...until I have to find a row by the given ID, which is 90% of the time.
In other words, I use TimescaleDB 10% of the time, and with that usecase, I literally don't use it at all because it adds another shit to worry about.
Once it works for both use cases, I'll may take a look on that.
#Programming #Coding #Code #SQL #Database #Databases #DB #RDBMS #PostgreSQL #PGSQL #OpenSource #FreeOpenSource #OSS #FOSS
-
I like #TimescaleDB for storing time-based data...
...until I have to find a row by the given ID, which is 90% of the time.
In other words, I use TimescaleDB 10% of the time, and with that usecase, I literally don't use it at all because it adds another shit to worry about.
Once it works for both use cases, I'll may take a look on that.
#Programming #Coding #Code #SQL #Database #Databases #DB #RDBMS #PostgreSQL #PGSQL #OpenSource #FreeOpenSource #OSS #FOSS
-
Последовательное иерархическое распределение сумм. Создание БД. Распределение сумм по правилам средствами PostgreSQL
В первой статье была описана задача распределения сумм затрат между отделами по заданным правилам, с учётом того что отделы могут передавать свои затраты на другие отделы. Задача этой и следующей статей — показать, как эту задачу можно реализовать относительно просто и легко, не прибегая к созданию больших приложений. В данной статье будет описана структура PostgreSQL-базы данных и реализация данной задачи с помощью SQL в варианте PL/pgSQL . Реализация на Apache Spark будет описана в следующей статье. В качестве примера будут созданы настройки распределения и входные данные для:
https://habr.com/ru/articles/1040376/
#аллокации #аллокация #sql #pgsql #postgresql #postgresql_performance
-
Healthchecks в Docker Compose для Laravel: как сделать так, чтобы сервисы запускались в правильном порядке
Если вы хоть раз поднимали Laravel-проект в Docker Compose, наверняка сталкивались с ситуацией: контейнер с приложением стартует раньше, чем база данных успевает принять соединения, и миграции падают с ошибкой SQLSTATE[08006] или Connection refused . Перезапустишь — всё работает. На локалке терпимо, но в продакшене — это в падающие деплои. По умолчанию Docker считает контейнер «живым», если его процесс запущен. Но это не всегда означает, что сервис внутри готов к работе. Решение — правильно настроенные healthcheck’и и условие depends_on с параметром condition: service_healthy . В этой статье разберём, как это сделать для типичного стека Laravel: PHP-FPM, PostgreSQL, Redis и Nginx.
https://habr.com/ru/articles/1040132/
#docker #dockercompose #laravel #php #healthchecks #phpfpm #redis #pgsql #nginx
-
Один «странный» случай индексного сканирования
Эта история началась с исследования проблем производительности на высоконагруженной базе данных Postgres. Табличка, которая была предметом исследования, довольно небольшая (~100,000 записей), но очень активно используемая. В процессе исследования я увидел, что Postgres использует индексный доступ по абсолютно неселективному критерию, фактически это был "INDEX FULL SCAN" в терминологии Oracle. Интуиция, наработанная на другой промышленной базе, вопила: "что-то здесь не так!" Но что?
https://habr.com/ru/companies/gnivc/articles/992660/
#execution_plan #postgresql #базы_данных #pgsql #sql #postgres
-
-
-
pgxWrappy — потому что жизнь слишком коротка для ручного сканирования в Go! �
Если вы устали от бесконечного rows.Scan(), ручного разбора вложенных структур и километрового boilerplate-кода — pgxWrappy создан для вас! 🚀 Делаем неудобное удобным! Жить с удобством
https://habr.com/ru/articles/931242/
#Go #golang #pgx #sql #gorm #orm #postgres #pgsql #database #opensource
-
Professionnellement, je commence doucement à me projeter dans l'après CDD, c'est à dire au printemps-été 2026.
J'aimerais aller vers #ClermontFerrand pour me rapprocher de gens que j'aime.Donc si vous êtes dans un service public, une association ou une SCOP du coin qui recherche ou est susceptible de chercher un géomaticien, n'hésitez pas à me faire signe.
#PGSQL #RStats #Python #Flask #QGIS #ecologie #leaflet #geoserver #SIG #logicielLibre
-
Professionnellement, je commence doucement à me projeter dans l'après CDD, c'est à dire au printemps-été 2026.
J'aimerais aller vers #ClermontFerrand pour me rapprocher de gens que j'aime.Donc si vous êtes dans un service public, une association ou une SCOP du coin qui recherche ou est susceptible de chercher un géomaticien, n'hésitez pas à me faire signe.
#PGSQL #RStats #Python #Flask #QGIS #ecologie #leaflet #geoserver #SIG #logicielLibre
-
奇怪的 PostgreSQL benchmark (看起來還沒解?)
#benchmark #database #db #performance #pgbench #pgsql #postgresql #rdbms #speed #sql
-
奇怪的 PostgreSQL benchmark (看起來還沒解?)
#benchmark #database #db #performance #pgbench #pgsql #postgresql #rdbms #speed #sql
-
Installer Dotclear sur FreeBSD 13
https://ludovic.hirlimann.net/2023/04/installer-dotclear-sur-freebsd-13.html -
Installer Dotclear sur FreeBSD 13
https://ludovic.hirlimann.net/2023/04/installer-dotclear-sur-freebsd-13.html -
Как добавить или расширить диск в Linux
На виртуалке кончилось место ? Не беда, у нас виртуалка - увеличим диск. Не хотим размещать файлы на основном диске ? Не беда у нас виртуалка - добавим новый диск. Всё бы ни чего, но виртуалка сама железо не настроит, в том смысле что конечно виртуальная машина предоставляет доступ к железу, но ресурсы этого железа программам предоставляет не виртуалка, ресурсы предоставляет операционная система. Эта инструкция будет о том как настроить операционную систему Ubunta, для управления новым железом (в нашем случае дисковым пространством).
-
Hey PostgreSQL users, is there a way to get the *expanded* IPv6 text representation of a v6 inet or cidr data type? Pg does a lovely job of compressing it correctly, but I need it uncompressed.
(Why: ".ip6.arpa", sadly. I'm doing DNS work.)Exporting to a file and running a standalone utility is _not_ a viable solution in this scenario.
Feel free to boost for visibility.
-
Hey PostgreSQL users, is there a way to get the *expanded* IPv6 text representation of a v6 inet or cidr data type? Pg does a lovely job of compressing it correctly, but I need it uncompressed.
(Why: ".ip6.arpa", sadly. I'm doing DNS work.)Exporting to a file and running a standalone utility is _not_ a viable solution in this scenario.
Feel free to boost for visibility.
-
Top Five #PostgreSQL Surprises from #Rails Developers, by Andrew Atkinson
https://medium.com/pragmatic-programmers/top-five-postgresql-surprises-from-rails-developers-36d2b87349091. Covering indexes and how to use them
2. PostgreSQL data storage in pages and the relationship to query performance
3. Topics related to storing and accessing ordered data
4. Why SELECT * is not optimal, and how to enumerate all table columns in queries to help spot opportunities to reduce the columns
5.Using PostgreSQL for more types of work
-
Top Five #PostgreSQL Surprises from #Rails Developers, by Andrew Atkinson
https://medium.com/pragmatic-programmers/top-five-postgresql-surprises-from-rails-developers-36d2b87349091. Covering indexes and how to use them
2. PostgreSQL data storage in pages and the relationship to query performance
3. Topics related to storing and accessing ordered data
4. Why SELECT * is not optimal, and how to enumerate all table columns in queries to help spot opportunities to reduce the columns
5.Using PostgreSQL for more types of work
-
MySQL vs PostgreSQL Performance Benchmark (Latency - Throughput - Saturation)
Як на мене все перед вашими очима...
-
MySQL vs PostgreSQL Performance Benchmark (Latency - Throughput - Saturation)
Як на мене все перед вашими очима...
-
#osm2pgsql - the power tool to import #osm data into #postgis - released version 2.0.0
Breaking change: #Lua configuration becomes default and classic #pgsql output is deprecated
#openstreetmap #postgres #postgresql #sql -
#osm2pgsql - the power tool to import #osm data into #postgis - released version 2.0.0
Breaking change: #Lua configuration becomes default and classic #pgsql output is deprecated
#openstreetmap #postgres #postgresql #sql -
Как реализовать и оптимизировать UPSERT в Greenplum 6
Привет! Меня зовут Антон Васильев, я работаю инженером технической поддержки компании Arenadata и нередко сталкиваюсь с довольно каверзными задачами и багами. Одной из них была проблема оптимизации механизма UPSERT в Greenplum 6. В этой статье я хочу рассказать, как эта задача может быть решена.
-
Adventures in DBA-ing. I found out if you rename a table in PostGreSQL that's referenced in a view, then create a new table with the old name, of course the view uses the old table data not the new data because that's not what I expected.
#PGSQL -
Adventures in DBA-ing. I found out if you rename a table in PostGreSQL that's referenced in a view, then create a new table with the old name, of course the view uses the old table data not the new data because that's not what I expected.
#PGSQL -
Hello PostgreSQL experts. :rp_wave:
PGHero tell me I have unused indexes in my databses. :rp_trash:
Can I safely remove them? :rp_thinking:Exemple with the “index_pghero_space_stats_on_database_and_captured_at” index:
-
Hello PostgreSQL experts. :rp_wave:
PGHero tell me I have unused indexes in my databses. :rp_trash:
Can I safely remove them? :rp_thinking:Exemple with the “index_pghero_space_stats_on_database_and_captured_at” index:
-
Had a great first experience with #CloudNativePG!
-
Had a great first experience with #CloudNativePG!
-
Anyone know of an alternative to postico that won't make me guilty regularly for not forking over 60€?
-
Comunidade, pesquisa #PostgreSQL em Foco: Um panorama do uso no mercado nacional. #database #bancodedados #sql #pgsql
-
Comunidade, pesquisa #PostgreSQL em Foco: Um panorama do uso no mercado nacional. #database #bancodedados #sql #pgsql
-
does anyone know if there's a way to have postgres save different DBs to different locations?
it's not a thing i need right now, but i've come 🤏 this close to needing to install other pgsql stuff on my server, and i'd prefer atm to keep my storage drive that has my akkoma DB to be literally just akkoma stuff
when i've looked this information up before i've just found information on moving your whole pgsql data directory, which i already know how to do
:do_boost: #postgreSQL #postgres #pgsql #sysadmin -
does anyone know if there's a way to have postgres save different DBs to different locations?
it's not a thing i need right now, but i've come 🤏 this close to needing to install other pgsql stuff on my server, and i'd prefer atm to keep my storage drive that has my akkoma DB to be literally just akkoma stuff
when i've looked this information up before i've just found information on moving your whole pgsql data directory, which i already know how to do
:do_boost: #postgreSQL #postgres #pgsql #sysadmin