Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQAcr-000264-CN for pgsql-general@arkaria.postgresql.org; Wed, 07 Oct 2020 14:41:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kQAcq-0002jX-A8 for pgsql-general@arkaria.postgresql.org; Wed, 07 Oct 2020 14:41:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQAcq-0002jB-2c for pgsql-general@lists.postgresql.org; Wed, 07 Oct 2020 14:41:04 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kQAcn-0002TI-Tp for pgsql-general@postgresql.org; Wed, 07 Oct 2020 14:41:02 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 8A2B25F799; Wed, 7 Oct 2020 10:41:01 -0400 (EDT) Date: Wed, 7 Oct 2020 10:41:01 -0400 From: Stephen Frost To: Jayaram Cc: Adalberto Caccia , pgsql-general@postgresql.org Subject: Re: Handling time series data with PostgreSQL Message-ID: <20201007144101.GA3063@tamriel.snowman.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/qNnUp0NPtZJWkzn" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --/qNnUp0NPtZJWkzn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, * Jayaram (jairamcbe@gmail.com) wrote: > So, Do we need the timescaleDB as mandatory to handle time series data? Is > there any way to handle hourly to days,months,yearly data with PGSQL alone > without timescale addon? Certainly there is and a lot of people do it- what isn't clear is what it is you feel is missing from PG when it comes to handling time series data..? Generally speaking there's concerns about PG's ability to handle lots of partitions (which comes from there being very large amounts of data being stored), but v12 and v13 have made great improvements in that area and it's not nearly an issue any longer (and performs better in quite a few cases than extensions). > Ours is a new project and we are unsure about whether we should have both > timescaleDB and PGSQL or PGSQL alone is capable of handling this time > series data by tuning the right indexes.etc.. Partitioning and index tuning in PG (look at using BRIN if you haven't already...) is important when you get to larger data volumes. Thanks, Stephen --/qNnUp0NPtZJWkzn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJffdN9AAoJEO1sijiDR2RVgi4P/17WQIwuoKREZMNwydypd5e0 7Ip823/Fy4SMzLgDEfW9Ar7rvBAK+TityXKdGdWXZJ+pvWlIvwAysCboQdWOLyHt OyiQMmuRkOrl2+1oN+aIl1wVkSLI7KRgZP3dPhPyRN/q8lO7XGa+RykhkvXEomdc DEZKXp95au+MAGZMHNYkKRAw+ulphJtZK5RjVZGiRzZZM1MIPDL73ZdkLJqXJGLG 9qbphiLl1oKyyROCbKyPnDuE54+sD6deTBI3Do0uBeYE7EHwlkeS7uQQHFF3oUbi yEG0YERh7yyokcOAwmohKxnBEchSR+G5A2HXxQ78E3jatK42ShwLs54Jsmq/WA9q ZpS3sWUnE0oNv5xvctVHUHdzbZcxjW+Bu1e6h7DI6mJtFl77j3XoxdaU5eQFzU0A PMDMN4Ju91hA7rlhYHv1jl3SNXD/RQ5AAXXgoWpaUT8bDPhQ0pZQvgec/Fpg5yHC a1sAXdfSRZ2cVeOgswxQrv4DNwXkQrFu4di3g2AQ5Q5PgwPkQbF/mi1kcJIaiM3C 7+TMqYtUvK0eQPqhTZENVbQs2pkTtPvuiVv+O4zSZR+lD61CzQyDGua1DXzInXI0 Hl4gQI0Nlmr4bil1gJTNV5oA2Sxm5cdXijIavmx/vjeE3xnx+y5el6vqP/VsTJ7H bH7kVxn3VtPIhuEgvt+a =c8Bx -----END PGP SIGNATURE----- --/qNnUp0NPtZJWkzn--