You probably don’t need a collection of specialty databases. Just use Postgres instead!
Written for application developers and database pros, Just Use Postgres! shows you how to get the most out of the powerful Postgres database.
In Just Use Postgres! you’ll learn how to:
• Use Postgres as an RDBMS for transactional workloads
• Develop generative AI, geospatial, and time-series applications
• Take advantage of modern SQL including window functions and CTEs
• Perform full-text search and process JSON documents
• Use Postgres as a message queue
• Optimize performance with various index types including B-trees, GIN, GiST, HNSW, and more
Over the decades, PostgreSQL, aka Postgres, has grown into the most powerful general-purpose database and has become the de facto standard for developers worldwide. Just Use Postgres! takes a modern look at Postgres, exploring the database’s most up-to-date features for AI, time-series, full-text search, geospatial, and other application workloads.
Foreword by Josh Long. Afterword by Vlad Mihalcea.
About the technology
You know that PostgreSQL is a fast, reliable, SQL compliant RDBMS. You may not know that it’s also great for geospatial systems, time series, full-text search, JSON documents, AI vector embeddings, and many other specialty database functions. For almost any data task you can imagine, you can use Postgres.
About the book
Just Use Postgres! covers recipes for using Postgres in dozens of applications normally reserved for single-purpose databases. Written for busy application developers, each chapter explores a different use case illuminating the breadth and depth of Postgres’s capabilities. Along the way, you’ll also meet an incredible ecosystem of Postgres extensions like pgvector, PostGIS, pgmq, and TimescaleDB. You’ll be amazed at everything you can accomplish with Postgres!
What's inside
• Generative AI, geospatial, and time-series applications
• Modern SQL including window functions and CTEs
• Full-text search and JSON
• B-trees, GIN, GiST, HNSW, and more
About the reader
For application developers, software engineers, and architects who know the basics of SQL.
About the author
Denis Magda is a recognized Postgres expert and software engineer who worked on Java at Sun Microsystems and Oracle before focusing on databases and large-scale distributed systems.
Table of Contents
Part 1
1 Meeting Postgres
2 Standard RDBMS capabilities
3 Modern SQL
4 Indexes
Part 2
5 Postgres and JSON
6 Postgres for full-text search
Part 3
7 Postgres extensions
8 Postgres for generative AI
9 Postgres for time series
10 Postgres for geospatial data
11 Postgres as a message queue
Appendixes
A Five optimization tips
B When not to use Postgres

- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
About this book
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Subtopic
DatabasesIndex
Computer ScienceTable of contents
- Just use Postgres! All the database you need
- copyright
- contents
- dedication
- foreword
- preface
- acknowledgments
- about this book
- about the author
- about the cover illustration
- Part 1 Postgres as a relational database
- 1 Meeting Postgres
- 2 Standard RDBMS capabilities
- 3 Modern SQL
- 4 Indexes
- Part 2 Core Postgres beyond relational
- 5 Postgres and JSON
- 6 Postgres for full-text search
- Part 3 Extensions and the broader ecosystem
- 7 Postgres extensions
- 8 Postgres for generative AI
- 9 Postgres for time series
- 10 Postgres for geospatial data
- 11 Postgres as a message queue
- appendix A Five optimization tips
- appendix B When not to use Postgres
- afterword
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Just Use Postgres! by Denis Magda in PDF and/or ePUB format, as well as other popular books in Computer Science & Databases. We have over one million books available in our catalogue for you to explore.