Index problem Need an urgent fix

Поиск
Список
Период
Сортировка
От chanukya SDS
Тема Index problem Need an urgent fix
Дата
Msg-id CAB4f4B5Ca-QhQ15+qbmwBh1upcAroGr2s8CC8cMxB3dDz3FYJA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Index problem Need an urgent fix  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Re: Index problem Need an urgent fix  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
Hey All,

I have a query like below 


SELECT * FROM data WHERE val=trunc(val) AND acc_id='kfd50ed6-0bc3-44a9-881f-ec89713fdd80'::uuid ORDER BY ct DESC LIMIT 10;

table structure is 

 data
(id uuid,
  c_id uuid,
  acc_id uuid,
  val numeric,
  ct timestamptz); 


Can you please help me to write an index? 

or Can someone write an index and revert here.. 

its very urgent for me. 

Thanks
--
Thanks,
Chanukya SDS
+918186868384

Sent From My iPhone

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "houzj.fnst@fujitsu.com"
Дата:
Сообщение: RE: Perform streaming logical transactions by background workers and parallel apply
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: How to write a new tuple into page?