Skip to main content

Parallel Select

  • Chapter
  • First Online:
A Course in In-Memory Data Management
  • 1516 Accesses

Abstract

ChapterĀ 18 introduced the concept of an inverted index to prevent the database system from performing a full column scan every time a query searches for a predicate in the column. However, maintaining an index is expensive and consumes additional memory. So the decision to use an index should be made carefully, balancing all the pros and cons an index would bring in the particular situation. This chapter discusses how to speed up a full column scan despite adding an index to it. ChapterĀ 17 introduced parallelism as a means to parallelize the execution of database operations. In this chapter, we present a detailed description of how parallelism can be used to speed up the execution of a SELECT operation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 74.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hasso Plattner .

Self Test Questions

Self Test Questions

Ā 

  1. 1.

    Amdahlā€™s Law

    Amdahlā€™s Law states that...

    1. (a)

      the number of CPUs doubles every year

    2. (b)

      the level of parallelization can be no higher than the number of available CPUs

    3. (c)

      the speedup of parallelization is limited by the time needed for the sequential fractions of the program

    4. (d)

      the amount of available memory doubles every year.

  2. 2.

    Query Execution Plans in Parallelizing SELECTS

    When a SELECT statement is executed in parallel...

    1. (a)

      all other SELECT statements are paused

    2. (b)

      its query execution plan becomes much simpler compared to sequential execution

    3. (c)

      its query execution plan is adapted accordingly

    4. (d)

      its query execution plan is not changed at all.

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2013 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Plattner, H. (2013). Parallel Select. In: A Course in In-Memory Data Management. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-36524-9_21

Download citation

Publish with us

Policies and ethics