Database

Cannot start node if snitch's data center (dc1) differs from previous data center (datacenter1). Please fix the snitch configuration, decommission and rebootstrap this node or use the flag -Dcassandra.ignore_dc=true.

Recently while working in  Cassandra environment, I encountered below error and due to which it was not allowing me to start my Cassandra no...

Tvenkat 1 Feb, 2025

some frequently used PostgreSQL DBA scripts

Database administrators often use various scripts to monitor, manage, and troubleshoot PostgreSQL databases. Below are some frequently used ...

Tvenkat 29 Jan, 2024

restoring the mysql-backup from s3 bucket to aws rdb-database

Restoring a MySQL database from a mysqldump.sql backup stored in an S3 bucket to an Amazon RDS (Relational Database Service) instance invol...

Tvenkat 28 Jan, 2024

Performance tuning scripts

--Long Running Queries  SELECT r.session_id,        st.TEXT AS batch_text,        qp.query_plan AS 'XML Plan',        r.start_time, ...

Tvenkat 24 Jan, 2024