Search Postgresql Archives

Re: LIKE OPERATOR cardinality estimation

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

 



"sumit kumar" <talk2mitsu@xxxxxxxxxxxxxx> writes:
> Can any1 please please help me know how pgsql estimates the cardinality of
> LIKE operator ??

See patternsel() and subsidiary routines in
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/selfuncs.c
for whichever version you are interested in.  (This code has changed
often enough that there's no version-independent answer to your
question.)

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux