Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3kFJ-0001Bm-DL for pgadmin-hackers@arkaria.postgresql.org; Thu, 27 Apr 2017 14:18:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d3kFI-0007u4-Vv for pgadmin-hackers@arkaria.postgresql.org; Thu, 27 Apr 2017 14:18:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d3kFI-0007sP-EC for pgadmin-hackers@postgresql.org; Thu, 27 Apr 2017 14:18:12 +0000 Received: from mail-ua0-x22e.google.com ([2607:f8b0:400c:c08::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d3kFA-0008BS-Sn for pgadmin-hackers@postgresql.org; Thu, 27 Apr 2017 14:18:11 +0000 Received: by mail-ua0-x22e.google.com with SMTP id h2so20378580uaa.1 for ; Thu, 27 Apr 2017 07:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OgR5NrsVZZbN0YYfMQU62sxurfl4Ae9eMnSOKf3+8Tg=; b=CLH5tQKGymnEHgdnnpLpCNMJd8F25t3nIw+HrOCizohxzIwbkSAtyPpm3E1trQdkT1 e6+sKmC/sBgVtL1bbT9vjyuoGGVfL001uH+sOObt0mrJgt2lNLZPos3W7D+UDklF5poP Q4KqYSLdj3ATViZFnqqT/eW9xbupxj7PCAjCD1R9llG6fOXOSMjWDUNTSyfTA7d92ePx AvYPvAJo8eh78p0hQL475PTQ5Cpj4g97xNKd0OGzcMWcxVVgHdDTxPOUpm3HpGJwhJB7 4o5s+Gq7VYbJKz30RehhOQzr8a29Dg72IL/t13Bd6MEpLTqEP9n35Urvra5gAUs2GDt3 0pLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OgR5NrsVZZbN0YYfMQU62sxurfl4Ae9eMnSOKf3+8Tg=; b=dIkUIeOQSjbMvs0/EF30hYG2ZcTmQ7JNcuQkKL6izobP0NjeWUu9n65GL5Xw4VTrfU c7DLznqIoGlnigqeRaYsMefINuYXNFJqoRFWnMh2SHijpEYvT6QJkd1+r1TCBMY+s3JM Yq2LcxMGa6VvS+xs5sdIdrsCEsJS13EW5+jv0a7m7pZg7Ck2VDTu3jimucf0c6m880fw qpy/QONW1uVAFprGHjhKMIWizCJIjcnkCe2aRujY+wNnpW5Ez05Snt7AhuMw/YWNMyQ7 QTnHoek1JNxemynMeFua+qUPKSbyFye88IK7I6uA/Q0WTkObJae7mreoYFB3/Pr+NE5P ep5A== X-Gm-Message-State: AN3rC/40w8RvbRaHdNDLXlndfDA/uzggYZqiUhub408t8JFLEfZQhM4n AvLtFX7t1mGPXkVoYm2NQBJ/Slgg0H8F X-Received: by 10.176.81.5 with SMTP id e5mr2988786uaa.114.1493302683029; Thu, 27 Apr 2017 07:18:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.4.87 with HTTP; Thu, 27 Apr 2017 07:18:02 -0700 (PDT) In-Reply-To: References: From: Robert Eckhardt Date: Thu, 27 Apr 2017 10:18:02 -0400 Message-ID: Subject: Re: Declarative partitioning in pgAdmin4 To: Akshay Joshi Cc: Dave Page , Shirley Wang , pgadmin-hackers Content-Type: multipart/alternative; boundary=94eb2c190014f6ea98054e269f3e X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --94eb2c190014f6ea98054e269f3e Content-Type: text/plain; charset=UTF-8 On Thu, Apr 27, 2017 at 7:01 AM, Akshay Joshi wrote: > Hi Dave > > As per discussion I have changed the logic of showing partitioned table in > browser tree. Attached is the screenshot. > Let me know your thoughts. > Greenplum has had declarative partitioning for quite some time, I haven't spent much time diving into the Postgres implementation specifically, however, we have had some pain and I would suggest a little bit of thought behind this. The issues we consistently face: - The huge (often thousands sometimes tens of thousands) number of partitions makes rendering all of the partitions painfully slow and frequently not useful. - When end users are interested in looking at their partitions they frequently don't want all of them displayed mindlessly - They are looking at a subset of partitions - Partitions are typically grouped around their inheritance properties. -- Rob --94eb2c190014f6ea98054e269f3e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Thu, Apr 27, 2017 at 7:01 AM, Akshay Joshi <akshay.josh= i@enterprisedb.com> wrote:
=
Hi Dave

As per discussion I have change= d the logic of showing partitioned table in browser tree. Attached is the s= creenshot.=C2=A0
Let me know your thoughts. =C2=A0=C2=A0

Greenplum has had declarative partition= ing for quite some time, I haven't spent much time diving into the Post= gres implementation specifically, however, we have had some pain and I woul= d suggest a little bit of thought behind this.=C2=A0

The issues we consistently face:
  • The huge (often thous= ands sometimes tens of thousands) number of partitions makes rendering all = of the partitions painfully slow and frequently not useful.
  • When en= d users are interested in looking at their partitions they frequently don&#= 39;t want all of them displayed mindlessly=C2=A0
    • They are looki= ng at a subset of partitions
    • Partitions are typically grouped aroun= d their inheritance properties.=C2=A0
-- Rob
=
--94eb2c190014f6ea98054e269f3e--