Re: Query Plan - Index Scan & Seq Scan

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

 



Prasanth <dbadmin@xxxxxxxxxxx> writes:
> code data type is int2.

Ah-hah.  So "where code > 2::int2" should work noticeably better for
you.  Or you could do "where code > '2'" to avoid hard-wiring the data
type knowledge into your queries.  Or just change it to int4 ;-)
Or update to 8.0.

			regards, tom lane


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux