Posts

Showing posts with the label postgres

Setup & CRUD PostgreSQL, Nodejs as backend

What is PostgreSQL PostgreSQL, or Postgres, is a free, open-source relational database system that competes with MySQL, SQL Server, and MariaDB. Since 1997, it has been known for its reliability, flexibility, and compliance with standards, making it a popular choice for developers and companies. What is node-postgres? Node-postgres (pg) is a non-blocking PostgreSQL client for Node.js, providing a set of modules to interact with PostgreSQL databases. It supports features like callbacks, promises, async/await, connection pooling, prepared statements, cursors, advanced type parsing, and C/C++ bindings. Install PostgreSQL Installer Windows Installer   For Mac:  brew install postgresql To start services brew services start postgresql ==> Successfully started `postgresql@14` (label: homebrew.mxcl.postgresql@14) To stop services brew services stop postgresql ==> Successfully stopped `postgresql@14` (label: homebrew.mxcl.postgresql@14) Connect to Postgresā€™s  psql postg...

Free AWS RDS Hosting Plans for Databases (mysql, postgres) in 2024

Image
AWS RDS (Relational Database Service) is a fully managed database service provided by Amazon Web Services. It supports several popular database engines such as MySQL, PostgreSQL, Oracle, and SQL Server. With RDS, users can easily set up, operate, and scale relational databases in the cloud without worrying about infrastructure management tasks.  The pricing calculation for your instance can be created by visiting:  For Postgres: https://calculator.aws/#/createCalculator/RDSPostgreSQL For mysql: https://calculator.aws/#/createCalculator/RDSMySQL I have calculated the minimal database hosting requirement while keeping in mind the minimum server configuration and the minimum 150 hours of usage per month. Amazon RDS for postgres 12month free - 750hrs/m, 20GB of storage, backup and snapshot. Amazon RDS for mysql 12month free - 750hrs/m, 20GB of storage, backup and snapshot.