Pular para o conteúdo principal
InícioSQLImproving Query Performance in PostgreSQL

Improving Query Performance in PostgreSQL

Learn how to structure your PostgreSQL queries to run in a fraction of the time.

Comece O Curso Gratuitamente
4 horas15 vídeos53 exercícios9.963 aprendizesTrophyDeclaração de Realização

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.
Group

Treinar 2 ou mais pessoas?

Experimente o DataCamp For Business

Amado por alunos de milhares de empresas


Descrição do Curso

Losing time on slow queries? Hesitant to share your queries with more seasoned coworkers? In this course, you will learn how to structure your PostgreSQL to run in a fraction of the time. Exploring intertwined data relating Olympic participation, country climate, and gross domestic product, you will experience firsthand how changes in filtering method and using subqueries impact query performance. You will learn the properties of a row oriented database while also seeing how Hawaii's volcanos impact air quality. Restructuring your queries with the query planner and the SQL order of operations, you will soon be dazzling your coworkers with your effortless efficiency.
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados
Experimente O DataCamp for BusinessPara uma solução sob medida , agende uma demonstração.

Nas seguintes faixas

SQL para administradores de banco de dados

Ir para a trilha
  1. 1

    Bringing Together the Data

    Gratuito

    Bundle up as you dive into the Winter Olympics! You will learn how to join, subquery, and create temporary tables while finding which Olympic athletes brave sub-freezing temperatures to train. You will also learn about the query planner and how its functionality can guide your SQL structure to faster queries.

    Reproduzir Capítulo Agora
    All about joins
    50 xp
    Where are all the athletes from
    100 xp
    Using different joins to explore athletes' regions
    100 xp
    What about the weather
    100 xp
    Subqueries and common table expressions (cte)
    50 xp
    Filtering to freezing with a subquery
    100 xp
    Where winter is white
    100 xp
    Countries with subqueries or CTEs
    100 xp
    Working with temporary tables
    50 xp
    Canadians temp table
    100 xp
    Analyze that temp table
    100 xp
  2. 2

    Minimizing Results and Decreasing the Load

    Dig up those past algebra memories while learning the SQL order of operations. Find which countries "should" have the most athletes by looking at population and gross domestic product (GDP) while learning the best way to filter. You will also learn when your query aggregates (sums, counts, etc.) and how you can structure your query to optimize this process.

    Reproduzir Capítulo Agora
  3. 3

    Using Database Designed Properties

    Zero in on the properties that improve database performance. Discover when your table is not a table but a view. Learn how your database's storage structure (row or column oriented) impacts your query structure. You will explore volcanic smog while using partitions and indexes to speed your queries.

    Reproduzir Capítulo Agora
  4. 4

    Assessing Query Performance

    Learn the lingo of the Query Lifecycle and dive into the query planner. Explore how the query planner creates and optimizes the query plan. Find your next vacation locale by looking for countries with recent population growth while also seeing how a join impacts the query steps. Fine tune your optimization techniques by seeing how different filters speed your query times.

    Reproduzir Capítulo Agora
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados

Nas seguintes faixas

SQL para administradores de banco de dados

Ir para a trilha

conjuntos de dados

GDPOlympic AthletesOlympic RegionsAQI

colaboradores

Collaborator's avatar
Mona Khalil
Collaborator's avatar
Becca Robins
Amy McCarty HeadshotAmy McCarty

Data Analyst

Ver Mais

O que os outros alunos têm a dizer?

Junte-se a mais de 14 milhões de alunos e comece Improving Query Performance in PostgreSQL hoje mesmo!

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.