Re: [pgAdmin4][Patch] - RM 3664 - Statistic panel hangs when 1000+ tables

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch] - RM 3664 - Statistic panel hangs when 1000+ tables
Date: 2019-01-22 11:35:21
Message-ID: CAM9w-_n2QyyXyqcYFXAuDO6LKVyL9HxsMEJXqZD9KY_q+M-wPg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Khushboo,

There is improvement than before but the UI still lags. I tested with 2000
tables and statistics on Tables node.
I would also suggest to add further rows only if scrolling down. Rows
adding can be avoided even if the scroll does not take to the last element.
Currently, if I scroll slightly down it add rows and if I scroll back up it
adds more. I think the scroll up fetch can be avoided.

On Mon, Jan 21, 2019 at 4:43 PM Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
wrote:

> Hi Aditya
>
> Can you please review it.
>
> On Thu, Jan 17, 2019 at 11:36 AM Khushboo Vashi <
> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>> Hi,
>>
>> Please find the attached patch to fix the RM 3664 - Statistic panel hangs
>> when 1000+ tables
>>
>> The statistics tab hangs with more rows. So, now the rows will be pushed
>> in the backgrid collection in bunches on scroll event to fix this issue.
>>
>> Thanks,
>> Khushboo
>>
>
>
> --
> *Akshay Joshi*
>
> *Sr. Software Architect *
>
>
>
> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
>

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2019-01-22 11:54:18 Re: [pgAdmin4][RM3849] Ask to save unsaved query changes stopped working
Previous Message Akshay Joshi 2019-01-22 11:07:51 Re: [pgAdmin4][RM3908] backgrid navigation fix for Select2Cell and PrivilegeCell