PostgreSQL Client for Database Sync
to Redshift and Others

When you deal with PostgreSQL databases regularly in the scope of your day-to-day working routine, one way or another, you will need to clone or synchronize one or more databases at the same time. Devart has come up with a convenient solution exactly for this purpose - dbForge Studio for PostgreSQL. This IDE has broad compatibility options and offers a vast set of convenient features: query profiler, data import and export, data reports, as well as data and schema compare features that allow you to:

  • Save time comparing and synchronizing PostgreSQL database data and schemas.
  • Apply updates from development databases to staging or production.
  • Sync tables between PostgreSQL and Redshift databases.
  • Compare PostgreSQL database data and deploy it to Azure Database.
  • Fix problems by restoring missing or damaged data to a single row.
  • Automate routine synchronization tasks via the command-line interface.

Comparing PostgreSQL Schemas

The Schema Compare feature provides easy and effective comparison and synchronization of database structures in PostgreSQL and Amazon Redshift. It helps identify and analyze schema differences, provides comprehensive information on all detected changes, and lets you fine-tune the comparison using configurable options and schema mapping. The feature also generates clear and accurate SQL synchronization scripts for reviewing and deploying database changes.

Comparing PostgreSQL Data

The Data Comparison feature helps you quickly and accurately compare and deploy PostgreSQL table data, whether you're moving data from test to production or the other way around. dbForge Studio provides an excellent opportunity to compare PostgreSQL database data and then deploy changes to Amazon Redshift or Azure Database.

Setting Up Comparison and Synchronization Processes

Both Data and Schema Comparison tools offer a convenient, intuitive interface that allows you to compare and synchronize data and schemas in just a few clicks. To get started, click Comparison and select either New Data Comparison or New Schema Comparison depending on what exactly you are currently working with.

Data Comparison Wizard

In the New Data Comparison wizard, you can select the connections that contain databases you are willing to compare, as well as configure the comparison options and mapping.

dbForge Studio for PostgreSQL - Data Comparison Wizard

Schema Comparison Wizard

When it comes to schema comparison, you can start by selecting the connections and databases you want to compare in the New Schema Comparison wizard. dbForge Studio for PostgreSQL then guides you through the subsequent steps. On the Options page, you can customize the schema comparison behavior. The Schema Mapping and Table Mapping pages allow you to define how source and target schemas, tables, and columns are mapped.

When you proceed to deploy schema changes, the Schema Synchronization Wizard lets you choose the synchronization output, configure synchronization options, and review related dependencies, if any. You can also add custom scripts to run before or after schema synchronization and review the synchronization summary before applying the changes.

dbForge Studio for PostgreSQL - Schema Comparison Wizard

Explore Differences Between Two Databases

The Data Comparison document provides a clear display of the comparison results, where you can:

  • View data differences for each pair of objects.
  • Filter and sort objects in the results grid.
  • Perform full-text data search.
  • See the number of changes per column.
  • Hide unmodified columns to simplify the analysis.
Analysis of the data comparison results

Schema Compare allows you to manage and analyze the comparison results in the following ways:

  • Filter, group, and sort objects in the results grid.
  • View columns and constraints in alphabetical order.
  • View the compared text in a separate window.
  • View white spaces, line numbers, and hex.
  • Configure script options.
  • Deploy individual objects, a selection of objects, or all of them.
  • Preview the schema update deployment script for each object.
Analysis of the schema comparison results

Load Data from PostgreSQL to Redshift and Others

The IDE allows synchronization with the following services:

  • PostgreSQL Databases
  • Azure PostgreSQL
  • Amazon RDS for PostgreSQL
  • Amazon Redshift
Redshift compatibility

Command-line Comparison Automation

With dbForge Studio for PostgreSQL functionality, you can automate data & schema comparison and synchronization processes according to your needs:

  • Save the comparison project settings for future use.
  • Use Command Prompt or PowerShell for automatic routine synchronizations.
  • Save comparison and sync settings as a command-line execution file (.bat) and run it whenever you need.
  • Set the .bat file automatic execution on with Windows Scheduler.

Data Compare

Routine comparison and synchronization automation

Schema Compare

Schema comparison and synchronization automation

Key Features of RedShift

PostgreSQL has been around since 1996; it is a data warehouse that many are familiar with. However, Amazon Redshift has gained a lot of traction since its release in 2012, being the first cloud data warehouse. Even though Redshift was built on Postgres 8.0.2, they're not the same thing. There are five key features that characterize Redshift:

  1. Columnar database
  2. Paid service
  3. Best for analytics, not processing transactional data
  4. Operates on a cluster
  5. Constraints and indexes are implemented differently than in PostgreSQL

Comparison Table of PostgreSQL vs RedShift

In order for you to get a visual understanding of the difference between one and the other, we have created a comparative table of PostgreSQL vs RedShift:

The main differences between PostgreSQL and RedShift