|
|
Choosing A Webhost: |
Re: Why performance improvement on converting subselect to a function ?: msg#00484db.postgresql.performance
Rajesh Kumar Mallah <mallah@xxxxxxxxxxxxxxx> writes: > Tom Lane wrote: >> Odd. Apparently the planner is picking a better plan in the function >> context than in the subselect context --- which is strange since it >> ought to have less information. > [ verbose plan snipped ] Well, that sure seems to be the same plan. Curious that the runtime wasn't about the same. Perhaps the slow execution of the first query was a caching effect? If you alternate trying the query both ways, does the speed difference persist? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Tuning PostgreSQL, Ron Johnson |
|---|---|
| Next by Date: | Re: Why performance improvement on converting subselect to a function ?, Rajesh Kumar Mallah |
| Previous by Thread: | Re: Why performance improvement on converting subselect, Rajesh Kumar Mallah |
| Next by Thread: | Re: Why performance improvement on converting subselect to a function ?, Rajesh Kumar Mallah |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |