Re: Declarative partitioning in pgAdmin4

From: Shirley Wang <swang(at)pivotal(dot)io>
To: Dave Page <dpage(at)pgadmin(dot)org>, Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Declarative partitioning in pgAdmin4
Date: 2017-05-03 15:42:17
Message-ID: CAPG3WN7_hHUYaROV3k0-WXS47ngnm6Mx3PB10K2bi+WeWRn_7Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi!

On Wed, May 3, 2017 at 8:08 AM Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Great, thanks.
>
> I think it's clear that we need to display the child partitions in the
> treeview. I don't see any other sensible way of enabling those operations
> without an extremely contrived dialogue design.
>

Either way we implement this feature, we should test the workflow of how
people go through table partitioning with users to get validation on
whether or not our decisions make sense for them.

>
> Please now document how those features will be implemented; e.g, for each
> one:
>
> - View table data: Parent and partition context menu.
> - Attach/detach partitions: Parent properties dialogue
> ...
>
> That will then give us a list of places we'll need to (re)design dialogues
> and menus etc. for.
>
>
> On Wed, May 3, 2017 at 1:00 PM, Akshay Joshi <
> akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>
>> Hi Dave
>>
>> As per my understanding below operations required
>>
>> Parent:
>>
>> - View table data.
>> - View stats.
>> - Create regular/partitioned table
>> - Create N number of partitions.
>> - Drop/ Drop cascade, Truncate.
>> - Attach/Detach Partitions.
>> - Not able to create constraints excluding check constraint.
>>
>> Child:
>>
>> - View Table Data.
>> - View stats.
>> - View partition scheme in SQL pane
>> - Create primary/foreign/.. key constraint.
>> - Drop/ Drop cascade, Truncate
>>
>> It seems like the operations above detail a potential full feature set
for table partitioning which is a good starting point. It would be
worthwhile to consider what's the minimum we need to include for the first
release of table partitioning.

As we get live feedback and release frequently, we can add additional
features and fix bugs. If we cut the scope of this, we'll be more confident
that we can reach the deadline and deliver user value.

We can determine what should be included by plotting these features within
a matrix. Typically user value is on one axis and technical complexity on
another, although these can change depending on what your team needs.
[image: 2x2-solution_prioritization.jpg]We've found that this matrix is
really helpful in answering "What's the smallest thing we can build that
solves the most important problems?". We typically do this as a team
(engineers, designers, and product managers) once we have enough context
about user behavior and technical complexity.

I can facilitate a session where we run through this exercise. It typically
takes about an hour.

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Shirley Wang 2017-05-03 22:06:10 Re: [Design update] Style guide for pgAdmin4
Previous Message Murtuza Zabuawala 2017-05-03 13:05:24 [pgAdmin4][PATCH] To fix the issue with NodeAjaxControl data caching