PostgreSQL is an open-source, object-relational database management system available for all major platforms including Linux, UNIX, Windows and OS X.

postgresql postgre-sql

A window to the solar system

Looking closer at an intermediate SQL topic.Ah, windows — I could look out my childhood bedroom window and see a great sunset in the west, the moon rising in the east, and stars. Lots of stars. Sagittarius, the archer who looked like a teapot, was one of my favorite things to look at. So was Orion and his two dogs.

8 Reasons To Learn PostgreSQL | Benefits of PostgreSQL Training

Learning PostgreSQL which is in demand now more than ever will certainly help you climb up the ladder of success. Explore the benefits of attending the PostgreSQL Training program.Now it plays a key role in many integrated data centers across the globe.

How to Install PostgreSQL on CentOS 7

PostgreSQL or Postgres is an open-source general-purpose object-relational database management system. In this tutorial we will show you two different methods on how to install PostgreSQL on your CentOS 7 machine.The first method will walk you through the steps necessary to install PostgreSQL v9.2.23 from the CentOS repositories while the second one will show you how to install the latest version of PostgreSQL from the official PostgreSQL repositories.

GraphQL & Distributed SQL Tips and Tricks - July 10, 2020

Welcome to this week’s tips & tricks blog where we explore topics related to combining GraphQL & YugabyteDB to develop scalable APIs & services. We’ll also review upcoming events, new documentation, and blogs that have been published since the last tips and tricks post.

How to Install PostgreSQL on Debian 9

PostgreSQL, often known simply as Postgres, is an open-source general-purpose object-relational database management system. PostgreSQL has many advanced features such as online backups, point in time recovery, nested transactions, SQL and JSON...

ObjectRocket gave to me... two HA Postgres replicas! | ObjectRocket

Read on to learn why HA is important to your workload and how we are providing the components of our HA for PostgreSQL solution.

How to Configure your PostgreSQL Database to WayScript | Database Automation Made Easy

Hey everyone! In this video let's look at how we can configure PostgreSQL databases to WayScript. We're using a database hosted on heroku for this tutorial.

Postgres Backups and How to Restore Them on ObjectRocket | ObjectRocket

Learn the bonus feature our PostgreSQL offering has when it comes to backups and archiving.This is generally called Point-in-Time Recovery (PITR) and I’ll walk you through how it works on our service

Wiresharking PostgreSQL - SELECT * FROM on Postgres behind the scenes

In this video we look behind the curtain of PostgresSQL and see how a single SELECT * FROM translate into the TCP stack. We will create a TCP postgres connec.

zBoosting Performance for Small Distributed SQL Data Sets with Colocated Tables - SQL

The system catalog of YSQL (and PostgreSQL) consists of over 200 tables and relations to maintain metadata information about the database, such as the tables created in the database, columns . An Introduction to Colocated Tables In YugabyteDB v2.1, we released a new feature in beta: colocated tables. In this post, we’ll explain what colocated tables are in a distributed SQL database, why you would need them, and how to get started. Relational databases often have a large number of tables and indexes. A lot of these tables are closely related and commonly queried together via joins or subqueries. In YugabyteDB, a scale-out distributed SQL database, each table will be split automatically into a number of shards. Sharding is the process of breaking up large tables into smaller chunks called shards that are spread across multiple servers. A shard (also referred to as a tablet) is a horizontal data partition that contains a subset of the total data set, and is responsible for serving a portion of the overall workload. The idea is to distribute data that can’t fit on a single node onto a cluster of database nodes. So, let’s say you have 1000 tables, each with 1 index. If each table and index is split in 10 tablets, then there are 20000 tablets in the cluster. Each tablet uses its own RocksDB instance to store data. This is done so that the tablets can be uniformly distributed across multiple disks on a node. This example would then result in 20K RocksDB instances, increasing CPU, disk, and network overhead. Having multiple tablets for small tables that are closely related can be detrimental to performance in a distributed SQL database. This is because complex queries involving joins and subqueries on these tables will result in a large fan-out, requiring lookups across multiple nodes or regions, and incurring network latency. Colocated tables allow you to store (or co-locate) such datasets on a single tablet, called the colocation tablet, thereby eliminating query fan-out and boosting performance. Note that the data in colocated tables is still replicated across multiple nodes, providing high availability, while also making reads much faster. Starting with YugabyteDB v2.1, you can create a database that is colocated. This will cause all tables in that database to be stored on the same tablet. Large tables or tables with higher write throughput can be opted out of colocation. This will end up creating separate tablets for such tables. You can find more information in the colocated tables documentation. yugabytedb colocated tables feature for boosting performance small data sets, data for all tables colocated database stored on same tablet As shown in the above diagram, creating a colocated database will create a single tablet for that database which is replicated across multiple nodes. Data for all tables in that database will be stored on the same tablet. Tables that opt out of colocation will continue to be split into multiple shards. yugabytedb distributed sql database colocated tables feature for boosting performance small data sets Above is an example of a database using colocated tables. The “products”, “categories”, “stores”, and “warehouses” tables are colocated on a single tablet while the “orders” and “line_items” tables have their own set of tablets.

Follow-up: Postgres Conference Webinar – Introduction to YugabyteDB - The Distributed SQL

Postgres Conference webinar follow up–YugabyteDB: a distributed PostgreSQL database–incl. info about YugabyteDB's PostgreSQL compatibility & more

Polymorphism in SQL part two - variadic functions - The Distributed SQL Blog

Part 2 of the 2-part series on polymorphic & variadic stored procedures in PostgreSQL & YugabyteDB: this post explains how to use the “variadic” keyword to create a user-defined function or procedure that can accept a comma-separated list of any number of input actual arguments

Cardano Goguen, Bitcoin, Postgresql Encrypted Chat, Ethereum & more!

We got some really exciting news about Cardano Goguen in the second day of the Cardano Summit. Hashoshi breaks it down, along with Bitcoin price analysis and...

Creating tables in SQL Another SQL tutorial with basic methods

Another SQL tutorial with basic methods. There are many ways to insert data into a database.In this blog, I want to show two manual ways of creating a SQL table and adding data to that table.

Creating a Ruby on Rails API

During my time at Flatiron School, I built several projects using a Ruby on Rails API backend with a JavaScript frontend.

Part 1: Deploying a Distributed SQL Backend for Apache Airflow

Learn how to configure Airflow to use YugabyteDB as a backend to deliver PostgreSQL-compatibility, high availability, geo data distribution, & high performance. Apache Airflow is a popular platform for programmatically authoring, scheduling, and monitoring workflows. Airflow has been deployed by companies like Adobe, Airbnb, Etsy, Instacart, and Square.

Episódio 141: George Guimarães - Code Review

Olá pessoal e sejam bem-vindos à mais um episódio do Castálio Podcast! Nosso convidado de hoje é co-founder da Plataformatec e co-founder do Ebert (renomeado para SourceLevel), uma ferramenta de análise de código e métricas de produtividade de equipes de software. Tem mais de 12 anos de atuação em equipes …

Creating a PostgreSQL DB on AWS and connecting it to Heroku Django app

When running your Django app on Heroku, you might be interested in using AWS RDS as your database server with a PostgreSQL engine because setting it up is cheaper and customizable to exactly what your application’s needs are. You can have granular control over access, security, monitoring, alerts, geographic location, and maintenance plans too. In this tutorial, we would be creating an AWS RDS instance, connecting it to PostgreSQL database and then linking it to our Django app hosted on Heroku. In simple words, making database go live on AWS !

Part 2: Airflow DAGs for Migrating PostgreSQL Data to Distributed SQL

Learn how to build an Apache Airflow workflow that will migrate data between PostgreSQL and YugabyteDB, the open source distributed SQL database. In this second post we’ll show you how to build an Airflow workflow that will migrate data between PostgreSQL and YugabyteDB.

PostgreSQL on ObjectRocket Reaches General Availability | ObjectRocket

See what features are now available for your production workloads and just how easy it is to get started. We’ve been trying to provide updates along the way and just like our other recent GA products (CockroachDB and Elasticsearch), we wanted to make sure we got it just right.