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
Re: Index problem Need an urgent fix
Список 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 по дате отправления: