I was busy about to run a db dump of a production db to test some stuff locally, so to be sure I didn't affect production I created a read replica to do a dump off of instead.
Replica gets created and I change what I think is the connection endpoint on my local ui for the db (I use dbeaver). Instead of changing the actual db connection, I ended up just changing the display name of the connection - I was rushing and excited because I was getting to the bottom of an issue.
So I run the dump on the write node and spike the cpu usage and bring the thing just about grinding to a halt.
Luckily our monitoring and alerting is quite good but damn - I was close to bringing down (or drastically slowing down) our main production db which is client facing.
It would have been a bad day for me .... what a noob. This is why I hate GUI's
Replica gets created and I change what I think is the connection endpoint on my local ui for the db (I use dbeaver). Instead of changing the actual db connection, I ended up just changing the display name of the connection - I was rushing and excited because I was getting to the bottom of an issue.
So I run the dump on the write node and spike the cpu usage and bring the thing just about grinding to a halt.
Luckily our monitoring and alerting is quite good but damn - I was close to bringing down (or drastically slowing down) our main production db which is client facing.
It would have been a bad day for me .... what a noob. This is why I hate GUI's