Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Developing Modern Database Applications with PostgreSQL

You're reading from   Developing Modern Database Applications with PostgreSQL Use the highly available and object-relational PostgreSQL to build scalable and reliable apps

Arrow left icon
Product type Paperback
Published in Aug 2021
Publisher Packt
ISBN-13 9781838648145
Length 440 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Marcelo Diaz Marcelo Diaz
Author Profile Icon Marcelo Diaz
Marcelo Diaz
Quan Ha Le Quan Ha Le
Author Profile Icon Quan Ha Le
Quan Ha Le
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1 - Introducing PostgreSQL Development and Administration
2. Introduction to PostgreSQL Development and Administration FREE CHAPTER 3. Section 2 - Development in PostgreSQL
4. Setting Up a PostgreSQL RDS for ATMs 5. Using PostgreSQL and Node.js for Banking Transactions 6. Managing Bank ATM Locations Using PostgreSQL and Django 7. Creating a Geospatial Database Using PostGIS and PostgreSQL 8. Managing Banking Transactions using PostgREST 9. Section 3 - Administration in PostgreSQL
10. PostgreSQL with DevOps for Continuous Delivery 11. PostgreSQL High Availability Clusters 12. High-Performance Team Dashboards Using PostgreSQL and New Relic 13. Testing the Performance of Our Banking App with PGBench and JMeter 14. Test Frameworks for PostgreSQL 15. Other Books You May Enjoy APPENDIX - PostgreSQL among the Other Current Clouds

PostGIS spatial extension

PostGIS is a spatial extender for PostgreSQL. It can be a good OpenGIS Simple Features for SQL-compliant spatial database because it allows you to use location SQL queries for geographic objects while remaining free and open source. Because spatial data is usually related to various types of data, PostGIS allows PostgreSQL developers to encode more complex spatial relationships. The first version (0.1) of PostGIS was released in May 2001 by Refractions Research. The latest released version of PostGIS is PostGIS 3.1.2.

When using PostGIS, we are able to execute our spatial data just like anything else in SQL statements. With the power of SQL, developers can conveniently perform spatial database transactions, backups, integrity checks, less data redundancy, multi-user operations, and security controls. 

The following is a list of advantages of PostGIS:

  • It offers complicated spatial tasks, spatial operators, and spatial functions.
  • It significantly shortens the development time of applications.
  • It allows spatial SQL querying using simple expressions for spatial relationships, such as the distance, adjacency, and containment, and for spatial operations, such as the area, length, intersection, union, and buffer.

In 2006, the Open Geospatial Consortium evaluated that "PostGIS implements the specified standard for simple features for SQL." In fact, PostGIS can be used as a backend for many software systems such as OpenStreetMap, ArcGIS, OpenJUMP, MapGuide, Kosmo, and QGIS. Furthermore, PostGIS also has an open source extension named "pgRouting" that provides geospatial routing functionality with many algorithms, including the all-pairs algorithm, Johnson’s algorithm, the Floyd-Warshall algorithm, A*, the bidirectional Dijkstra and traveling salesperson algorithms, and more.

You have been reading a chapter from
Developing Modern Database Applications with PostgreSQL
Published in: Aug 2021
Publisher: Packt
ISBN-13: 9781838648145
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image