Maintenance, Optimization, and Performance Tuning

In this chapter, we will cover the following recipes:

  • Organizing the database
  • Setting up the correct data privilege mechanism
  • Backing up the database
  • Using indexes
  • Clustering for efficiency
  • Optimizing SQL queries
  • Migrating a PostGIS database to a different server
  • Replicating a PostGIS database with streaming replication
  • Geospatial sharding
  • Paralellizing in PosgtreSQL

Get PostGIS Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.