{"product_id":"postgresql-query-optimization-the-ultimate-guide-to-building-efficient-queries-9798868800689","title":"PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries","description":"\u003cp\u003eWrite optimized queries. This book helps you write queries that perform fast and deliver results on time. You will learn that query optimization is not a dark art practiced by a small, secretive cabal of sorcerers. Any motivated professional can learn to write efficient queries from the get-go and capably optimize existing queries. You will learn to look at the process of writing a query from the database engine's point of view, and know how to think like the database optimizer.\u003c\/p\u003e \u003cp\u003eThe book begins with a discussion of what a performant system is and progresses to measuring performance and setting performance goals. It introduces different classes of queries and optimization techniques suitable to each, such as the use of indexes and specific join algorithms. You will learn to read and understand query execution plans along with techniques for influencing those plans for better performance. The book also covers advanced topics such as the use of functions and procedures, dynamic SQL, and generated queries. All of these techniques are then used together to produce performant applications, avoiding the pitfalls of object-relational mappers.\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eThis second edition includes new examples using Postgres 15 and the newest version of the PostgresAir database. It includes additional details and clarifications about advanced topics, and covers configuration parameters in greater depth. Finally, it makes use of advancements in NORM, using automatically generated functions. \u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cb\u003eWhat You Will Learn\u003c\/b\u003e\u003cul\u003e\n\u003cli\u003eIdentify optimization goals in OLTP and OLAP systems\u003c\/li\u003e\n\u003cli\u003eRead and understand PostgreSQL execution plans\u003cbr\u003e\n\u003c\/li\u003e\n\u003cli\u003eDistinguish between short queries and long queries\u003c\/li\u003e\n\u003cli\u003eChoose the right optimization technique for each query type\u003c\/li\u003e\n\u003cli\u003eIdentify indexes that will improve query performance\u003c\/li\u003e\n\u003cli\u003eOptimize full table scans\u003c\/li\u003e\n\u003cli\u003eAvoid the pitfalls of object-relational mapping systems\u003c\/li\u003e\n\u003cli\u003eOptimize the entire application rather than just database queries\u003c\/li\u003e\n\u003c\/ul\u003e \u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cb\u003eWho This Book Is For\u003c\/b\u003e\u003cbr\u003eIT professionals working in PostgreSQL who want to develop performant and scalable applications, anyone whose job title contains the words \"database developer\" or \"database administrator\" or who is a backend developer charged with programming database calls, and system architects involved in the overall design of application systems running against a PostgreSQL database\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAbout the Author\u003c\/b\u003e\u003cbr\u003e\u003cb\u003eHenrietta Dombrovskaya\u003c\/b\u003e is a database researcher and developer with over 40 years of academic and industrial experience. She holds a PhD in Computer Science from the University of Saint Petersburg, Russia. At present, she is a Database Architect at DRW Holdings, Chicago, Illinois. She is an active member of the PostgreSQL community, a frequent speaker at the PostgreSQL conference, and the local organizer of the Chicago PostgreSQL User Group. Her research interests are tightly coupled with practice and are focused on developing efficient interactions between applications and databases.\u003cp\u003e\u003c\/p\u003e\u003cb\u003eBoris Novikov's\u003c\/b\u003e experience includes leading post-graduate research groups and advising dozens of PhD students, while partnering and collaborating with industrial clients. His research interests are in the broad area of information management and include design, development, and tuning of databases, applications, and database management systems (DBMSs). He alsohas interests in distributed scalable systems for stream processing and analytics.. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eAnna Bailliekova\u003c\/b\u003e is Senior Data Engineer at UrbanFootprint, where she works on data platform tools and cloud ops for geospatial applications. Previously, she worked in data engineering at Zendesk, and held a variety of DBA and BI roles at Epic. Her writing can be found in the newsletter \u003ci\u003eBetter Streets MKE\u003c\/i\u003e. She received her undergraduate degree with College Honors in Political Science and Computer Science from Knox College in Galesburg, Illinois. \u003cp\u003e\u003c\/p\u003e\u003cbr\u003e","brand":"Apress","offers":[{"title":"Default Title","offer_id":50614615965970,"sku":"9798868800689","price":35.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0831\/4771\/8930\/files\/img_6577dd57-97f2-4f76-9271-276fe1bbf531.jpg?v=1732453197","url":"https:\/\/surprise-castle.myshopify.com\/products\/postgresql-query-optimization-the-ultimate-guide-to-building-efficient-queries-9798868800689","provider":"Surprise Castle","version":"1.0","type":"link"}