Fast and Effective Distribution-Key Recommendation for Amazon Redshift

Total Page:16

File Type:pdf, Size:1020Kb

Fast and Effective Distribution-Key Recommendation for Amazon Redshift Fast and Effective Distribution-Key Recommendation for Amazon Redshift Panos Parchas Yonatan Naamad Peter Van Bouwel Amazon Web Services Amazon Devices Amazon Web Services Berlin, Germany Sunnyvale, CA, USA Dublin, Ireland [email protected] [email protected] [email protected] Christos Faloutsos Michalis Petropoulos Carnegie Mellon University & Amazon Web Services Amazon Palo Alto, CA, USA [email protected] [email protected] ABSTRACT chines, how should we distribute the data to reduce network How should we split data among the nodes of a distributed cost and ensure fast query execution? data warehouse in order to boost performance for a fore- Amazon Redshift [12, 2, 3] is a massively parallel process- casted workload? In this paper, we study the effect of ing MPP database system, meaning that both the storage different data partitioning schemes on the overall network and processing of a cluster is distributed among several ma- cost of pairwise joins. We describe a generally-applicable chines (compute nodes). In such systems, data is typically data distribution framework initially designed for Amazon distributed row-wise, so that each row appears (in its en- Redshift, a fully-managed petabyte-scale data warehouse in tirety) at one compute node, but distinct rows from the same the cloud. To formalize the problem, we first introduce the table may reside on different machines. Like most commer- Join Multi-Graph, a concise graph-theoretic representation cial data warehouse systems, Redshift supports 3 distinct of the workload history of a cluster. We then formulate ways of distributing the rows of each table: the \Distribution-Key Recommendation" problem { a novel • \Even" (= uniform/random), which distributes the rows combinatorial problem on the Join Multi-Graph{ and relate among compute nodes in a round-robin fashion; it to problems studied in other subfields of computer sci- • \All" (= replicated), which makes full copies of a database ence. Our theoretical analysis proves that \Distribution-Key table on each of the machines; Recommendation" is NP-complete and is hard to approxi- • \Dist-Key" (=fully distributed = hashed), which hashes the rows of a table on the values of a specific attribute mate efficiently. Thus, we propose BaW, a hybrid approach that combines heuristic and exact algorithms to find a good known as distribution key (DK). data distribution scheme. Our extensive experimental eval- In this work, we focus on the latter approach. Our pri- uation on real and synthetic data showcases the efficacy of mary observation is that, if both tables participating in a our method into recommending optimal (or close to optimal) join are distributed on the joining attributes, then that join distribution keys, which improve the cluster performance by enjoys great performance benefits due to minimized network reducing network cost up to 32x in some real workloads. communication cost. In this case, we say that the two tables are collocated with respect to the given join. The goal of this PVLDB Reference Format: paper is to minimize the network cost of a given query work- Panos Parchas, Yonatan Naamad, Peter Van Bouwel, Christos load by carefully deciding which (if any) attribute should be Faloutsos, Michalis Petropoulos. Fast and Effective Distribution- used to hash-distribute each database table. Key Recommendation for Amazon Redshift. PVLDB, 13(11): Figure 1 illustrates collocation through an example. Con- 2411-2423, 2020. DOI: https://doi.org/10.14778/3407790.3407834 sider the schema of Figure 1(a) and the following query Q1: -- query Q1 SELECT * 1. INTRODUCTION FROM Customer JOIN Branch Given a database query workload with joins on several re- ON c_State = b_State; lational tables, which are partitioned over a number of ma- With the records distributed randomly (\Even" distribu- tion style) as in Figure 1(b), evaluating Q1 incurs very high This work is licensed under the Creative Commons Attribution- network communication cost. In particular, just joining the NonCommercial-NoDerivatives 4.0 International License. To view a copy red \CA" rows of `Customer' from Node 1 with the corre- of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. For sponding \CA" rows of `Branch' from Node 2 requires that any use beyond those covered by this license, obtain permission by emailing at least one of the nodes transmits its contents to the other, [email protected]. Copyright is held by the owner/author(s). Publication rights or that both nodes transmit their rows to a third-party node. licensed to the VLDB Endowment. The same requirement holds for all states and for all pairs Proceedings of the VLDB Endowment, Vol. 13, No. 11 ISSN 2150-8097. of nodes so that, ultimately, a large fraction of the database DOI: https://doi.org/10.14778/3407790.3407834 must be communicated in order to compute this single join. 2411 Despite the importance of the problem, there have been te te te te te te a ta a a a a St S t t t t few related papers from the database community. The ma- _ _ S _S S _S c b c_ b c_ b CA CA CA OR NE WA jority of related methods either depend on a large number OR CA CA NE NE WA of assumptions that are not generally satisfied by most com- WY CA OR CA ... CA WA NE NE NY CA CA NY mercial data warehouse systems, including Amazon Red- NY OR NY NE WY NY shift, or provide heuristic solutions to similar problems. To ... … … ... ... ... the best of our knowledge, this work is the first to propose Node 1 Node 2 Node m an efficient, assumption-free, purely combinatorial, provably (a) Schema. (b) \Even" distribution. optimal data distribution framework based on the query workload. Furthermore, our method, BaW, is applicable to 1000 BaW any column store, distributed, data warehouse. It is stan- wins! te te te te te te dalone and does not require any change in the system's ar- a ta a a a a 18x St S t t t t 100 q _ _ S _S S _S c b c_ b c_ b chitecture. CA CA NE NE NY NY CA CA NE NE NY NY The contributions of the paper are: CA CA NE NE ... NY WA 10 • Problem formulation: We formulate the \Distribution- CA CA WY WA OR OR (sec) distribution EVEN CA CA OR OR WY WA Key Recommendation" (DKR) problem, as a novel graph ... ... ... ... ... ... 1 theoretic problem and we show its connections to graph 1 10 100 1000 Node 1 Node 2 Node m DIST-KEY distribution (sec) matching and other combinatorial problems. Also, we in- (c) \Dist-Key" distribution (d) Query time (sec) troduce the Join Multi-Graph, a concise and light-weight on State attribute. graph-theoretic representation of the join characteristics of a cluster. • Theoretical Analysis: We analyze the complexity of Figure 1: BAW wins. (a-c) Data distribution is im- portant: visually, \Dist-Key" needs less communi- DKR, and we show it is NP-complete. cation, for the Join on State, when tables are spread • Fast Algorithm: We propose BaW, an efficient meta- algorithm to solve ; is extensible, and can ac- over m nodes. (d) Our method BAW makes al- DKR BaW most all TPC-DS queries faster, up to 18x (execu- commodate any and every optimization sub-method, past or future. tion times of \Even" vs proposed BAW in seconds). • Validation on real data: We experimentally demon- strate that the distribution keys recommended by our This is in stark contrast with Figure 1(c), in which all method improve the performance of real Redshift clusters \CA" rows are on Node 1, all \NE" rows are on Node 2, and by up to 32x in some queries. so on. This is the best-case scenario for this join, in that The rest of the paper is organized as follows. Section 2 sur- no inter-server communication is needed; all relevant pairs of veys the related work. Section 3 introduces the Join Multi- rows are already collocated and the join can be performed lo- Graph and mathematically formulates the \Distribution-Key cally at each compute node. This ideal setup happens when- Recommendation" problem (DKR). Section 4, presents a ever the distribution method \Dist-Key" is chosen for both theoretical analysis of DKR and proves its complexity. Sec- tables, and the distribution key attributes are chosen to be tion 5 proposes BaW, an efficient graph algorithm to solve Customer.c State and Branch.b State respectively, hashing DKR. Section 6 contains an extensive experimental eval- all records with matching state entries to the same compute uation of our method on real and synthetic datasets, on node. This yields significant savings in communication cost, Amazon Redshift. Lastly, Section 7 concludes the paper. and in overall execution time. 1.1 Informal problem definition 2. BACKGROUND AND RELATED WORK The insight that collocation can lead to great savings in This section starts with an overview of previous papers on communication costs raises a critical question: How can we workload-based data partitioning. Then, it describes related achieve optimal data distribution in the face of multiple ta- graph problems motivating our BaW algorithm. bles each participating in multiple joins, which may or may not impose conflicting requirements? We refer to this as 2.1 Data partitioning the \Distribution-Key Recommendation" problem. Our so- Workload-based data partitioning has been well studied lution, Best of All Worlds (BaW), picks a distribution from various perspectives, including generation of indices key for a subset of the tables so to maximally collocate the and materialized views [1], partitioning for OLTP workloads most impactful joins. [5, 21, 23], and others. However, our main focus here is data Figure 1 (d) illustrates the query performance of the TPC- partitioning in OLAP systems such as Amazon Redshift.
Recommended publications
  • 3 the Friedmann-Robertson-Walker Metric
    3 The Friedmann-Robertson-Walker metric 3.1 Three dimensions The most general isotropic and homogeneous metric in three dimensions is similar to the two dimensional result of eq. (43): dr2 ds2 = a2 + r2dΩ2 ; dΩ2 = dθ2 + sin2 θdφ2 ; k = 0; 1 : (46) 1 kr2 − The angles φ and θ are the usual azimuthal and polar angles of spherical coordinates, with θ [0; π], φ [0; 2π). As before, the parameter k can take on three different values: for k = 0, 2 2 the above line element describes ordinary flat space in spherical coordinates; k = 1 yields the metric for S , with constant positive curvature, while k = 1 is AdS and has constant 3 − 3 negative curvature. As in the two dimensional case, the change of variables r = sin χ (k = 1) or r = sinh χ (k = 1) makes the global nature of these manifolds more apparent. For example, − for the k = 1 case, after defining r = sin χ, the line element becomes ds2 = a2 dχ2 + sin2 χdθ2 + sin2 χ sin2 θdφ2 : (47) This is equivalent to writing ds2 = dX2 + dY 2 + dZ2 + dW 2 ; (48) where X = a sin χ sin θ cos φ ; Y = a sin χ sin θ sin φ ; Z = a sin χ cos θ ; W = a cos χ ; (49) which satisfy X2 + Y 2 + Z2 + W 2 = a2. So we see that the k = 1 metric corresponds to a 3-sphere of radius a embedded in 4-dimensional Euclidean space. One also sees a problem with the r = sin χ coordinate: it does not cover the whole sphere.
    [Show full text]
  • An Analysis of Gravitational Redshift from Rotating Body
    An analysis of gravitational redshift from rotating body Anuj Kumar Dubey∗ and A K Sen† Department of Physics, Assam University, Silchar-788011, Assam, India. (Dated: July 29, 2021) Gravitational redshift is generally calculated without considering the rotation of a body. Neglect- ing the rotation, the geometry of space time can be described by using the spherically symmetric Schwarzschild geometry. Rotation has great effect on general relativity, which gives new challenges on gravitational redshift. When rotation is taken into consideration spherical symmetry is lost and off diagonal terms appear in the metric. The geometry of space time can be then described by using the solutions of Kerr family. In the present paper we discuss the gravitational redshift for rotating body by using Kerr metric. The numerical calculations has been done under Newtonian approximation of angular momentum. It has been found that the value of gravitational redshift is influenced by the direction of spin of central body and also on the position (latitude) on the central body at which the photon is emitted. The variation of gravitational redshift from equatorial to non - equatorial region has been calculated and its implications are discussed in detail. I. INTRODUCTION from principle of equivalence. Snider in 1972 has mea- sured the redshift of the solar potassium absorption line General relativity is not only relativistic theory of grav- at 7699 A˚ by using an atomic - beam resonance - scat- itation proposed by Einstein, but it is the simplest theory tering technique [5]. Krisher et al. in 1993 had measured that is consistent with experimental data. Predictions of the gravitational redshift of Sun [6].
    [Show full text]
  • Gravitational Redshift/Blueshift of Light Emitted by Geodesic
    Eur. Phys. J. C (2021) 81:147 https://doi.org/10.1140/epjc/s10052-021-08911-5 Regular Article - Theoretical Physics Gravitational redshift/blueshift of light emitted by geodesic test particles, frame-dragging and pericentre-shift effects, in the Kerr–Newman–de Sitter and Kerr–Newman black hole geometries G. V. Kraniotisa Section of Theoretical Physics, Physics Department, University of Ioannina, 451 10 Ioannina, Greece Received: 22 January 2020 / Accepted: 22 January 2021 / Published online: 11 February 2021 © The Author(s) 2021 Abstract We investigate the redshift and blueshift of light 1 Introduction emitted by timelike geodesic particles in orbits around a Kerr–Newman–(anti) de Sitter (KN(a)dS) black hole. Specif- General relativity (GR) [1] has triumphed all experimental ically we compute the redshift and blueshift of photons that tests so far which cover a wide range of field strengths and are emitted by geodesic massive particles and travel along physical scales that include: those in large scale cosmology null geodesics towards a distant observer-located at a finite [2–4], the prediction of solar system effects like the perihe- distance from the KN(a)dS black hole. For this purpose lion precession of Mercury with a very high precision [1,5], we use the killing-vector formalism and the associated first the recent discovery of gravitational waves in Nature [6–10], integrals-constants of motion. We consider in detail stable as well as the observation of the shadow of the M87 black timelike equatorial circular orbits of stars and express their hole [11], see also [12]. corresponding redshift/blueshift in terms of the metric physi- The orbits of short period stars in the central arcsecond cal black hole parameters (angular momentum per unit mass, (S-stars) of the Milky Way Galaxy provide the best current mass, electric charge and the cosmological constant) and the evidence for the existence of supermassive black holes, in orbital radii of both the emitter star and the distant observer.
    [Show full text]
  • A Hypothesis About the Predominantly Gravitational Nature of Redshift in the Electromagnetic Spectra of Space Objects Stepan G
    A Hypothesis about the Predominantly Gravitational Nature of Redshift in the Electromagnetic Spectra of Space Objects Stepan G. Tiguntsev Irkutsk National Research Technical University 83 Lermontov St., Irkutsk, 664074, Russia [email protected] Abstract. The study theoretically substantiates the relationship between the redshift in the electromagnetic spectrum of space objects and their gravity and demonstrates it with computational experiments. Redshift, in this case, is a consequence of a decrease in the speed of the photons emitted from the surface of objects, which is caused by the gravity of these objects. The decline in the speed of photons due to the gravity of space gravitating object (GO) is defined as ΔC = C-C ', where: C' is the photon speed changed by the time the receiver records it. Then, at a change in the photon speed between a stationary source and a receiver, the redshift factor is determined as Z = (C-C ')/C'. Computational experiments determined the gravitational redshift of the Earth, the Sun, a neutron star, and a quasar. Graph of the relationship between the redshift and the ratio of sizes to the mass of any space GOs was obtained. The findings indicate that the distance to space objects does not depend on the redshift of these objects. Keywords: redshift, computational experiment, space gravitating object, photon, radiation source, and receiver. 1. Introduction In the electromagnetic spectrum of space objects, redshift is assigned a significant role in creating a physical picture of the Universe. Redshift is observed in almost all space objects (stars, galaxies, quasars, and others). As a consequence of the Doppler effect, redshift indicates the movement of almost all space objects from an observer on the Earth [1].
    [Show full text]
  • The High Redshift Universe: Galaxies and the Intergalactic Medium
    The High Redshift Universe: Galaxies and the Intergalactic Medium Koki Kakiichi M¨unchen2016 The High Redshift Universe: Galaxies and the Intergalactic Medium Koki Kakiichi Dissertation an der Fakult¨atf¨urPhysik der Ludwig{Maximilians{Universit¨at M¨unchen vorgelegt von Koki Kakiichi aus Komono, Mie, Japan M¨unchen, den 15 Juni 2016 Erstgutachter: Prof. Dr. Simon White Zweitgutachter: Prof. Dr. Jochen Weller Tag der m¨undlichen Pr¨ufung:Juli 2016 Contents Summary xiii 1 Extragalactic Astrophysics and Cosmology 1 1.1 Prologue . 1 1.2 Briefly Story about Reionization . 3 1.3 Foundation of Observational Cosmology . 3 1.4 Hierarchical Structure Formation . 5 1.5 Cosmological probes . 8 1.5.1 H0 measurement and the extragalactic distance scale . 8 1.5.2 Cosmic Microwave Background (CMB) . 10 1.5.3 Large-Scale Structure: galaxy surveys and Lyα forests . 11 1.6 Astrophysics of Galaxies and the IGM . 13 1.6.1 Physical processes in galaxies . 14 1.6.2 Physical processes in the IGM . 17 1.6.3 Radiation Hydrodynamics of Galaxies and the IGM . 20 1.7 Bridging theory and observations . 23 1.8 Observations of the High-Redshift Universe . 23 1.8.1 General demographics of galaxies . 23 1.8.2 Lyman-break galaxies, Lyα emitters, Lyα emitting galaxies . 26 1.8.3 Luminosity functions of LBGs and LAEs . 26 1.8.4 Lyα emission and absorption in LBGs: the physical state of high-z star forming galaxies . 27 1.8.5 Clustering properties of LBGs and LAEs: host dark matter haloes and galaxy environment . 30 1.8.6 Circum-/intergalactic gas environment of LBGs and LAEs .
    [Show full text]
  • FRW Cosmology
    17/11/2016 Cosmology 13.8 Gyrs of Big Bang History Gravity Ruler of the Universe 1 17/11/2016 Strong Nuclear Force Responsible for holding particles together inside the nucleus. The nuclear strong force carrier particle is called the gluon. The nuclear strong interaction has a range of 10‐15 m (diameter of a proton). Electromagnetic Force Responsible for electric and magnetic interactions, and determines structure of atoms and molecules. The electromagnetic force carrier particle is the photon (quantum of light) The electromagnetic interaction range is infinite. Weak Force Responsible for (beta) radioactivity. The weak force carrier particles are called weak gauge bosons (Z,W+,W‐). The nuclear weak interaction has a range of 10‐17 m (1% of proton diameter). Gravity Responsible for the attraction between masses. Although the gravitational force carrier The hypothetical (carrier) particle is the graviton. The gravitational interaction range is infinite. By far the weakest force of nature. 2 17/11/2016 The weakest force, by far, rules the Universe … Gravity has dominated its evolution, and determines its fate … Grand Unified Theories (GUT) Grand Unified Theories * describe how ∑ Strong ∑ Weak ∑ Electromagnetic Forces are manifestations of the same underlying GUT force … * This implies the strength of the forces to diverge from their uniform GUT strength * Interesting to see whether gravity at some very early instant unifies with these forces ??? 3 17/11/2016 Newton’s Static Universe ∑ In two thousand years of astronomy, no one ever guessed that the universe might be expanding. ∑ To ancient Greek astronomers and philosophers, the universe was seen as the embodiment of perfection, the heavens were truly heavenly: – unchanging, permanent, and geometrically perfect.
    [Show full text]
  • Observation of Exciton Redshift-Blueshift Crossover in Monolayer WS2
    Observation of exciton redshift-blueshift crossover in monolayer WS2 E. J. Sie,1 A. Steinhoff,2 C. Gies,2 C. H. Lui,3 Q. Ma,1 M. Rösner,2,4 G. Schönhoff,2,4 F. Jahnke,2 T. O. Wehling,2,4 Y.-H. Lee,5 J. Kong,6 P. Jarillo-Herrero,1 and N. Gedik*1 1Department of Physics, Massachusetts Institute of Technology, Cambridge, Massachusetts 02139, United States 2Institut für Theoretische Physik, Universität Bremen, P.O. Box 330 440, 28334 Bremen, Germany 3Department of Physics and Astronomy, University of California, Riverside, California 92521, United States 4Bremen Center for Computational Materials Science, Universität Bremen, 28334 Bremen, Germany 5Materials Science and Engineering, National Tsing-Hua University, Hsinchu 30013, Taiwan 6Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology, Cambridge, Massachusetts 02139, United States *Corresponding Author: [email protected] Abstract: We report a rare atom-like interaction between excitons in monolayer WS2, measured using ultrafast absorption spectroscopy. At increasing excitation density, the exciton resonance energy exhibits a pronounced redshift followed by an anomalous blueshift. Using both material-realistic computation and phenomenological modeling, we attribute this observation to plasma effects and an attraction-repulsion crossover of the exciton-exciton interaction that mimics the Lennard- Jones potential between atoms. Our experiment demonstrates a strong analogy between excitons and atoms with respect to inter-particle interaction, which holds promise to pursue the predicted liquid and crystalline phases of excitons in two-dimensional materials. Keywords: Monolayer WS2, exciton, plasma, Lennard-Jones potential, ultrafast optics, many- body theory Table of Contents Graphic Page 1 of 13 Main Text: Excitons in semiconductors are often perceived as the solid-state analogs to hydrogen atoms.
    [Show full text]
  • Cosmic Microwave Background
    1 29. Cosmic Microwave Background 29. Cosmic Microwave Background Revised August 2019 by D. Scott (U. of British Columbia) and G.F. Smoot (HKUST; Paris U.; UC Berkeley; LBNL). 29.1 Introduction The energy content in electromagnetic radiation from beyond our Galaxy is dominated by the cosmic microwave background (CMB), discovered in 1965 [1]. The spectrum of the CMB is well described by a blackbody function with T = 2.7255 K. This spectral form is a main supporting pillar of the hot Big Bang model for the Universe. The lack of any observed deviations from a 7 blackbody spectrum constrains physical processes over cosmic history at redshifts z ∼< 10 (see earlier versions of this review). Currently the key CMB observable is the angular variation in temperature (or intensity) corre- lations, and to a growing extent polarization [2–4]. Since the first detection of these anisotropies by the Cosmic Background Explorer (COBE) satellite [5], there has been intense activity to map the sky at increasing levels of sensitivity and angular resolution by ground-based and balloon-borne measurements. These were joined in 2003 by the first results from NASA’s Wilkinson Microwave Anisotropy Probe (WMAP)[6], which were improved upon by analyses of data added every 2 years, culminating in the 9-year results [7]. In 2013 we had the first results [8] from the third generation CMB satellite, ESA’s Planck mission [9,10], which were enhanced by results from the 2015 Planck data release [11, 12], and then the final 2018 Planck data release [13, 14]. Additionally, CMB an- isotropies have been extended to smaller angular scales by ground-based experiments, particularly the Atacama Cosmology Telescope (ACT) [15] and the South Pole Telescope (SPT) [16].
    [Show full text]
  • Gravitational Redshift/Blueshift of Light Emitted by Geodesic Test Particles
    Eur. Phys. J. C (2021) 81:147 https://doi.org/10.1140/epjc/s10052-021-08911-5 Regular Article - Theoretical Physics Gravitational redshift/blueshift of light emitted by geodesic test particles, frame-dragging and pericentre-shift effects, in the Kerr–Newman–de Sitter and Kerr–Newman black hole geometries G. V. Kraniotisa Section of Theoretical Physics, Physics Department, University of Ioannina, 451 10 Ioannina, Greece Received: 22 January 2020 / Accepted: 22 January 2021 © The Author(s) 2021 Abstract We investigate the redshift and blueshift of light 1 Introduction emitted by timelike geodesic particles in orbits around a Kerr–Newman–(anti) de Sitter (KN(a)dS) black hole. Specif- General relativity (GR) [1] has triumphed all experimental ically we compute the redshift and blueshift of photons that tests so far which cover a wide range of field strengths and are emitted by geodesic massive particles and travel along physical scales that include: those in large scale cosmology null geodesics towards a distant observer-located at a finite [2–4], the prediction of solar system effects like the perihe- distance from the KN(a)dS black hole. For this purpose lion precession of Mercury with a very high precision [1,5], we use the killing-vector formalism and the associated first the recent discovery of gravitational waves in Nature [6–10], integrals-constants of motion. We consider in detail stable as well as the observation of the shadow of the M87 black timelike equatorial circular orbits of stars and express their hole [11], see also [12]. corresponding redshift/blueshift in terms of the metric physi- The orbits of short period stars in the central arcsecond cal black hole parameters (angular momentum per unit mass, (S-stars) of the Milky Way Galaxy provide the best current mass, electric charge and the cosmological constant) and the evidence for the existence of supermassive black holes, in orbital radii of both the emitter star and the distant observer.
    [Show full text]
  • AST4220: Cosmology I
    AST4220: Cosmology I Øystein Elgarøy 2 Contents 1 Cosmological models 1 1.1 Special relativity: space and time as a unity . 1 1.2 Curvedspacetime......................... 3 1.3 Curved spaces: the surface of a sphere . 4 1.4 The Robertson-Walker line element . 6 1.5 Redshifts and cosmological distances . 9 1.5.1 Thecosmicredshift . 9 1.5.2 Properdistance. 11 1.5.3 The luminosity distance . 13 1.5.4 The angular diameter distance . 14 1.5.5 The comoving coordinate r ............... 15 1.6 TheFriedmannequations . 15 1.6.1 Timetomemorize! . 20 1.7 Equationsofstate ........................ 21 1.7.1 Dust: non-relativistic matter . 21 1.7.2 Radiation: relativistic matter . 22 1.8 The evolution of the energy density . 22 1.9 The cosmological constant . 24 1.10 Some classic cosmological models . 26 1.10.1 Spatially flat, dust- or radiation-only models . 27 1.10.2 Spatially flat, empty universe with a cosmological con- stant............................ 29 1.10.3 Open and closed dust models with no cosmological constant.......................... 31 1.10.4 Models with more than one component . 34 1.10.5 Models with matter and radiation . 35 1.10.6 TheflatΛCDMmodel. 37 1.10.7 Models with matter, curvature and a cosmological con- stant............................ 40 1.11Horizons.............................. 42 1.11.1 Theeventhorizon . 44 1.11.2 Theparticlehorizon . 45 1.11.3 Examples ......................... 46 I II CONTENTS 1.12 The Steady State model . 48 1.13 Some observable quantities and how to calculate them . 50 1.14 Closingcomments . 52 1.15Exercises ............................. 53 2 The early, hot universe 61 2.1 Radiation temperature in the early universe .
    [Show full text]
  • Hubble's Diagram and Cosmic Expansion
    Hubble’s diagram and cosmic expansion Robert P. Kirshner* Harvard–Smithsonian Center for Astrophysics, 60 Garden Street, Cambridge, MA 02138 Contributed by Robert P. Kirshner, October 21, 2003 Edwin Hubble’s classic article on the expanding universe appeared in PNAS in 1929 [Hubble, E. P. (1929) Proc. Natl. Acad. Sci. USA 15, 168–173]. The chief result, that a galaxy’s distance is proportional to its redshift, is so well known and so deeply embedded into the language of astronomy through the Hubble diagram, the Hubble constant, Hubble’s Law, and the Hubble time, that the article itself is rarely referenced. Even though Hubble’s distances have a large systematic error, Hubble’s velocities come chiefly from Vesto Melvin Slipher, and the interpretation in terms of the de Sitter effect is out of the mainstream of modern cosmology, this article opened the way to investigation of the expanding, evolving, and accelerating universe that engages today’s burgeoning field of cosmology. he publication of Edwin Hub- ble’s 1929 article ‘‘A relation between distance and radial T velocity among extra-galactic nebulae’’ marked a turning point in un- derstanding the universe. In this brief report, Hubble laid out the evidence for one of the great discoveries in 20th cen- tury science: the expanding universe. Hubble showed that galaxies recede from us in all directions and more dis- tant ones recede more rapidly in pro- portion to their distance. His graph of velocity against distance (Fig. 1) is the original Hubble diagram; the equation that describes the linear fit, velocity ϭ ϫ Ho distance, is Hubble’s Law; the slope of that line is the Hubble con- ͞ stant, Ho; and 1 Ho is the Hubble time.
    [Show full text]
  • FRW (Friedmann-Robertson-Walker) Universe
    Chapter 2 FRW (Friedmann-Robertson-Walker) universe We start our discussion from the evolution of the homogeneous and isotropic expanding universe, of- ten called Friedmann-Robertson-Walker (FRW) world model. This somewhat idealized world model is consistent with the observations thus far: Hubble diagrams (which shows the distance-redshift relation) have been continuously updating to confirm that the Universe is expanding, observed cosmic microwave background radiation is isotropic from all lines of sight, and distribution of galaxies in SDSS appears to be homogeneous on scales larger than 70 Mpc=h. ' In this chapter, we study the kinematics and dynamics of the FRW universe. 2.1 FRW metric The spacetime of spatially homogeneous and isotropic, expanding universe can be best thought of as a contiguous bundle of homogeneous and isotropic spatial (constant-time) hypersurfaces whose length scale evolves in time. The metric in such a spacetime can be written as1 2 µ ν 2 2 i j ds = gµνd x d x = d t + a (t)g˜i j(x)d x d x , (2.1) − where g˜i j(x) is a time-independent spatial metric defined on the constant-time hypersurface, and a(t) is the scale factor that relates the proper (physical) distance to the comoving (coordinate) distance. As we shall show below, except for the three maximally symmetric cases2—Minkowski, de-Sitter, and anti de-Sitter spacetime, defining the space-like hypersurface can be naturally done with, e.g. constant- density-hypersurface, in the FRW world model. A word about the convention. Throughout the course, we shall use the Greek for the spacetime in- dices µ, ν, = 0, 1, 2, 3 with the index 0 being the time index, and the Latin for the space indices ··· 1 The following form of metric is uniquely dictated from spatial homogeneity and isotropy as we should not have any g0i component which would introduce a preferred direction nor the space dependence in g00 as that breaks homogeneity.
    [Show full text]