top of page

Oracle Analytics Query Engine: The Backbone of the Platform

  • Writer: Ambs
    Ambs
  • 7 days ago
  • 3 min read

My first deeper exploration of this topic was at the time I was preparing for my Oracle Cloud Platform Enterprise Analytics Certified Professional exam in 2022 and 2023.


A lot has been improved since then. With the introduction of Semantic Modeler in Oracle Analytics Cloud; we are seeing a great leap in the way data can be brought in, modeled and deployed - all within the OAC layer itself!


As I am brushing up concepts for my next key certification - ' 1Z0-1041-25: Oracle Analytics Cloud 2025 Professional'; eager to reflect upon the key features and latest capabilities around the Oracle Analytics Query Engine in this blog, for future references.


When the whole world is buzzing about AI and newer technologies, we should also appreciate the great governance frameworks in place in Oracle that makes it all possible! Lets see how!


What is the core functionality of the Oracle Analytics Query Engine?


As the name reveals it - it is a query engine - quite a robust one, that interprets the Logical SQL queries (LSQL) and in turn generates optimised Physical SQL queries to the data sources as specified in the RPD / semantic model. This feature is also referred to as "dialect translation".


Key Advantages

This query engine can provide:

  • Centralised data access

  • Calculation computations

  • Data governance by pipeline creation

This data governance pipeline allows anyone across an enterprise the flexibility to consume data specific to their application roles for which they have access privileges.


All the wonderful things you do with Oracle Analytics DV - data visualizations, dashboards, enterprise reporting, data flows etc - are powered by this query engine!


If you were confused, here is a good analogy that will give you clarity about the link between the query engine and the semantic model.

"If the Query Engine is the backbone of Oracle Analytics governed and self-service analytics, the Semantic Model is the brain of the Query Engine."

Oracle Analytics Query Engine maintains the logical data model and provides client access to it - using ODBC connectivity or native APIs like OCI or Oracle DB.


Query Federation

Have you heard of this powerful feature of the query engine? This gives the ability to join data from two completely different sources into a single visualisation. This is what allows the interface to talk to data from sources like Oracle Autonomous DB, an excel file based dataset, or Snowflake - stitching them together in its own memory.


If you wish to read more about Query Federation, here is a link to a short exploration blog post of mine, on the topic.


Function Shipping

Digging deeper than the course contents on this topic, quite fascinated by this intelligent "source awareness" capability which allows it to know the computational strengths of the underlying db.


Imagine, the database involved is capable of handling a complex calculation. This means the engine will 'ship' the logic to the DB. But instead, if the source is a basic flat file or an old db, that would not be able to handle the complexity of the calculation; the engine pulls the raw data and performs the calculation on its own!


Aggregation Navigation

In the semantic model, you can map the same logic table to both a summary / aggregate table or a detail table. The query engine can automatically detect if a user request can be answered by the faster, smaller summary table - without the user even knowing about its existence.


Cache Management

Results of expensive queries are stored in its own cache - to speed up identical requests in future.


Smart Content Navigation

If the data is horizontally partitioned - split across tables by year, for example - then the engine acts as a traffic controller. It directs the query to only the specific table/s, needed based on the date filters used by the user. This avoids total scan and improves the performance immensely.


Security Injection

A key differentiator which automatically appends WHERE clauses to queries - to enforce Row-Level Security (RLS) based on user's role/ identity.


Summary

The Oracle Analytics Query Engine the orchestration layer that makes modern business intelligence possible at scale allowing organisations to maintain a single version of the truth across hundreds of fragmented data sources.


It is your gatekeeper that ensures data governance and RLS are applied consistently, also maintaining simplicity. The engine handles the complex heavy-lifting of federation and optimisation in the background and empowers non-technical users to explore complex, multi-source data with the help of an easy drag and drop interface in DV.

Comments


  • Ambs LinkedIn

© 2023 by Analytix. Proudly created with Wix.com

bottom of page