-
3 votes
-
Tell me your worst experience with database performance (as a developer)
I’d like your help – and your stories! I’m working on an article with a tentative title of “Tales of the Crypt: Horror stories (about your past) where database performance caused a real problem.”...
I’d like your help – and your stories!
I’m working on an article with a tentative title of “Tales of the Crypt: Horror stories (about your past) where database performance caused a real problem.” It’s meant to be schadenfreude nostalgia, about your late nights coping with a performance issue (with, hopefully, a happy ending of “…and this is what we did to fix it”).
So, what happened? Tell me about it.
I do want to quote you, but we can be oblique about the attribution – especially because sometimes these stories are from a previous employer and do not represent any current affiliation. But I do want the verisimilitude that demonstrates that these tales-of-woe come from real people. As a result, I’m fine with writing, “Kim’s first job was as a mainframe programmer at a hotel chain, where database transactions required tape changes. ‘Yada yada story,’ says Kim, who now is CIO of a Midwest insurance firm.” Real person, but you don’t need to worry about getting anyone to approve your words. (Though if you’re happy with full name, company, and role, I’m even happier; send in a private message if you prefer.)
I used an ancient example above, but I’m hoping for more recent database performance stories. Ideally some of the “here’s how we fixed it” become practical suggestions for developers who are enduring such a situation today.
8 votes -
Geospatial DuckDB
4 votes -
Faster PostgreSQL to BigQuery transfers
2 votes -
Legacy Database Migration: What To Know Before You Start
3 votes -
Designing APIs for humans: Object IDs
12 votes -
7 Redis (or other database) interview questions job-seekers should be ready to answer
2 votes -
Common ORM Misconceptions
4 votes -
Plain Text - Dylan Beattie - NDC Oslo 2021
2 votes -
Interest in a 0-downtime managed Postgres migration tool?
I recently discovered how much of a hassle it is to migrate off of Heroku Postgres. Both to keep the user from screwing themselves and as a vendor lock-in mechanism there's no possibility of...
I recently discovered how much of a hassle it is to migrate off of Heroku Postgres. Both to keep the user from screwing themselves and as a vendor lock-in mechanism there's no possibility of running an external replica for your Heroku Postgres database. Unless I'm missing something (after a bunch of Googling) it seems like there is a market gap for a tool that allows for a seamless migration away from a Postgres DB that won't allow for replicas.
I imagine that, given some constraints on what queries you allow on your database, you could proxy connections to a managed Postgres database while feeding them simultaneously to a new database. Starting from a snapshot of the old database one could catch the new database up to a live state of the old database and then swap over all connections to the new one.
Does such a proxy already exist? I'd love to know as I could use it. If not it might be fun to build and a good side-project.
4 votes -
When should you really use a NoSQL database?
I've always used Postgres. For a medium-sized app that I work on right now it's running great. Were I to seriously need more throughput I'd either shard (no small task I know) or use CockroachDB...
I've always used Postgres. For a medium-sized app that I work on right now it's running great. Were I to seriously need more throughput I'd either shard (no small task I know) or use CockroachDB (which to my understanding is basically Postgres with built-in sharding and no extension support). Throwing away relationships, constraints, unique compound indices and all of the tools I love that Postgres provides just to get schemaless JSON with high write throughput out of the box doesn't sound like a good deal. But so many people have made the decision to go NoSQL so there must be something I'm missing.
8 votes -
Lesser-known PostgreSQL features
7 votes -
McDonald's leaks password for Monopoly VIP database to winners
16 votes -
TigerBeetle - a million financial transactions per second in Zig [group talk]
4 votes -
NewsBlur Mongo database deleted in ransom attack (and restored)
NewsBlur was down yesterday evening due to its Mongo database getting attacked by a hacker and held for ransom. It’s restored from backup, but there are privacy implications for anyone who had...
NewsBlur was down yesterday evening due to its Mongo database getting attacked by a hacker and held for ransom. It’s restored from backup, but there are privacy implications for anyone who had sensitive private data there. We will likely find out more after the maintainer recovers from a busy night.
There are no good links for this, but it’s being discussed on Hacker News. Since it’s open source, someone described what’s being kept in that database.
(I use NewsBlur, but I don’t think my RSS reading habits are all that sensitive. Others might be in a different situation, though.)
6 votes -
Practical SQL for data analysis
13 votes -
Team Navalny apologizes after database of email addresses registered for planned protest leaks online
7 votes -
The surprising impact of medium-size texts on PostgreSQL query performance
5 votes -
The database is on fire
9 votes -
Analyzing the limits of connection scalability in PostgreSQL
4 votes -
Simple anomaly detection using plain SQL
4 votes -
PostgreSQL 13 released
8 votes -
Keeping CALM: When Distributed Consistency Is Easy
4 votes -
New ‘Meow’ attack has deleted almost 4000 unsecured databases
14 votes -
Searchable database of the 661,218 companies who received over $150,000 in forgivable SBA PPP loans
7 votes -
Jepsen: PostgreSQL 12.3
5 votes -
How and why GraphQL will influence the SourceHut alpha
5 votes -
Redis 6.0.0 stable has been released
3 votes -
COVID-19 link database
6 votes -
The PDF version of SQL Performance Explained by Markus Winand is free until Monday with code "CyberMon19"
12 votes -
SQLite 3.30.0 Released
7 votes -
PostgreSQL 12 released
5 votes -
SQL queries don't start with SELECT
7 votes -
YouTube's database "Procella"
5 votes -
Don't Do This - PostgreSQL Wiki
16 votes -
Police are turning to commercial genealogy databases to track down murderer – hoping to solve the double murders of a boy and fifty-six year old woman
10 votes -
Announcing PartiQL: an SQL-compatible, open source query language intended to work with many different types of data stores
5 votes -
Why We’re Relicensing CockroachDB
12 votes -
What are the main considerations/downsides to make before adding an index to a column
I was asked this question in an interview and I said the downsides would be extra disk space used to store it and more disk writes from the database to maintain the index on updates. I asked a...
I was asked this question in an interview and I said the downsides would be extra disk space used to store it and more disk writes from the database to maintain the index on updates. I asked a friend and he said the downsides are space used in memory to store the index as well as the fact that an index could take days to build on a large dataset.
What does everyone here think about this question?
8 votes -
This genealogy database helped solve dozens of crimes. But its new privacy rules will restrict access by cops.
4 votes -
Exposed Chinese database shows depth of surveillance state
22 votes -
Red Hat Satellite to standardize on PostgreSQL backend (removing mongo)
9 votes -
Encrypted databases: The issues with searchable encryption and the ever-expanding leakage function
6 votes -
Bye bye Mongo, Hello Postgres
18 votes -
Unsecured database of millions of SMS text messages exposed password resets and two-factor codes
19 votes -
Why Computers Can't Count Sometimes | Tom Scott (The Basics Season 2 Episode 2)
10 votes -
How Do I Make A Database?
Hello everyone! I've recently got an idea for a Database as a Service I'd like to create. The only issue is - I don't know how to create or host a database! I've only ever used Mongoose/mLab with...
Hello everyone!
I've recently got an idea for a Database as a Service I'd like to create. The only issue is - I don't know how to create or host a database!
I've only ever used Mongoose/mLab with Javascript, and a minimal amount of Postgres with Python.
If I'm looking to create a database that will, eventually, be able to store images, songs, and videos, where should I start my homework?
I can create the backend and the frontend with no issue - just stuck on this part here. If it's of any relevance, I most frequently use the MERN stack.
13 votes -
How an unlikely family history website transformed cold case investigations
6 votes -
PostgreSQL 11 Released
7 votes -
How to Manage Connections Efficiently in Postgres, or Any Database
8 votes