#prog #sql #db
You Need More Constraints
Чеклист ограничений на таблицы в SQL, которые почти наверняка имеют смысл для ваших данных, вместе с конкретными примерами.
You Need More Constraints
Чеклист ограничений на таблицы в SQL, которые почти наверняка имеют смысл для ваших данных, вместе с конкретными примерами.
❤6
There will be no singularity
https://dx.tips/oops-database
#prog #db #web #article
Stop building databases
Или о том, почему вам может потребоваться БД на веб-клиенте. Автор предлагает специализированную БД SQLSync, построенную поверх SQLite.
Stop building databases
Или о том, почему вам может потребоваться БД на веб-клиенте. Автор предлагает специализированную БД SQLSync, построенную поверх SQLite.
sqlsync.dev
Stop building databases
Join me as we take a look at common application data patterns, and how they relate to the inner-workings of databases. In this post, we discuss data caching, indexing, optimistic mutations, and recursive cache invalidation. We will see how life might be easier…
🔥2🌚1
#prog #db #article
The part of PostgreSQL we hate the most
Или о том, как криво в PostgreSQL реализован MVCC и как это сказывается на производительности, особенно на нагрузках с большим количеством записей.
The part of PostgreSQL we hate the most
Или о том, как криво в PostgreSQL реализован MVCC и как это сказывается на производительности, особенно на нагрузках с большим количеством записей.
Andy Pavlo - Carnegie Mellon University
The Part of PostgreSQL We Hate the Most
As much as Andy loves PostgreSQL, there is one part that is terrible and causes many headaches for people. Learn what it is and why it sucks.
❤7
#prog #db #article
Nine ways to shoot yourself in the foot with PostgreSQL
Статья от 23 апреля 2023, так что некоторые пункты могут быть неактуальны (один уже устарел).
Nine ways to shoot yourself in the foot with PostgreSQL
Статья от 23 апреля 2023, так что некоторые пункты могут быть неактуальны (один уже устарел).
philbooth.me
Nine ways to shoot yourself in the foot with PostgreSQL
Previously for Extreme Learning,
I discussed
all the ways I've broken production using healthchecks.
In this post
I'll do the same for PostgreSQL.
I discussed
all the ways I've broken production using healthchecks.
In this post
I'll do the same for PostgreSQL.
Блог*
#prog #db #article The part of PostgreSQL we hate the most Или о том, как криво в PostgreSQL реализован MVCC и как это сказывается на производительности, особенно на нагрузках с большим количеством записей.
#prog #db #article
Yes, PostgreSQL has problems, but we’re sticking with it!
Статья о том, как обойти некоторые из упомянутых недостатков MVCC. Не без рекламы своего продукта, но вроде штука полезная.
Yes, PostgreSQL has problems, but we’re sticking with it!
Статья о том, как обойти некоторые из упомянутых недостатков MVCC. Не без рекламы своего продукта, но вроде штука полезная.
Andy Pavlo - Carnegie Mellon University
Yes, PostgreSQL Has Problems. But We’re Sticking With It!
Andy explores ways to optimize PostgreSQL for each of the problems caused by the implementation of multi-version concurrency control in PostgreSQL.
#prog #db #menacingopensource
github.com/frectonz/pglite-fusion
Embed an SQLite database in your PostgreSQL table. AKA multitenancy has been solved.
(thanks @nosingularity)
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 #article
PSA: SQLite WAL checksums fail silently and may lose data
(thanks @nosingularity)
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
(thanks @nosingularity)
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