Search Postgresql Archives

Re: PG 10 experience different user execute same sql get different access plan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zhiyu ZY13 Xu <xuzy13@xxxxxxxxxx> writes:
>   I experience a PG optimizer problem. Different user query with same SQL at same time. But get different access plan.

If you've got row-level security turned on for that table, it could
explain results like this.  RLS limits the planner's ability to
see statistics, which can easily result in a worse plan.

			regards, tom lane






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux