8. An apparatus comprising: a computer readable storage medium storing computer readable program code executable by a processor, the computer readable program code comprising: an optimizer identifying within a transactional database management system (DBMS) a query as an analytical type in response to a predefined query element, wherein the predefined query element is one of the query not including an index scan and the query not including a where predicate, and a processing cost of processing the query with an analytical query processor being less than a processing cost of processing the query with a transactional query processor of a general purpose computer within the DBMS; the analytical query processor processing the query if the query is the analytical type; and the transactional query processor processing the query within the DBMS if the query is not the analytical type.
8. An apparatus comprising: a computer readable storage medium storing computer readable program code executable by a processor, the computer readable program code comprising: an optimizer identifying within a transactional database management system (DBMS) a query as an analytical type in response to a predefined query element, wherein the predefined query element is one of the query not including an index scan and the query not including a where predicate, and a processing cost of processing the query with an analytical query processor being less than a processing cost of processing the query with a transactional query processor of a general purpose computer within the DBMS; the analytical query processor processing the query if the query is the analytical type; and the transactional query processor processing the query within the DBMS if the query is not the analytical type. 13. The apparatus of claim 8 , wherein the identification is based on a heuristic comprising a comparison of the processing cost of processing the query with the analytical query processor and the processing cost of processing the query with the transactional query processor.