You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2015/10/23 16:23:27 UTC
[jira] [Created] (METAMODEL-201) Optimize "approximate count"
functions on various SQL dialects
Kasper Sørensen created METAMODEL-201:
-----------------------------------------
Summary: Optimize "approximate count" functions on various SQL dialects
Key: METAMODEL-201
URL: https://issues.apache.org/jira/browse/METAMODEL-201
Project: Apache MetaModel
Issue Type: Improvement
Reporter: Kasper Sørensen
Working on METAMODEL-200 I got curious and looked at various SQL dialects for selecting an "approximate count".
I found a few examples which we could include into our IQueryRewriter implementations to make approximate counting faster:
PostgreSQL: https://wiki.postgresql.org/wiki/Count_estimate
SQL server: http://www.revindex.com/Resources/Blogs/EntryID/32
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)