In this article, the author explains switching a secondary physical database to a secondary logical database based on PostgreSQL.