Develop programmatic functions to create powerful database applications
About This Book
Write complex SQL queries and design a robust database design that fits your application's need
Improve database performance by indexing, partitioning tables, and query optimizing
A comprehensive guide covering the advanced PostgreSQL concepts without any hassle
Who This Book Is For
If you are a PostgreSQL developer with a basic knowledge of PostgreSQL development and you’re want deeper knowledge to develop applications, then this book is for you. As this book does not cover basic installation and configurations, you should have PostgreSQL installed on your machine as a prerequisite.
What You Will Learn
Write more complex queries with advanced SQL queries
Design a database that works with the application exactly the way you want
Make the database work in extreme conditions by tuning, optimizing, partitioning, and indexing
Develop applications in other programming languages such as Java and PHP
Use extensions to get extra benefits in terms of functionality and performance
Build an application that does not get locked by data manipulation
Explore in-built db functions and data type conversions
PostgreSQL is the most advanced open source database in the world. It is easy to install, configure, and maintain by following the documentation; however, it’s difficult to develop applications using programming languages and design databases accordingly. This book is what you need to get the most out of PostgreSQL
You will begin with advanced SQL topics such as views, materialized views, and cursors, and learn about performing data type conversions. You will then perform trigger operations and use trigger functions in PostgreSQL. Next we walk through data modeling, normalization concepts, and the effect of transactions and locking on the database.
The next half of the book covers the types of indexes, constrains, and the concepts of table partitioning, as well as the different mechanisms and approaches available to write efficient queries or code. Later, we explore PostgreSQL Extensions and Large Object Support in PostgreSQL. Finally, you will perform database operations in PostgreSQL using PHP and Java. By the end of this book, you will have mastered all the aspects of PostgreSQL development. You will be able to build efficient enterprise-grade applications with PostgreSQL by making use of these concepts
Style and approach
Every chapter follows a step by step approach that first explains the concept , then shows you how to execute it practically so that you can implement them in your application.
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.