Skip to content

Latest commit

 

History

History
589 lines (439 loc) · 56.5 KB

File metadata and controls

589 lines (439 loc) · 56.5 KB

drawing

Let's learn about Postgresql via these 144 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the /Learn or LearnRepo.com to find the most read blog posts about any technology.

A powerful, open-source object-relational database system, renowned for its reliability, feature robustness, and performance in handling complex data.

This manual describes the process of setting up continuous backups for PostgreSQL databases to safeguard your data from accidental loss in an efficient way.

This article explores the most important challenges and solutions of the database migration from Oracle to PostgreSQL.

There are several architectures that could be followed to achieve multi-tenancy at the database layer.

During past couple of years I have worked on few projects written in GO. I noticed that the biggest challenge developers are facing is lack of constraints or standards when it comes to project layout. I'd like to share some findings and patterns that have worked best for me and my team. For better understanding I'll go through steps of creating a simple REST API.

Hi guys, I’m a Front-End developer. Before there was a time 2 years working CMS Magento, I like CMS Magento because system clean, and architecture database EAV (Entity — Attribute — Value) but I don’t understand why present I’m dev front-end (I don’t know) in the 2-year current. And present I chance comeback working position Back-End that I like.

In this article, you'll learn how to connect to an RDS server through a bastion server in Bash using an SSH tunnel.

Illustration composed from MariaLetta/free-gophers-pack, original gopher by Renee French.

Recently I had to write a script, which should’ve changed some JSON data structure in a PSQL database. Here are some tricks I learned along the way.

To implement pagination without unexpected performance issues on large sets of data, use "WHERE id > N" instead of "OFFSET N”.

What are medical databases?Medical Databases serve as an essential part in medical care, which includes the disciplines of research, documentation, patient care and treatment. The medical industry is constantly on the lookout for new medical applications, which would help improve their services. These endeavors are usually done through databases, which store data regarding diseases, diagnosis, treatments, medication, medical devices, medical practices and other pertinent details about medical professionals. With the constant advancements made in technology, these databases have also grown to be more technologically advanced and complex.

Byzantine Fault Tolerant PostgreSQL combines BFT consensus algorithms with relational databases, enabling data-intensive trustless digital infrastructure.

I spent the better part of a day moving a project completely off of the ORM we were using (TypeORM). Ever since I started doing web development, I’ve been using some kind of heavy abstraction on top of my database. Whether it’s Mongoose when I used MongoDB, or TypeORM when I decided to move to TypeScript and PostgreSQL. However, it turns out that ORMs and query builders aren’t so great. I used to be that person that thought ORMs and query builders did the job for me, and I used it as an excuse to not learn SQL (which is what everyone tells you NOT to do). Given the tools that exist today, I would wholeheartedly recommend doing it the opposite of how I did if you’re starting off new to these things — write your SQL stuff by hand, or with help from the tools I mention later in the post. It’ll feel really slow at first, but you’ll thank yourself later 😄

Many developers still install a database on their computer and work on it. It may be a preferable method, but using Docker takes only seconds to set up a database. I used PostgreSQL and Docker in my latest project. As a result, I have achieved efficiency and convenience. I will give you my experience with PostgreSQL and Docker.

Read how we used Timescale to scale a 350 TB+ PostgreSQL database to build Insights, our new database observability tool.

Comparison between Optimistic and Pessimistic locking with Golang and PostgreSQL

JSONB in PostgreSQL offers the best of relational and NoSQL. Here are two techniques that we use at AppLand to make JSONB data even more effective.

Choosing a database can be scary as it’s nearly impossible to change once you’ve built on one. So which will you choose? PostgreSQL or MongoDB?

Working with Geo🌎Django

GeoDjango is a built-in application that is included as a contrib module in Django. It’s actually a complete framework itself that can

Harness Timescale's features to shrink your PostgreSQL database size, improve performance, and embrace a new paradigm of efficiency.

Explore the groundbreaking PgVectorizer, a resilient system for creating and managing vector embeddings in PostgreSQL tables.

Learn what tools and approaches are available to create and load test data for webapps without an ORM.

Learn how to automate PostgreSQL database backups with Docker and PostgreSQL. Keep your data safe with this step-by-step guide. #Docker #PostgreSQL

Discover how PostgreSQL's materialized views have evolved into dynamic, real-time analytical tools called continuous aggregates.

Back in the days when MySQL was the undisputed open source database champion, there was a sense that people who took their databases seriously would choose PostgreSQL instead. Everyone else chose MySQL; it was fast and it was easy.

Discover the challenges of PostgreSQL's traditional TOAST mechanism for data compression and storage optimization.

Normal development flow requires continuous patching the production database with local changes normally made automatically by the orm software, this method is not perect but deceptively simple, all we'll use is standard Unix commands, and is good enough for us.

Partitioning is a powerful way to boost your PostgreSQL performance, but it's not a one-size-fits-all. Learn if PostgreSQL partitioning is a solution for you.

In this post, learn how to run a Java Spring Boot application on Azure Kubernetes Service (AKS) and connects to Azure PostgreSQL using Azure AD Pod identity.

PostgreSQL is the jack of all trades when it comes to databases. It brings you all the features you've come to love about SQL plus a bunch of features from Non-SQL databases. Some of these Non-SQL features like the JSONB data type are wonderful and you don't even have to dare flirt with another database. Others are good but not as robust and featureful as other databases.

Docker might be an easy solution as an all-in-one tool for setting up a Local Development Environment. But on the other hand, it eats up a huge portion of your system resources to get up and running, and we hate it when our computer becomes lagging and clumsy.

How to create a Ruby on Rails application with Postgresql and React with Docker Compose

Unlock superior data efficiency with PostgreSQL Upsert in Spring. Explore the integration, benefits, and how to overcome its limitations. Boost performance now!

An extensive performance comparison research for GROUP BY queries in MySQL, PostgreSQL and MS SQL Server.

Migrate from Heroku to Render

In 2008, the alarms on Wall Street rang as sophisticated traders descended into a primal frenzy. Overleveraged financial institutions, collapsing under...

Timescale launches Dynamic PostgreSQL, combining the best parts of provisioned and serverless databases.

In a previous post I was explaining the basics of setting up GO application for REST API. Now I'll go into details by first creating configurable server, adding http router (mux) and some DB interaction. Let's get (the indoors party) started!

The OLTP/OLAP split no longer fits how developers build today. Postgres and the lakehouse are now used side-by-side – but stitched together with brittle

Starting on July 15, AWS has added support for S3 vector stores for Bedrock knowledge bases. I'm going to compare each AWS-managed S3 vector store.

Introduction: The Postgres Connection Pool Problem

Wondering which databases are trending in 2019? We asked hundreds of developers, engineers, software architects, dev teams, and IT leaders at DeveloperWeek to discover the current NoSQL vs. SQL usage, most popular databases, important metrics to track, and their most time-consuming database management tasks. Get the latest insights on MySQL, MongoDB, PostgreSQL, Redis, and many others to see which database management systems are most favored this year.

In this beginner's guide, we will walk you through the process of dockerizing a Ruby on Rails application with PostgreSQL.

Timescale is now TigerData: the fastest PostgreSQL for AI, analytics & real-time apps. Built for speed, scale & the agentic future. Join us. 🐯🚀

How Evergen scaled renewable monitoring by moving from MongoDB to TigerData (TimescaleDB)—cutting infra use >50%, speeding queries <500 ms, & centralizing data.

bad indexing is the main source of bad performance of your database

Scala 3 is finally here, but have you seen many real-world applications written in it? In this article, I will show you an example of such an application!

Heroku is one of the top PaaS in the market thanks to many of its features that make focus on development instead of configuration and maintenance. This has bee

A comprehensive guide comparing PostgreSQL and MySQL for full-stack developers, covering installation, transactional support, performance, security, and more.

Postgres Handles More than You Think

Learn more about GlareDB and how it can fit in your data stack

The article describes how a relational database should be designed to properly work in OLTP mode.

PostgreSQL and MySQL are both reliable, secure and scalable databases that have been around for years.

Heroku has eliminated their free plans, so I’m migrating to Render for my prototype products and services. Let’s see how easy it is to convert to Render PaaS.

Explore the rise of PostgreSQL as the de facto database standard, its impact on software development, and the key trends driving its widespread adoption.

PostgreSQL offers Logical Decoding Method to make log-based change data capture possible. Setup and run CDC in several steps.

Get a primer on PostgreSQL aggregation, how PostgreSQL´s implementation inspired us as we built TimescaleDB hyperfunctions and what it means for developers.

In "Towards Open Options Chains", Chris Chow presents his solution for collecting options data: a data pipeline with Airflow, PostgreSQL, and Docker.

Stop writing fragile cron scripts. Learn to build stateful, incremental data streams from any REST API using Python and a pull-based CDC model.

This article explores the top 10 PostgreSQL backup tools in 2026, ranked by their GitHub popularity and community adoption.

Master Node.js auth with Knex, Redis, and Express. Craft a secure, efficient user flow with ease.

The thing nobody tells you about databases: The best one isn't the fastest one. It's the one your team can actually use without calling you at 3 a.m.

Learn how to streamline database management by building a CRUD app with Node.js, PostgreSQL, and Prisma in this comprehensive guide.

PostgreSQL is an open-source, object-relational database management system (ORDBMS) available for all major platforms including Linux, UNIX, Windows, and OS X. It allows you to add custom functions developed using different programming languages such as C/C++, Java, etc. It is designed to handle a range of workloads, from single machines to data warehouses or Web services with many concurrent users. It is the default database for macOS Server.

I wrote a small open-source library that combines dotNetify with PostgreSQL logical replication.

Databasus surpassed established solutions like WAL-G, pgBackRest and Barman.

Learn how PostgreSQL table partitioning improves performance for massive datasets using range, list, and hash strategies with practical examples.

Creating a new Rails app is super easy by itself. And, creating a Rails app set up as an API is not much different.

How you can ditch the Big Git and self host your own gitea server.

Auto-increment is a database feature that generates unique IDs for new rows. It's supported by most RDBMS and can be implemented using different syntax.

What comes to a Python developer’s mind when he needs to write an I/O bound application? Of course async. Why? Usually, because it’s a trend. And I’ve seen this

This is a self-contained demo using Materialize to process data IoT devices data directly from a PostgreSQL server.

We use different Continuous Integration tools in our projects. One of them is TeamCity software. A pipeline for TeamCity can be configured easily and has two steps, such as run tests and build a docker image for further deployment. However, I needed to run Postgres before running tests. I made a research, I read the documentation and this article may be useful to close a gap for team city’s documentation.

A Short Story on my Ubuntu, postgresql and Ruby on Rails journey

SQL is very important and many programmers realize this, however, I have found that many more programmers just don't spend much time improving their SQL skills.

Share code using these lightning fast sandboxes available in almost all popular languages

How ChatGPT scaled PostgreSQL to 800M users using pooling, replicas, caching, and sharding—no NoSQL migration required.

Anthropic recognized Databasus, the most starred PostgreSQL backup tool on GitHub, through their Claude for Open Source program. The story behind the proj

PostgreSQL 16 brings some key improvements to indexing that, while technical, have a direct impact on performance.

pgBackRest is awesome, but it can be quite slow. We mitigated this problem via incorporating EBS snapshots to our backup creation/restore strategy for Postgres.

Spin up a fast local NestJS + PostgreSQL dev setup using Docker. Clean, scriptable environment with full DB integration and zero local clutter.

An exploration of AlloyDB's architecture and design, focussing on its storage engine, with descriptions of how it handles reads and writes

While scheduling classes for my final semester of college, I was very eager to do something different. Like many of my computer science peers, I had grown tired of the typical class where we have to reinvent the wheel when learning new concepts.

This tutorial explains how to use Postgres in your Express application.

how I built a powerful Telegram bot and API library using NestJS.

A guide about hierarchical querying in Oracle & PostgreSQL, comparing syntax, efficiency, & suitability for diverse data structures.

Thinking of shifting to a new database management engine? Here's how to migrate data from SQL server to PostgreSQL.

People are still using autoincrementing integer ids in postgres in 2023 and they shouldn't be! UUIDs are leaps and bounds better.

Build a scalable marketplace with Medusa JS: from tech stack choices to custom plugins, payments, messaging, and shipping for a global, production-ready MVP

I decided to put it to the test across four popular database systems: MySQL 8.0, Oracle 23c, PostgreSQL 16, and SQLite 3.45. The results were eye-opening.

Learn Express + Postgres migrations: create migration files, apply and rollback changes, and seed your database with test data.

12/3/2023: Top 5 stories on the Hackernoon homepage!

To connect to a database and query data, you need to begin by installing Pandas and Sqlalchemy.

ChartDB is an open-source tool transforming database design. Discover intuitive visualization, AI features, and seamless developer workflows.

[96. Towards Open Options Chains:

A Data Pipeline Solution - Part I](https://hackernoon.com/towards-open-options-chains-a-data-pipeline-solution-for-options-data-part-i) In "Towards Open Options Chains", Chris Chow presents his solution for collecting options data: a data pipeline with Airflow, PostgreSQL, and Docker.

A practical, developer-friendly deep dive into Google’s GenAI Toolbox and how it simplifies secure, low‑code LLM-to-database integration.

Create your own PostgreSQL database to gamify your exercise. Keep track of the progress of your running, and perform data analysis with yourself as the dataset.

When we first launched finlight.me, our real-time financial news API, Postgres full-text search was more than enough. It was fast, easy to set up ...

Mastering Database Functions: A Beginner's Guide to Simplifying Backend Code

PostgreSQL 18, released on September 25, 2025, includes major features focused on performance, manageability, and developer experience.

The story is the compilation of the several articles I shall use to illustrate how to build a complete Django open-source API about tribes of the world.

A step-by-step walkthrough of building a real-time data pipeline to merge and synchronize MySQL data sources using Apache SeaTunnel.

Explore the database anonymization process from scratch. Who needs it, and what do we gain? What is anonymization in simple terms? An example of anonymization.

Docker deployment aims to start and deploy Apache Dolphinscheduler services quickly in a container.

As opposed to proprietary solutions (like Oracle), you won’t get locked in with ever-escalating license fees. Here are 6 reasons you should move to PostgreSQL.

A Golang API based on the game "Crisis Core: Final Fantasy VII", for simulating fusion of materia.

Creating a foreign data wrapper (FDW) in PostgreSQL and Aurora PostgreSQL hosted on AWS RDS can profoundly enhance your database's functionality

A small modern data stack that ETLs data from a PostgreSQL database into a ClickHouse database.

Every tutorial covers the happy path. Nobody talks about what happens the second time your sync runs — duplicate records, Salesforce's 2,000-record pagination.

The article guides you through the process of creating an Angular reporting app with PostgreSQL, pivot grid, and chart visualization in the form of a dashboard.

Do you have an app on Heroku using Postgres? Are you running out of database connections?

After 7 major replatformings over 11 years, I've cataloged 5 hidden failure modes that silently break database migrations weeks after everyone stops watching.

This article will show you a real-life optimization story and how PostgreSQL row count estimation can go very wrong when trying to get a faster query plan

A look at the garbage Java apps generate, demonstrated with some help from Postgres and SSDs.

Clarity windows refer to unpredictable moments in LLM-powered AI conversations where the model provides responses that appear highly intelligent, profound...

In "Towards Open Options Chains", Chris Chow presents his solution for collecting options data: a data pipeline with Airflow, PostgreSQL, and Docker.

In "Towards Open Options Chains", Chris Chow presents his solution for collecting options data: a data pipeline with Airflow, PostgreSQL, and Docker.

Ever wonder what would happen to an open source database project in case its main developers “got hit by a bus”?

In this article, we’ll define COMMIT, ROLLBACK, and SAVEPOINT in SQL and demonstrate how to implement these transaction controls when working with Oracle

Learn how RAG and vector databases like Pinecone and Postgres give AI real memory. Build smarter, grounded apps that actually know your business.

Let's look at what CP systems actually do under the hood when they choose consistency over availability.

Learn how to start Apache DolphinScheduler with an external PostgreSQL and ZooKeeper setup.

If you’re working with growing PostgreSQL tables, you're likely no stranger to the challenges of managing large datasets efficiently.

AI-driven automation in database management transforms reactive ops into predictive, self-healing systems for scale, reliability, and performance.

IKODIX is an online code generator for admin panel full-stack applications for any relational database.

Now more than ever, you have to hold onto every customer you can. Customers don’t love your product one minute, then fall out of love with it the next. Normally there’s a declining trend in usage of your product over time.

PostgreSQL backups: comparing pg_dump speed in different formats and with different compression levels

If you see __debezium_unavailable_value in your Debezium CDC stream, it’s not a bug; it’s PostgreSQL and Debezium being honest about what they don’t know.

Here's the whole story of how I built One Word Domains from scratch, grew it to 50,000 users, and end up winning the coveted Golden Kitty Award.

Ory Hydra is a popular open-source OAuth2 and OpenID Connect server that provides secure authentication and authorization for applications.

In "Towards Open Options Chains", Chris Chow presents his solution for collecting options data: a data pipeline with Airflow, PostgreSQL, and Docker.

pgrwl enables zero data loss (RPO=0) PostgreSQL backups via streaming WAL archiving, built for containers with S3/SFTP support, compression, and encryption.

Spring Data JPA is a framework that abstracts all of the complexity needed for you to interact with your databases.

12/2/2025: Top 5 stories on the HackerNoon homepage!

This post dives into the internals of Postgres replication, WAL, and logical decoding. We will also write our own plugin to send push notifications.

Learn how to internationalize database data using Linked Localization Tables, demonstrated with a practical example from a mobile fitness app.

Creating a full-fledged API requires resources, both time and money.

9/22/2025: Top 5 stories on the HackerNoon homepage!

Learn how to supercharge your Django app with full-text search using Django-Watson. Dive deep into Postgres magic and boost search functionality.

Local database setup is deceptively expensive. It introduces variance into your dev environments and bakes hidden assumptions into your codebase. I wanted every

Learn how one dev turned a disaster into an open-source PostgreSQL backup tool to prevent it from happening to you.

Automatically log slow query plans with auto_explain and learn how to fix the problematic PostgreSQL queries that are slowing you down.

10/21/2025: Top 5 stories on the HackerNoon homepage!