Re: [PERFORM] Postgres performance issue

2017-05-08 Thread Scott Marlowe
On Thu, May 4, 2017 at 8:10 AM, Junaid Malik wrote: > Hello Guys, > > We are facing problem related to performance of Postgres. Indexes are not > being utilized and Postgres is giving priority to seq scan. I read many > articles of Postgres performance and found that we need to set the > randome_p

Re: [PERFORM] Postgres performance issue

2017-05-04 Thread Scott Marlowe
On Thu, May 4, 2017 at 8:36 AM, Scott Marlowe wrote: > On Thu, May 4, 2017 at 8:10 AM, Junaid Malik wrote: >> Hello Guys, >> >> We are facing problem related to performance of Postgres. Indexes are not >> being utilized and Postgres is giving priority to seq scan. I read many >> articles of Postg

Re: [PERFORM] Postgres performance issue

2017-05-04 Thread Scott Marlowe
On Thu, May 4, 2017 at 8:10 AM, Junaid Malik wrote: > Hello Guys, > > We are facing problem related to performance of Postgres. Indexes are not > being utilized and Postgres is giving priority to seq scan. I read many > articles of Postgres performance and found that we need to set the > randome_p

[PERFORM] Postgres performance issue

2017-05-04 Thread Junaid Malik
Hello Guys, We are facing problem related to performance of Postgres. Indexes are not being utilized and Postgres is giving priority to seq scan. I read many articles of Postgres performance and found that we need to set the randome_page_cost value same as seq_page_cost because we are using SSD