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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Corresponding author
Self Test Questions
Self Test Questions
Ā
-
1.
Amdahlās Law
Amdahlās Law states that...
-
(a)
the number of CPUs doubles every year
-
(b)
the level of parallelization can be no higher than the number of available CPUs
-
(c)
the speedup of parallelization is limited by the time needed for the sequential fractions of the program
-
(d)
the amount of available memory doubles every year.
-
(a)
-
2.
Query Execution Plans in Parallelizing SELECTS
When a SELECT statement is executed in parallel...
-
(a)
all other SELECT statements are paused
-
(b)
its query execution plan becomes much simpler compared to sequential execution
-
(c)
its query execution plan is adapted accordingly
-
(d)
its query execution plan is not changed at all.
-
(a)
Rights 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
DOI: https://doi.org/10.1007/978-3-642-36524-9_21
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-36523-2
Online ISBN: 978-3-642-36524-9
eBook Packages: Business and EconomicsBusiness and Management (R0)