Learn from memes is a working strategy!
Therefore, I’d like to share with you this article (quite a long one) that describes a Postgres meme.
So, you could learn its concept broken down by a “level of depths”.
#databases #postgres
Therefore, I’d like to share with you this article (quite a long one) that describes a Postgres meme.
So, you could learn its concept broken down by a “level of depths”.
#databases #postgres
Avestura's Blog
Explaining The Postgres Meme
Have you seen this legendary SQL iceberg meme? Let's talk about it while wearing our PostgreSQL hat!
👍9❤4
The Guardian tells a story of their migration into AWS Aurora Serverless.
This article doesn’t go too deep into technical aspects, but provides a nice overview of the issues one may encounter when trying to move to Aurora.
A couple of things that I found interesting:
- Whatever cloud migration tools are there,
- This paragraph:
#databases #postgres #aws
This article doesn’t go too deep into technical aspects, but provides a nice overview of the issues one may encounter when trying to move to Aurora.
A couple of things that I found interesting:
- Whatever cloud migration tools are there,
pg_dump and pg_restore are your trusted friends.- This paragraph:
We’re spending roughly $220/month for storage and compute for the database. For the same price we could have rented a db.m7g.xlarge (16GB RAM, 4 vCPUs) Postgres instance along with 100GB of EBS storage or a db.r7g.large (16GB RAM, 2 vCPUs) Aurora instance. I suspect both of these options would have done the job for us, and maybe not have suffered from the same cold start problems as our serverless database, but after 3 migrations, it’s probably time to get back to doing some feature work!
#databases #postgres #aws
the Guardian
Aurora Serverless – a migration story
On our team we swapped databases 6 times in a year. We’ve landed on Aurora Serverless V2 – was it worth it?
👍3🤔3❤1😁1🤡1
If you want to learn SQL, or you know somebody who wants (or should, lol), or you want to refresh your SQL skills, you can use interactive lessons on SQL Bolt.
They're simple, but good enough to get up to speed with the basics.
#databases
They're simple, but good enough to get up to speed with the basics.
#databases
Sqlbolt
SQLBolt - Learn SQL - Introduction to SQL
SQLBolt provides a set of interactive lessons and exercises to help you learn SQL
❤2😁2
**Database Fundamentals.**
Because it just fundamentals, it can take a few hours to read and understand + mandatory breaks :)
It's one of the best articles I've seen on general DB topics, with a huge amount of links and notes to go deeper into Rabbit Hole. Definitely recommend it to read.
#databases
Because it just fundamentals, it can take a few hours to read and understand + mandatory breaks :)
It's one of the best articles I've seen on general DB topics, with a huge amount of links and notes to go deeper into Rabbit Hole. Definitely recommend it to read.
#databases
👍21❤2
Do you run databases in Kubernetes?
Even if you don't, I bet you may run database migrations there. How do you do that?
This article on "The New Stack" makes a case for GitOps approach to the database migrations in Kubernetes.
*tl;dr*: It's Atlas Operator, there's no alternative.
#kubernetes #databases
Even if you don't, I bet you may run database migrations there. How do you do that?
This article on "The New Stack" makes a case for GitOps approach to the database migrations in Kubernetes.
*tl;dr*: It's Atlas Operator, there's no alternative.
#kubernetes #databases
The New Stack
GitOps for Databases on Kubernetes
The case for applying the Operator Pattern to database migrations.
👍4👎4❤2🔥2
Resend had a 12 hour outage on the 21st of February.
tl;dr:
> The database migration accidentally deleted data from production servers…
> … we performed a database migration command locally, but it incorrectly pointed to the production environment instead…
You can read it in more details is the article, but here are some of the action items from this postmortem:
- No accessible user role should have write privileges on the production database.
- Improve local development to reduce risks related to database migrations.
- Create redundancy to preserve sending function even during a database outage.
- Increase cadence for disaster recovery tests.
- Implement incident banner on Resend dashboard to inform users quickly.
So, I dunno, check your database. Maybe, you have such a risk as well.
Also, it’s kinda strange that people rarely talk about network isolation not only between their production and non-production environments, but also between their local environment and production. Make production access conscious. Put it on a separate role/VPN. Add some friction accessing it.
Moreover, for the love of god, validate your DB backups.
#postmortem #databases
tl;dr:
> The database migration accidentally deleted data from production servers…
> … we performed a database migration command locally, but it incorrectly pointed to the production environment instead…
You can read it in more details is the article, but here are some of the action items from this postmortem:
- No accessible user role should have write privileges on the production database.
- Improve local development to reduce risks related to database migrations.
- Create redundancy to preserve sending function even during a database outage.
- Increase cadence for disaster recovery tests.
- Implement incident banner on Resend dashboard to inform users quickly.
So, I dunno, check your database. Maybe, you have such a risk as well.
Also, it’s kinda strange that people rarely talk about network isolation not only between their production and non-production environments, but also between their local environment and production. Make production access conscious. Put it on a separate role/VPN. Add some friction accessing it.
Moreover, for the love of god, validate your DB backups.
#postmortem #databases
Resend
Incident report for February 21st, 2024
Detailed postmortem of the outage on February 21st.
🤯8👍1🫡1
A brief overview of how to choose the right size for your RDS instance in AWS.
Although, I would argue that certain workloads would already experience problems at 80%+ CPU load on CPU. So, sometimes it doesn't make sense to wait the whole four-week evaluation period.
Also, make sure to keep track of your reserved instances: you don't want to pay more than you should when jumping between instance types!
#aws #databases
Although, I would argue that certain workloads would already experience problems at 80%+ CPU load on CPU. So, sometimes it doesn't make sense to wait the whole four-week evaluation period.
Also, make sure to keep track of your reserved instances: you don't want to pay more than you should when jumping between instance types!
#aws #databases
Substack
How to - Choose the Right Instance Size for AWS RDS
Amazon RDS (Relational Database Service) offers a variety of instance types, each optimized for different workloads.
👍7
You have a Database that can be affected by Disk corruption, and you have millions of transactions? Well, good for you that nothing bad happens yet.
But what if I say that there is better solution, x1000 faster and safer?Just send 0.1BTC called TigerBeettle.
Also, it has of the best presentation what I ever saw. Check it
Testing simulation showed at the end, if you want to try yourself - sim.tigerbeetle.com
#databases
But what if I say that there is better solution, x1000 faster and safer?
Also, it has of the best presentation what I ever saw. Check it
Testing simulation showed at the end, if you want to try yourself - sim.tigerbeetle.com
#databases
Tigerbeetle
The financial transactions database to power the next 30 years of Online Transaction Processing.
❤5
An article and a CNCF NA talk about Atlas - a tool to manage database migrations, and specifically about the Atlas Operator - a way of managing database state in Kubernetes. It's important to point out, that the database itself doesn't have to reside in Kubernetes.
Except some advertisement for Atlas, this article actually points out problems of executing migrations that are not limited to K8s. Still, even though this is an article about a tool from a creator of the tool, I think both blogpost and the tool itself are interesting.
But to be completely fair, there's also the SchemaHero tool - a truly open source one.
#databases #kubernetes
Except some advertisement for Atlas, this article actually points out problems of executing migrations that are not limited to K8s. Still, even though this is an article about a tool from a creator of the tool, I think both blogpost and the tool itself are interesting.
But to be completely fair, there's also the SchemaHero tool - a truly open source one.
#databases #kubernetes
atlasgo.io
The Hard Truth about GitOps and Database Rollbacks | Atlas
Discover why traditional 'down' migrations fail in modern GitOps workflows. Learn how the Kubernetes Operator Pattern, using tools like Atlas, provides a robust, automated solution for safe database rollbacks.
👍2
I know that oftentimes folks are critical towards Packt, because many books and courses there are not that good. However, some of them could still provide value.
Thus, it's nice to get them at a discount. Right now, Humble Bundle has two discounts on Packt products:
- Books bundle about databases
- Courses for AWS certification
I might actually get the one on databases, because I want to learn more about Postgresql, but I don't have any specific resource in mind except reading the docs.
Speaking of certifications, we had a voice chat recently on that topic. The voice chat is in Ukrainian.
#books #databases #aws
Thus, it's nice to get them at a discount. Right now, Humble Bundle has two discounts on Packt products:
- Books bundle about databases
- Courses for AWS certification
I might actually get the one on databases, because I want to learn more about Postgresql, but I don't have any specific resource in mind except reading the docs.
Speaking of certifications, we had a voice chat recently on that topic. The voice chat is in Ukrainian.
#books #databases #aws
Humble Bundle
Humble Tech Book Bundle: Mastering Every Database by Packt
A database hates to see you coming—master every database with this library of tech courses by Packt. Pay what you want & support charity!
👍3