PostgreSQL Mistakes and How to Avoid Them
eBook - ePub

PostgreSQL Mistakes and How to Avoid Them

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

PostgreSQL Mistakes and How to Avoid Them

About this book

Recognize and avoid these common PostgreSQL mistakes!

The best mistakes to learn from are ones made by other people! In PostgreSQL Mistakes and How To Avoid Them you’ll explore dozens of common PostgreSQL errors so you can easily avoid them in your own projects, learning proactively why certain approaches fail and others succeed.

In PostgreSQL Mistakes and How To Avoid Them you’ll learn how to:

• Avoid configuration and operation issues
• Maximize PostgreSQL utility and performance
• Fix bad SQL practices
• Solve common security and administration issues
• Ensure smooth migration and upgrades
• Diagnose and fix a bad database

As PostgreSQL continues its rise as a leading open source database, mastering its intricacies is crucial. PostgreSQL Mistakes and How To Avoid Them is full of tested best practices to ensure top performance, and future-proof your database systems for seamless change and growth. Each of the mistakes is carefully described and accompanied by a demo, along with an explanation that expands your knowledge of PostgreSQL internals and helps you to build a stronger mental model of how the database engine works.

Foreword by Gianni Ciollil.

About the technology

Fixing mistakes in PostgreSQL databases can be time-consuming and risky—especially when you’re making live changes to an in-use system. Fortunately, you can learn from the mistakes other Postgres pros have already made! This incredibly practical book lays out how to find and avoid the most common, dangerous, and sneaky errors you’ll encounter using PostgreSQL.

About the book

PostgreSQL Mistakes and How To Avoid Them identifies Postgres problems in key areas like data types, features, security, and high availability. For each mistake you’ll find a real-world narrative that illustrates the pattern and provides concrete recommendations for improvement. You’ll especially appreciate the illustrative code snippets, schema samples, mind maps, and tables that show the pros and cons of different approaches.

What's inside

• Diagnose configuration and operation issues
• Fix bad SQL code
• Address security and administration issues
• Ensure smooth migration and upgrades

About the reader

For PostgreSQL database administrators and application developers.

About the author

Jimmy Angelakos is a systems and database architect and PostgreSQL Contributor. He works as a Senior Principal Engineer at Deriv.

Table of Contents
1 Why PostgreSQL matters—and why talking about mistakes does too
2 Bad SQL usage
3 Improper data type usage
4 Table and index mistakes
5 Improper feature usage
6 Performance bad practices
7 Administration bad practices
8 Security bad practices
9 High availability bad practices
10 Upgrade/migration bad practices
11 PostgreSQL, best practices, and you: Final insights
A Frogge Emporium database
B Cheat sheet

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.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
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.
Both plans are available with monthly, semester, or annual billing cycles.
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 1000+ topics, we’ve got you covered! Learn more here.
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 here.
Yes! You can use the Perlego app on both iOS or 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.
Yes, you can access PostgreSQL Mistakes and How to Avoid Them by Jimmy Angelakos in PDF and/or ePUB format, as well as other popular books in Computer Science & Cyber Security. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Manning
Year
2025
eBook ISBN
9781638357551
Edition
0

Table of contents

  1. PostgreSQL Mistakes and How to Avoid Them
  2. copyright
  3. contents
  4. dedication
  5. foreword
  6. preface
  7. acknowledgments
  8. about this book
  9. about the author
  10. about the cover illustration
  11. 1 Why PostgreSQL matters—and why talking about mistakes does too
  12. 2 Bad SQL usage
  13. 3 Improper data type usage
  14. 4 Table and index mistakes
  15. 5 Improper feature usage
  16. 6 Performance bad practices
  17. 7 Administration bad practices
  18. 8 Security bad practices
  19. 9 High availability bad practices
  20. 10 Upgrade/migration bad practices
  21. 11 PostgreSQL, best practices, and you: Final insights
  22. appendix A Frogge Emporium database
  23. appendix B Cheat sheet