Re: Query taking long time

Список
Период
Сортировка
От acanada
Тема Re: Query taking long time
Дата
Msg-id 68F54364-F81E-493E-BD6A-8081816E0CE8@cnio.es
обсуждение исходный текст
Ответ на Re: Query taking long time  (Evgeniy Shishkin)
Ответы Re: Query taking long time  (Venkata Balaji Nagothi)
Список pgsql-performance
Дерево обсуждения
Query taking long time  ("acanada", )
 Re: Query taking long time  ("acanada", )
 Re: Query taking long time  ("acanada", )
  Re: Query taking long time  (Vladimir Sitnikov, )
  Re: Query taking long time  (Venkata Balaji Nagothi, )
   Re: Query taking long time  ("acanada", )
   Re: Query taking long time  ("acanada", )
    Re: Query taking long time  (Venkata Balaji Nagothi, )
     Re: Query taking long time  (desmodemone, )
      Re: Query taking long time  ("acanada", )
       Re: Query taking long time  (Evgeniy Shishkin, )
        Re: Query taking long time  ("acanada", )
         Re: Query taking long time  (Evgeniy Shishkin, )
          Re: Query taking long time  ("acanada", )
           Re: Query taking long time  (Evgeniy Shishkin, )
            Re: Query taking long time  ("acanada", )
             Re: Query taking long time  (Venkata Balaji Nagothi, )
       Re: Query taking long time  (desmodemone, )
        Re: Query taking long time  ("acanada", )
         Re: Query taking long time  (Evgeny Shishkin, )
          Re: Query taking long time  ("acanada", )
           Re: Query taking long time  (Venkata Balaji Nagothi, )
            Re: Query taking long time  ("acanada", )
             Re: Query taking long time  (Venkata Balaji Nagothi, )
 Re: Query taking long time  ("acanada", )
Hello Evgeniy!

I can move the database to another server...
This is the cat of /proc/cpuinfo. Does it have enough power or should I go for a better one??

(It has 32 processors like this one):

cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 45
model name      : Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
stepping        : 7
microcode       : 0x70d
cpu MHz         : 1200.000
cache size      : 20480 KB
physical id     : 0
siblings        : 16
core id         : 0
cpu cores       : 8
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse
sse2ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
aperfmperfpni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timeraes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid 
bogomips        : 5187.62
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:


free
             total       used       free     shared    buffers     cached
Mem:      65901148   32702336   33198812          0     264936   20625024
-/+ buffers/cache:   11812376   54088772
Swap:    134217724     413088  133804636


Thank you for your help,
Andrés


El Mar 10, 2014, a las 3:45 PM, Evgeniy Shishkin escribió:

>
> On 07 Mar 2014, at 13:18, acanada <> wrote:
>
>> The table entity2document2 has 30GB. In consecutive runs it gets much better... 30ms apron.
>
> So you just benchmarking your hard drives with random iops.
>
> You need more ram and faster disks.


**NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información
protegidapara el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de
transmisiónpor parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega
comunicarloal remitente y borrar el mensaje recibido. 
**CONFIDENTIALITY NOTICE** This email communication and any attachments may contain confidential and privileged
informationfor the sole use of the designated recipient named above. Distribution, reproduction or any other use of
thistransmission by any party other than the intended recipient is prohibited. If you are not the intended recipient
pleasecontact the sender and delete all copies. 



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

Предыдущее
От: desmodemone
Дата:
Сообщение: Re: Query taking long time
Следующее
От: "acanada"
Дата:
Сообщение: Re: Query taking long time