• Complain

Henrietta Dombrovskaya - PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries

Here you can read online Henrietta Dombrovskaya - PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Apress, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Henrietta Dombrovskaya PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries

PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Henrietta Dombrovskaya: author's other books


Who wrote PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries? Find out the surname, the name of the author of the book and a list of all author's works by series.

PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Book cover of PostgreSQL Query Optimization Henrietta Dombrovskaya Boris - photo 1
Book cover of PostgreSQL Query Optimization
Henrietta Dombrovskaya , Boris Novikov and Anna Bailliekova
PostgreSQL Query Optimization
The Ultimate Guide to Building Efficient Queries
1st ed.
Logo of the publisher Henrietta Dombrovskaya Braviant Holdings Chicago - photo 2
Logo of the publisher
Henrietta Dombrovskaya
Braviant Holdings, Chicago, IL, USA
Boris Novikov
HSE University, Saint Petersburg, Russia
Anna Bailliekova
Zendesk, Madison, WI, USA

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/9781484268841 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-6884-1 e-ISBN 978-1-4842-6885-8
https://doi.org/10.1007/978-1-4842-6885-8
Henrietta Dombrovskaya, Boris Novikov, Anna Bailliekova 2021
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This Apress imprint is published by the registered company APress Media, LLC part of Springer Nature.

The registered company address is: 1 New York Plaza, New York, NY 10004, U.S.A.

Introduction

Optimization is a broad enough term to encompass performance tuning, personal improvement, and marketing via social engine and invariably evinces high hopes and expectations from readers. As such, we find it prudent to begin this book not with an introduction to what is covered, but rather, why this book exists and what will not be covered, to avoid disappointing any readers who approach it with inappropriate expectations. Then, we proceed with what this book is about, the target audience, what is covered, and how to get the most use out of it.

Why We Wrote This Book

Like many authors, we wrote this book because we felt we could not not write it. We are both educators and practitioners; hence, we see both how and what computer science students are taught in class and what knowledge they lack when they enter the workforce. We do not like what we see and hope this book will help bridge this gap.

When learning about data management, most students never see a real production database, and even more alarming, many of their professors never see one, either. While lack of exposure to real-life systems affects all computer science students, the education of future database developers and database administrators (DBAs) suffers the most. Using a small training database, one can learn how to write syntactically correct SQL and even write a SELECT statement that properly asks for the desired result. However, learning to write performant queries requires a production-sized dataset. Moreover, it might not be evident that performance might present a problem if a student is operating on a dataset that can easily fit into the computers main memory and return a result in milliseconds regardless of the complexity of the query.

In addition to lacking exposure to realistic datasets, students often dont use DBMSs that are widely used in industry. While the preceding statement is true in relation to many DBMSs, in the case of PostgreSQL, it is even more frustrating. PostgreSQL originated in an academic environment and is maintained as an open source project, making it an ideal database for teaching relational theory and demonstrating database internals. However, so far, few academic institutions have adopted PostgreSQL for their educational needs.

While PostgreSQL is rapidly developing and becoming a more powerful tool, more and more businesses favor it over proprietary DBMSs in an attempt to reduce costs. More and more IT managers are looking for employees who are familiar with PostgreSQL. More and more potential candidates learn to use PostgreSQL on their own and miss opportunities to get the most out of it.

We hope that this book will help all interested parties: candidates, hiring managers, database developers, and organizations that are switching to PostgreSQL for their data needs.

What Wont Be Covered

Many people believe that optimization is a sort of magic possessed by an elite circle of wizards. They believe that they can be admitted into this circle if they receive tokens of sacred knowledge from their elders. And as soon as they have the keys, their abilities will have no limits.

Since we are aware of these misconceptions, we want to be transparent from the very beginning. The following is the list of topics that are often discussed in books about optimization that will not be covered in this book:
  • Server optimization Because it is not expected on a daily basis

  • Most system parameters Because database developers are not likely to have privileges to alter them

  • Distributed systems Because we do not have enough industrial experience with them

  • Transactions Because their impact on performance is very limited

  • New and cool features Because they change with every new release and our goal is to cover the fundamentals

  • Black magic (spells, rituals, etc.) Because we are not proficient in them

There are plenty of books available that cover all of the topics listed in the preceding list, except probably black magic, but this book is not one of them. Instead, we focus on everyday challenges database developers face: when that one application page keeps timing out, when a customer is kicked out of the application just before the Contract Signed page, when the CEO dashboard is showing an hourglass instead of yesterdays product KPI, and when procuring more hardware is not an option.

Everything we present in this book has been tested and implemented in an industrial environment, and though it may look like black magic, we will explain any query performance improvement or lack thereof.

Target Audience

Most of the time, a book about optimization is viewed as a book for DBAs. Since our goal is to prove that optimization is more than just building indexes, we hope that this book will be beneficial for a broader audience.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries»

Look at similar books to PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries»

Discussion, reviews of the book PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.