1.84K subscribers
3.42K photos
134 videos
15 files
3.66K links
Блог со звёздочкой.

Много репостов, немножко программирования.

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
💩8😐6🎉2
#prog #meme

Про транзакции в #db наглядно
👎2
💩1
💩1
#prog #sql #db

You Need More Constraints

Чеклист ограничений на таблицы в SQL, которые почти наверняка имеют смысл для ваших данных, вместе с конкретными примерами.
6
#prog #db #article

The part of PostgreSQL we hate the most

Или о том, как криво в PostgreSQL реализован MVCC и как это сказывается на производительности, особенно на нагрузках с большим количеством записей.
7
#prog #db #menacingopensource

github.com/frectonz/pglite-fusion

Embed an SQLite database in your PostgreSQL table. AKA multitenancy has been solved.

(thanks @nosingularity)
🥴12👌2👍1
#prog #db

DBReader — программа для чтения файлов баз данных напрямую, без поднятия сервера БД
👍12🔥3
#prog #db #article

PSA: SQLite WAL checksums fail silently and may lose data

In the previous posts I mentioned that SQLite does not do checksums by default, but it has checksums in WAL mode. However, on checksum errors, instead of raising error, it drops all the subsequent frames. Even if they are not corrupt. This is not a bug; it’s intentional.


(thanks @nosingularity)
🌚4
#prog #abnormalprogramming #db #article

Making Postgres 42,000x slower because I am unemployed

<...> I decided someone needed to try to create a Postgres configuration optimized to process queries as slowly as possible. Why? I am not sure, <...>

I can’t make this too easy. This is a Postgres tuning challenge, not a throttle-your-CPU-to-one-megahertz-and-delete-indexes challenge, so all changes must be on parameters in postgresql.conf. Additionally, the database will still need to have the capability to process at least one transaction within a reasonable amount of time—it would be too simple just to grind Postgres to a halt.


(thanks @nosingularity)
🌚7