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 1mXW5d-0006FX-3D for pgsql-general@arkaria.postgresql.org; Mon, 04 Oct 2021 22:05:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mXW5c-0008Ee-2g for pgsql-general@arkaria.postgresql.org; Mon, 04 Oct 2021 22:05:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mXW5b-0008EW-NQ for pgsql-general@lists.postgresql.org; Mon, 04 Oct 2021 22:05:39 +0000 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mXW5Z-0003WX-OT for pgsql-general@lists.postgresql.org; Mon, 04 Oct 2021 22:05:39 +0000 Received: by mail-io1-xd2d.google.com with SMTP id q205so22075822iod.8 for ; Mon, 04 Oct 2021 15:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=do8v91k/1VSs25ZeI31bJGu+/W8K0kfC8rcBddD45mM=; b=gCLRjB+SXmFiq1AnrmJytM+wsJgXPONP2+BHkwPUd3aqYDrjCzFWW/GoLTTbzlFsi3 +cE2ErIEpN9ll4Q0m53CV4lwY3DGzyM9xl6YI+KBxRQpvejMV/ox7eRlOah5vT6sa9ql NovehSttPWPEJiC/HOaXn/OAKsNmk0OsVR0YO2BG5wwvd8np8UPN7opk7apEwf1MvOt9 M60sTM1py/nmsq3DJ8TzWBFVT19RJMZG/bnpwGqiDuN6AAHCrt7zfsjUfMW3ezqskPtR fEDo7IkZ1tcq/oeBS9se8KzWDxbXnNe2M7sVtA32ezVO6ptheMQu89wZlaeeUvTzNqCr QQzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=do8v91k/1VSs25ZeI31bJGu+/W8K0kfC8rcBddD45mM=; b=zSmpj72E+hOYSG06TX/sdiDZNbsNUaTuKDK29HldoynG1ZytwBbTJGKcNPYJ5uZbCI I0jqOYkeoZwDy9RIM1UaoYnmHK19lFvUCP8N5qUaBqGnLVFBZXx9u9rGcfx06BgxReGg wUA8ZuyCWYQQLmjcC1aL6WxdOPWuPMVHsZPRRx9mxXEdSEJiJjkNCefJ9DkC2aFWgjGE J4FnPeM8CdonGOuNXZv7M4H1Cdb5/kWEF22Y3egEN3vY1jnVGZW+zUUuHyKWxWUDwu71 9U/N2vfReYi/MhhH9xd/IUlTkRtdX9rXvcCIefN+1uZbKQEqp6Drtx3+1NRWNuYfrnzz i7Ww== X-Gm-Message-State: AOAM533s0MBmlvDqO6ppoj2PJH4GJze+9xkiziNQT0SaNux8IpGvpgac kb/viINPmDcz1h7UhgWpVSNKJeO9Cnk= X-Google-Smtp-Source: ABdhPJykhOkDjuRmgbdsdT0ehlStwlVfat4wGlYVgd4y/J3oTI/882o1Uf7mZmikmY2ufD4ZWuip6A== X-Received: by 2002:a02:6666:: with SMTP id l38mr12808003jaf.146.1633385135699; Mon, 04 Oct 2021 15:05:35 -0700 (PDT) Received: from [10.0.0.94] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id k13sm6586959ilo.34.2021.10.04.15.05.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Oct 2021 15:05:35 -0700 (PDT) Subject: Re: Growth planning To: Israel Brewster Cc: pgsql-general@lists.postgresql.org References: <35170FC5-0A05-48F3-9ED1-F007CC1AF365@alaska.edu> <39A75BC4-7F4D-45F9-BD66-891F0294A072@gmail.com> <8583b994-130a-71a9-c4a6-73cf953ac7f6@gmail.com> <385952B2-FB40-4613-ADEA-D583F7ED6B8B@alaska.edu> From: Rob Sargent Message-ID: <66f88772-8803-db3a-fb78-da34115a9269@gmail.com> Date: Mon, 4 Oct 2021 16:05:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------0C8EF61470E274AECFDD7549" Content-Language: en-CA List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------0C8EF61470E274AECFDD7549 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 10/4/21 3:37 PM, Israel Brewster wrote: >> On Oct 4, 2021, at 1:21 PM, Rob Sargent > > wrote: >> >> My "strict" table per station suggestion was meant as an option to >> avoid the partitioning pain point entirely if it wasn't going to buy >> you anything. Namely querying more than one station's data. > > Ah, so in theory making “strict” tables for each would be easier than > creating partitions for each? Something to consider for sure if so. > >> >> In a write-once scenario such as this,  would a "clustered index" on >> datetime be stable, performant?  Seems a read-for-export could put >> the head down at time point A and just go? >> > That’s beyond my level of DB admin knowledge, unfortunately :) I can > certainly read up on it and give it a try though! > > I was hoping one of the smart people would chime in;) --------------0C8EF61470E274AECFDD7549 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 10/4/21 3:37 PM, Israel Brewster wrote:
On Oct 4, 2021, at 1:21 PM, Rob Sargent <robjsargent@gmail.com> wrote:

My "strict" table per station suggestion was meant as an option to avoid the partitioning pain point entirely if it wasn't going to buy you anything. Namely querying more than one station's data.

Ah, so in theory making “strict” tables for each would be easier than creating partitions for each? Something to consider for sure if so.


In a write-once scenario such as this,  would a "clustered index" on datetime be stable, performant?  Seems a read-for-export could put the head down at time point A and just go?

That’s beyond my level of DB admin knowledge, unfortunately :) I can certainly read up on it and give it a try though!


I was hoping one of the smart people would chime in;)
--------------0C8EF61470E274AECFDD7549--