Re: Removing a key from jsonb is sloooow

2019-07-17 Thread Volkan Unsal
r wrote: > On 7/17/19 7:30 AM, Volkan Unsal wrote: > > I'm trying to remove a key from a jsonb column in a table with 10K rows, > > and the performance is abysmal. When the key is missing, it takes 5 > > minutes. When the key is present, it takes even longer. > >

Removing a key from jsonb is sloooow

2019-07-17 Thread Volkan Unsal
I'm trying to remove a key from a jsonb column in a table with 10K rows, and the performance is abysmal. When the key is missing, it takes 5 minutes. When the key is present, it takes even longer. Test with non-existent key: >> update projects set misc = misc - 'foo'; Time: 324711.960 ms (05:24.7