SlideShare a Scribd company logo
A Metadata-Driven Approach to Computing Financial Analytics in a Relational Database by David Rozenshtein, PhD Sandip K. Mehta Reuters October 2006
What are Financial Analytics? Algebraic formulas: Calculate financial results for companies, instruments, indices, industries, etc. Inputs: Financial metrics: items from financial statements, estimates, prices, interest rates, etc. Values computed for other analytics. Constants.  Operations: Mathematical and logical operators and functions.
Approaches to Financial Analysis Systems Typical approach: “Hardcode” analytic formulas into the system’s source code.  Important disadvantage – need to change this source code as analytics are added, deleted or modified.  Better approach: Represent analytic formulas as “metadata.” Build  the analytic system as a  formula interpreter .  Analytics can now be added, deleted or modified without having to make any changes to the analytic system’s source code.
Where and How to Build the Interpreter? Possibility 1: Build the interpreter in standard 3GL – C++, C#, Java, etc. Advantage: Well known algorithms exist. Problem: Financial data is in the database. Analytic results should be placed in the database as well. Interpreter itself would be outside the database layer. Too much data movement between the database and the interpreter. Too slow!
Where and How to Build the Interpreter? Possibility 2: Build the interpreter in SQL. Advantage: Both data and computation are now completely within the database layer. Issues: How to represent formulas as data? How to actually code the interpreter? How to make all of this very efficient?
Building the Formula Interpreter in SQL Representing formulas: The set of analytic formulas is represented as an  annotated directed acyclic graph  (ADAG). The  nodes  of the ADAG represent  inputs  and  outputs  of the formulas. The  edges  represent  operations  and  functions . The ADAG itself is stored as a table in the database. Implementing the interpreter: The interpreter is implemented as a special kind of  graph traversal  algorithm.
Standard SQL Graph Traversal Algorithms Standard graph traversal algorithms are  depth-first . Not suitable for SQL: Lead to “one/few rows at a time” computation. Too slow!
A Novel SQL Graph Traversal Algorithm We have developed a novel  breadth-first  graph traversal algorithm. Very good for SQL: Our system computes multiple analytic formulas for all business entities/fiscal period combinations at a time. The number of SQL statement executions is completely independent of the number of business entities or fiscal periods involved, and is proportional only to the depth of the analytic graph, which is usually the logarithm of the number of distinct financial metrics and analytic formulas.  Very efficient!
The System and the Paper This paper describes an actual system built at Reuters. Computes at the rate of approx. 12 thousand analytic formulas per second. Runs on an approx. $10,000 computer. The system supports arithmetic and logical formulas over numerics. For arithmetic formulas, it supports arithmetic operators: +, -, * and /, and a limited number of function symbols. For logical formulas, it support binary comparators: =, !=, <, <=, > and >=, and the logical operators: NOT, AND and OR. Currently, the system is limited to formulas over numeric values only; however, it is trivial to extend it to other data types. Due to space limitations, the paper presents only the arithmetic component of the interpreter.

More Related Content

What's hot (20)

Mca ii-dbms- u-ii-the relational database model
Mca ii-dbms- u-ii-the relational database modelMca ii-dbms- u-ii-the relational database model
Mca ii-dbms- u-ii-the relational database model
Rai University
 
Rdbms
RdbmsRdbms
Rdbms
tech4us
 
Data Abstraction
Data AbstractionData Abstraction
Data Abstraction
A. S. M. Shafi
 
Bab9
Bab9Bab9
Bab9
donasiilmu
 
Database management systems cs403 power point slides lecture 06
Database management systems   cs403 power point slides lecture 06Database management systems   cs403 power point slides lecture 06
Database management systems cs403 power point slides lecture 06
Md.Abu Sayed
 
Ch09
Ch09Ch09
Ch09
S&amp;P Capital IQ
 
Database management system chapter5
Database management system chapter5Database management system chapter5
Database management system chapter5
Pranab Dasgupta
 
Data independence
Data independenceData independence
Data independence
Aashima Wadhwa
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
arnold 7490
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
ABDUL KHALIQ
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
oudesign
 
Efficient Database Design for Banking System
Efficient Database Design for Banking SystemEfficient Database Design for Banking System
Efficient Database Design for Banking System
S.M. Murad Hasan Tanvir
 
Data models
Data modelsData models
Data models
Usman Tariq
 
Ansi spark
Ansi sparkAnsi spark
Ansi spark
jani
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
Adeel Rasheed
 
Database Management & Models
Database Management & ModelsDatabase Management & Models
Database Management & Models
Sunderland City Council
 
Databases
DatabasesDatabases
Databases
anilageorge
 
Databases
DatabasesDatabases
Databases
guest14f3be
 
Schema
SchemaSchema
Schema
Pragya Srivastava
 

Viewers also liked (12)

Schemas and Schema-driven Metadata Software
Schemas and Schema-driven Metadata SoftwareSchemas and Schema-driven Metadata Software
Schemas and Schema-driven Metadata Software
UKOLN (dev), University of Bath
 
Metadata framework for agricultural resources information system (ag ris)
Metadata framework for agricultural resources information system (ag ris)Metadata framework for agricultural resources information system (ag ris)
Metadata framework for agricultural resources information system (ag ris)
AIMS (Agricultural Information Management Standards)
 
Building Web APIs that Scale
Building Web APIs that ScaleBuilding Web APIs that Scale
Building Web APIs that Scale
Salesforce Developers
 
Huge: Running an API at Scale
Huge: Running an API at ScaleHuge: Running an API at Scale
Huge: Running an API at Scale
Apigee | Google Cloud
 
Creating a Data Driven UI Framework
Creating a Data Driven UI FrameworkCreating a Data Driven UI Framework
Creating a Data Driven UI Framework
Ankur Bansal
 
The metadata driven e-laboratory web client
The metadata driven e-laboratory web clientThe metadata driven e-laboratory web client
The metadata driven e-laboratory web client
Mikołaj Olszewski
 
Object-Oriented Design: Multiple inheritance (C++ and C#)
Object-Oriented Design: Multiple inheritance (C++ and C#)Object-Oriented Design: Multiple inheritance (C++ and C#)
Object-Oriented Design: Multiple inheritance (C++ and C#)
Adair Dingle
 
Scaling APIs: Predict, Prepare for, Overcome the Challenges
Scaling APIs: Predict, Prepare for, Overcome the ChallengesScaling APIs: Predict, Prepare for, Overcome the Challenges
Scaling APIs: Predict, Prepare for, Overcome the Challenges
Apigee | Google Cloud
 
Omnichannel Applications with AngularJS
Omnichannel Applications with AngularJSOmnichannel Applications with AngularJS
Omnichannel Applications with AngularJS
FITC
 
Is your Enterprise Data lake Metadata Driven AND Secure?
Is your Enterprise Data lake Metadata Driven AND Secure?Is your Enterprise Data lake Metadata Driven AND Secure?
Is your Enterprise Data lake Metadata Driven AND Secure?
DataWorks Summit/Hadoop Summit
 
Software is eating the world and MDD should be in the driving seat
Software is eating the world and MDD should be in the driving seatSoftware is eating the world and MDD should be in the driving seat
Software is eating the world and MDD should be in the driving seat
Johan den Haan
 
Aiding Analytics Adoption Via Metadata-Driven Architecture: If You Build It, ...
Aiding Analytics Adoption Via Metadata-Driven Architecture: If You Build It, ...Aiding Analytics Adoption Via Metadata-Driven Architecture: If You Build It, ...
Aiding Analytics Adoption Via Metadata-Driven Architecture: If You Build It, ...
Health Catalyst
 
Creating a Data Driven UI Framework
Creating a Data Driven UI FrameworkCreating a Data Driven UI Framework
Creating a Data Driven UI Framework
Ankur Bansal
 
The metadata driven e-laboratory web client
The metadata driven e-laboratory web clientThe metadata driven e-laboratory web client
The metadata driven e-laboratory web client
Mikołaj Olszewski
 
Object-Oriented Design: Multiple inheritance (C++ and C#)
Object-Oriented Design: Multiple inheritance (C++ and C#)Object-Oriented Design: Multiple inheritance (C++ and C#)
Object-Oriented Design: Multiple inheritance (C++ and C#)
Adair Dingle
 
Scaling APIs: Predict, Prepare for, Overcome the Challenges
Scaling APIs: Predict, Prepare for, Overcome the ChallengesScaling APIs: Predict, Prepare for, Overcome the Challenges
Scaling APIs: Predict, Prepare for, Overcome the Challenges
Apigee | Google Cloud
 
Omnichannel Applications with AngularJS
Omnichannel Applications with AngularJSOmnichannel Applications with AngularJS
Omnichannel Applications with AngularJS
FITC
 
Is your Enterprise Data lake Metadata Driven AND Secure?
Is your Enterprise Data lake Metadata Driven AND Secure?Is your Enterprise Data lake Metadata Driven AND Secure?
Is your Enterprise Data lake Metadata Driven AND Secure?
DataWorks Summit/Hadoop Summit
 
Software is eating the world and MDD should be in the driving seat
Software is eating the world and MDD should be in the driving seatSoftware is eating the world and MDD should be in the driving seat
Software is eating the world and MDD should be in the driving seat
Johan den Haan
 
Aiding Analytics Adoption Via Metadata-Driven Architecture: If You Build It, ...
Aiding Analytics Adoption Via Metadata-Driven Architecture: If You Build It, ...Aiding Analytics Adoption Via Metadata-Driven Architecture: If You Build It, ...
Aiding Analytics Adoption Via Metadata-Driven Architecture: If You Build It, ...
Health Catalyst
 

Similar to A Metadata-Driven Approach to Computing Financial Analytics in a Relational Database (20)

Database API Viewed as a Mathematical Function, Insights into Testing
Database API Viewed as a Mathematical Function, Insights into TestingDatabase API Viewed as a Mathematical Function, Insights into Testing
Database API Viewed as a Mathematical Function, Insights into Testing
Brendan Furey
 
Michael Stonebraker How to do Complex Analytics
Michael Stonebraker How to do Complex AnalyticsMichael Stonebraker How to do Complex Analytics
Michael Stonebraker How to do Complex Analytics
MassTLC
 
Introduction to Database system
Introduction to Database systemIntroduction to Database system
Introduction to Database system
Putu Sundika
 
What Does Big Data Mean and Who Will Win
What Does Big Data Mean and Who Will WinWhat Does Big Data Mean and Who Will Win
What Does Big Data Mean and Who Will Win
BigDataCloud
 
1. Chapter One.pdf
1. Chapter One.pdf1. Chapter One.pdf
1. Chapter One.pdf
fikadumola
 
Chapter 1 - Introduction to Database Systems.ppt
Chapter 1 - Introduction to Database Systems.pptChapter 1 - Introduction to Database Systems.ppt
Chapter 1 - Introduction to Database Systems.ppt
Shemse Shukre
 
Analytic Platforms in the Real World with 451Research and Calpont_July 2012
Analytic Platforms in the Real World with 451Research and Calpont_July 2012Analytic Platforms in the Real World with 451Research and Calpont_July 2012
Analytic Platforms in the Real World with 451Research and Calpont_July 2012
Calpont Corporation
 
Chapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdfChapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdf
GirmaNeshir
 
James hall ch 9
James hall ch 9James hall ch 9
James hall ch 9
David Julian
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
EshetuGeletu2
 
MAD Skills: New Analysis Practices for Big Data
MAD Skills: New Analysis Practices for Big DataMAD Skills: New Analysis Practices for Big Data
MAD Skills: New Analysis Practices for Big Data
Christan Grant
 
chapter 1-Introduction Fundamentals of database system.pdf
chapter 1-Introduction Fundamentals of database system.pdfchapter 1-Introduction Fundamentals of database system.pdf
chapter 1-Introduction Fundamentals of database system.pdf
University of Gondar
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
TamiratDejene1
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
TamiratDejene1
 
The Road to U-SQL: Experiences in Language Design (SQL Konferenz 2017 Keynote)
The Road to U-SQL: Experiences in Language Design (SQL Konferenz 2017 Keynote)The Road to U-SQL: Experiences in Language Design (SQL Konferenz 2017 Keynote)
The Road to U-SQL: Experiences in Language Design (SQL Konferenz 2017 Keynote)
Michael Rys
 
dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodunga
VaradKadtan1
 
DBMS - Introduction
DBMS - IntroductionDBMS - Introduction
DBMS - Introduction
JOSEPHINE297640
 
database management systems for ug students
database management systems for ug studentsdatabase management systems for ug students
database management systems for ug students
veenashinde8
 
Transaction Management, Recovery and Query Processing.pptx
Transaction Management, Recovery and Query Processing.pptxTransaction Management, Recovery and Query Processing.pptx
Transaction Management, Recovery and Query Processing.pptx
Roshni814224
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
CS_GDRCST
 
Database API Viewed as a Mathematical Function, Insights into Testing
Database API Viewed as a Mathematical Function, Insights into TestingDatabase API Viewed as a Mathematical Function, Insights into Testing
Database API Viewed as a Mathematical Function, Insights into Testing
Brendan Furey
 
Michael Stonebraker How to do Complex Analytics
Michael Stonebraker How to do Complex AnalyticsMichael Stonebraker How to do Complex Analytics
Michael Stonebraker How to do Complex Analytics
MassTLC
 
Introduction to Database system
Introduction to Database systemIntroduction to Database system
Introduction to Database system
Putu Sundika
 
What Does Big Data Mean and Who Will Win
What Does Big Data Mean and Who Will WinWhat Does Big Data Mean and Who Will Win
What Does Big Data Mean and Who Will Win
BigDataCloud
 
1. Chapter One.pdf
1. Chapter One.pdf1. Chapter One.pdf
1. Chapter One.pdf
fikadumola
 
Chapter 1 - Introduction to Database Systems.ppt
Chapter 1 - Introduction to Database Systems.pptChapter 1 - Introduction to Database Systems.ppt
Chapter 1 - Introduction to Database Systems.ppt
Shemse Shukre
 
Analytic Platforms in the Real World with 451Research and Calpont_July 2012
Analytic Platforms in the Real World with 451Research and Calpont_July 2012Analytic Platforms in the Real World with 451Research and Calpont_July 2012
Analytic Platforms in the Real World with 451Research and Calpont_July 2012
Calpont Corporation
 
Chapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdfChapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdf
GirmaNeshir
 
MAD Skills: New Analysis Practices for Big Data
MAD Skills: New Analysis Practices for Big DataMAD Skills: New Analysis Practices for Big Data
MAD Skills: New Analysis Practices for Big Data
Christan Grant
 
chapter 1-Introduction Fundamentals of database system.pdf
chapter 1-Introduction Fundamentals of database system.pdfchapter 1-Introduction Fundamentals of database system.pdf
chapter 1-Introduction Fundamentals of database system.pdf
University of Gondar
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
TamiratDejene1
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
TamiratDejene1
 
The Road to U-SQL: Experiences in Language Design (SQL Konferenz 2017 Keynote)
The Road to U-SQL: Experiences in Language Design (SQL Konferenz 2017 Keynote)The Road to U-SQL: Experiences in Language Design (SQL Konferenz 2017 Keynote)
The Road to U-SQL: Experiences in Language Design (SQL Konferenz 2017 Keynote)
Michael Rys
 
dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodunga
VaradKadtan1
 
database management systems for ug students
database management systems for ug studentsdatabase management systems for ug students
database management systems for ug students
veenashinde8
 
Transaction Management, Recovery and Query Processing.pptx
Transaction Management, Recovery and Query Processing.pptxTransaction Management, Recovery and Query Processing.pptx
Transaction Management, Recovery and Query Processing.pptx
Roshni814224
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
CS_GDRCST
 

More from inscit2006 (20)

Information Searcher-Provider Fit through Information Presentation and Visual...
Information Searcher-Provider Fit through Information Presentation and Visual...Information Searcher-Provider Fit through Information Presentation and Visual...
Information Searcher-Provider Fit through Information Presentation and Visual...
inscit2006
 
Difference of application of fuzzy rough sets and probability random on targe...
Difference of application of fuzzy rough sets and probability random on targe...Difference of application of fuzzy rough sets and probability random on targe...
Difference of application of fuzzy rough sets and probability random on targe...
inscit2006
 
The Interaction of Navigation Instructions and Visual Attention in Dynamic Au...
The Interaction of Navigation Instructions and Visual Attention in Dynamic Au...The Interaction of Navigation Instructions and Visual Attention in Dynamic Au...
The Interaction of Navigation Instructions and Visual Attention in Dynamic Au...
inscit2006
 
Weighted Naïve Bayes Model for Semi-Structured Document Categorization
Weighted Naïve Bayes Model for Semi-Structured Document CategorizationWeighted Naïve Bayes Model for Semi-Structured Document Categorization
Weighted Naïve Bayes Model for Semi-Structured Document Categorization
inscit2006
 
The role of education within the framework of information sciences and techno...
The role of education within the framework of information sciences and techno...The role of education within the framework of information sciences and techno...
The role of education within the framework of information sciences and techno...
inscit2006
 
A Comparative Study of RDBMs and OODBMs in Relation to Security of Data
A Comparative Study of RDBMs and OODBMs in Relation to Security of DataA Comparative Study of RDBMs and OODBMs in Relation to Security of Data
A Comparative Study of RDBMs and OODBMs in Relation to Security of Data
inscit2006
 
iCE- Interactive Co-innovation Environment Software, Spatial Mapping Tools fo...
iCE- Interactive Co-innovation Environment Software, Spatial Mapping Tools fo...iCE- Interactive Co-innovation Environment Software, Spatial Mapping Tools fo...
iCE- Interactive Co-innovation Environment Software, Spatial Mapping Tools fo...
inscit2006
 
Designing People’s Interconnections in Mobile Social Networks
Designing People’s Interconnections in Mobile Social NetworksDesigning People’s Interconnections in Mobile Social Networks
Designing People’s Interconnections in Mobile Social Networks
inscit2006
 
Visual Literacy: A Semiotic Analysis of Icons as Visual Information Represent...
Visual Literacy: A Semiotic Analysis of Icons as Visual Information Represent...Visual Literacy: A Semiotic Analysis of Icons as Visual Information Represent...
Visual Literacy: A Semiotic Analysis of Icons as Visual Information Represent...
inscit2006
 
Visualizing Search Term Relevance, Boolean Operators, and Phrases using the C...
Visualizing Search Term Relevance, Boolean Operators, and Phrases using the C...Visualizing Search Term Relevance, Boolean Operators, and Phrases using the C...
Visualizing Search Term Relevance, Boolean Operators, and Phrases using the C...
inscit2006
 
Visualization of Multidimensional Information from Scientific Computations
Visualization of Multidimensional Information from Scientific ComputationsVisualization of Multidimensional Information from Scientific Computations
Visualization of Multidimensional Information from Scientific Computations
inscit2006
 
High dimensional Data Visualization using Star Coordinates on Three Dimensions
High dimensional Data Visualization using Star Coordinates on Three DimensionsHigh dimensional Data Visualization using Star Coordinates on Three Dimensions
High dimensional Data Visualization using Star Coordinates on Three Dimensions
inscit2006
 
Knowledge Discovery in Environmental Impact Report’s summary texts: an explor...
Knowledge Discovery in Environmental Impact Report’s summary texts: an explor...Knowledge Discovery in Environmental Impact Report’s summary texts: an explor...
Knowledge Discovery in Environmental Impact Report’s summary texts: an explor...
inscit2006
 
Improvement in Quality of Speech associated with Braille codes - A Review
Improvement in Quality of Speech associated with Braille codes - A ReviewImprovement in Quality of Speech associated with Braille codes - A Review
Improvement in Quality of Speech associated with Braille codes - A Review
inscit2006
 
Identificación de Nombres de Genes en la Literatura Biomédica
Identificación de Nombres de Genes en la Literatura BiomédicaIdentificación de Nombres de Genes en la Literatura Biomédica
Identificación de Nombres de Genes en la Literatura Biomédica
inscit2006
 
An Intuitive Natural Language Understanding System
An Intuitive Natural Language Understanding SystemAn Intuitive Natural Language Understanding System
An Intuitive Natural Language Understanding System
inscit2006
 
Requirement analysis for mobile information exchange in the police using a ti...
Requirement analysis for mobile information exchange in the police using a ti...Requirement analysis for mobile information exchange in the police using a ti...
Requirement analysis for mobile information exchange in the police using a ti...
inscit2006
 
Parametric Study to Enhance Genetic Algorithm's Performance using Ranked base...
Parametric Study to Enhance Genetic Algorithm's Performance using Ranked base...Parametric Study to Enhance Genetic Algorithm's Performance using Ranked base...
Parametric Study to Enhance Genetic Algorithm's Performance using Ranked base...
inscit2006
 
Information updated and conveyed by the neural network systems
Information updated and conveyed by the neural network systemsInformation updated and conveyed by the neural network systems
Information updated and conveyed by the neural network systems
inscit2006
 
Mensajería instantánea: una puerta para una nueva percepción del mundo para n...
Mensajería instantánea: una puerta para una nueva percepción del mundo para n...Mensajería instantánea: una puerta para una nueva percepción del mundo para n...
Mensajería instantánea: una puerta para una nueva percepción del mundo para n...
inscit2006
 
Information Searcher-Provider Fit through Information Presentation and Visual...
Information Searcher-Provider Fit through Information Presentation and Visual...Information Searcher-Provider Fit through Information Presentation and Visual...
Information Searcher-Provider Fit through Information Presentation and Visual...
inscit2006
 
Difference of application of fuzzy rough sets and probability random on targe...
Difference of application of fuzzy rough sets and probability random on targe...Difference of application of fuzzy rough sets and probability random on targe...
Difference of application of fuzzy rough sets and probability random on targe...
inscit2006
 
The Interaction of Navigation Instructions and Visual Attention in Dynamic Au...
The Interaction of Navigation Instructions and Visual Attention in Dynamic Au...The Interaction of Navigation Instructions and Visual Attention in Dynamic Au...
The Interaction of Navigation Instructions and Visual Attention in Dynamic Au...
inscit2006
 
Weighted Naïve Bayes Model for Semi-Structured Document Categorization
Weighted Naïve Bayes Model for Semi-Structured Document CategorizationWeighted Naïve Bayes Model for Semi-Structured Document Categorization
Weighted Naïve Bayes Model for Semi-Structured Document Categorization
inscit2006
 
The role of education within the framework of information sciences and techno...
The role of education within the framework of information sciences and techno...The role of education within the framework of information sciences and techno...
The role of education within the framework of information sciences and techno...
inscit2006
 
A Comparative Study of RDBMs and OODBMs in Relation to Security of Data
A Comparative Study of RDBMs and OODBMs in Relation to Security of DataA Comparative Study of RDBMs and OODBMs in Relation to Security of Data
A Comparative Study of RDBMs and OODBMs in Relation to Security of Data
inscit2006
 
iCE- Interactive Co-innovation Environment Software, Spatial Mapping Tools fo...
iCE- Interactive Co-innovation Environment Software, Spatial Mapping Tools fo...iCE- Interactive Co-innovation Environment Software, Spatial Mapping Tools fo...
iCE- Interactive Co-innovation Environment Software, Spatial Mapping Tools fo...
inscit2006
 
Designing People’s Interconnections in Mobile Social Networks
Designing People’s Interconnections in Mobile Social NetworksDesigning People’s Interconnections in Mobile Social Networks
Designing People’s Interconnections in Mobile Social Networks
inscit2006
 
Visual Literacy: A Semiotic Analysis of Icons as Visual Information Represent...
Visual Literacy: A Semiotic Analysis of Icons as Visual Information Represent...Visual Literacy: A Semiotic Analysis of Icons as Visual Information Represent...
Visual Literacy: A Semiotic Analysis of Icons as Visual Information Represent...
inscit2006
 
Visualizing Search Term Relevance, Boolean Operators, and Phrases using the C...
Visualizing Search Term Relevance, Boolean Operators, and Phrases using the C...Visualizing Search Term Relevance, Boolean Operators, and Phrases using the C...
Visualizing Search Term Relevance, Boolean Operators, and Phrases using the C...
inscit2006
 
Visualization of Multidimensional Information from Scientific Computations
Visualization of Multidimensional Information from Scientific ComputationsVisualization of Multidimensional Information from Scientific Computations
Visualization of Multidimensional Information from Scientific Computations
inscit2006
 
High dimensional Data Visualization using Star Coordinates on Three Dimensions
High dimensional Data Visualization using Star Coordinates on Three DimensionsHigh dimensional Data Visualization using Star Coordinates on Three Dimensions
High dimensional Data Visualization using Star Coordinates on Three Dimensions
inscit2006
 
Knowledge Discovery in Environmental Impact Report’s summary texts: an explor...
Knowledge Discovery in Environmental Impact Report’s summary texts: an explor...Knowledge Discovery in Environmental Impact Report’s summary texts: an explor...
Knowledge Discovery in Environmental Impact Report’s summary texts: an explor...
inscit2006
 
Improvement in Quality of Speech associated with Braille codes - A Review
Improvement in Quality of Speech associated with Braille codes - A ReviewImprovement in Quality of Speech associated with Braille codes - A Review
Improvement in Quality of Speech associated with Braille codes - A Review
inscit2006
 
Identificación de Nombres de Genes en la Literatura Biomédica
Identificación de Nombres de Genes en la Literatura BiomédicaIdentificación de Nombres de Genes en la Literatura Biomédica
Identificación de Nombres de Genes en la Literatura Biomédica
inscit2006
 
An Intuitive Natural Language Understanding System
An Intuitive Natural Language Understanding SystemAn Intuitive Natural Language Understanding System
An Intuitive Natural Language Understanding System
inscit2006
 
Requirement analysis for mobile information exchange in the police using a ti...
Requirement analysis for mobile information exchange in the police using a ti...Requirement analysis for mobile information exchange in the police using a ti...
Requirement analysis for mobile information exchange in the police using a ti...
inscit2006
 
Parametric Study to Enhance Genetic Algorithm's Performance using Ranked base...
Parametric Study to Enhance Genetic Algorithm's Performance using Ranked base...Parametric Study to Enhance Genetic Algorithm's Performance using Ranked base...
Parametric Study to Enhance Genetic Algorithm's Performance using Ranked base...
inscit2006
 
Information updated and conveyed by the neural network systems
Information updated and conveyed by the neural network systemsInformation updated and conveyed by the neural network systems
Information updated and conveyed by the neural network systems
inscit2006
 
Mensajería instantánea: una puerta para una nueva percepción del mundo para n...
Mensajería instantánea: una puerta para una nueva percepción del mundo para n...Mensajería instantánea: una puerta para una nueva percepción del mundo para n...
Mensajería instantánea: una puerta para una nueva percepción del mundo para n...
inscit2006
 

Recently uploaded (20)

New Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDBNew Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
Supercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMsSupercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMs
Francesco Corti
 
European Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility TestingEuropean Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility Testing
Julia Undeutsch
 
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCPMCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
Sambhav Kothari
 
What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!
cryptouniversityoffi
 
Talk: On an adventure into the depths of Maven - Kaya Weers
Talk: On an adventure into the depths of Maven - Kaya WeersTalk: On an adventure into the depths of Maven - Kaya Weers
Talk: On an adventure into the depths of Maven - Kaya Weers
Kaya Weers
 
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
James Anderson
 
Let’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack CommunityLet’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack Community
SanjeetMishra29
 
STKI Israel Market Study 2025 final v1 version
STKI Israel Market Study 2025 final v1 versionSTKI Israel Market Study 2025 final v1 version
STKI Israel Market Study 2025 final v1 version
Dr. Jimmy Schwarzkopf
 
Agentic AI - The New Era of Intelligence
Agentic AI - The New Era of IntelligenceAgentic AI - The New Era of Intelligence
Agentic AI - The New Era of Intelligence
Muzammil Shah
 
UiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build PipelinesUiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build Pipelines
UiPathCommunity
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
Security Operations and the Defense Analyst - Splunk Certificate
Security Operations and the Defense Analyst - Splunk CertificateSecurity Operations and the Defense Analyst - Splunk Certificate
Security Operations and the Defense Analyst - Splunk Certificate
VICTOR MAESTRE RAMIREZ
 
With Claude 4, Anthropic redefines AI capabilities, effectively unleashing a ...
With Claude 4, Anthropic redefines AI capabilities, effectively unleashing a ...With Claude 4, Anthropic redefines AI capabilities, effectively unleashing a ...
With Claude 4, Anthropic redefines AI capabilities, effectively unleashing a ...
SOFTTECHHUB
 
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AIAI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
Buhake Sindi
 
TrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy ContractingTrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy Contracting
TrustArc
 
Introducing Ensemble Cloudlet vRouter
Introducing Ensemble  Cloudlet vRouterIntroducing Ensemble  Cloudlet vRouter
Introducing Ensemble Cloudlet vRouter
Adtran
 
cloudgenesis cloud workshop , gdg on campus mita
cloudgenesis cloud workshop , gdg on campus mitacloudgenesis cloud workshop , gdg on campus mita
cloudgenesis cloud workshop , gdg on campus mita
siyaldhande02
 
Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
Kubernetes Cloud Native Indonesia Meetup - May 2025
Kubernetes Cloud Native Indonesia Meetup - May 2025Kubernetes Cloud Native Indonesia Meetup - May 2025
Kubernetes Cloud Native Indonesia Meetup - May 2025
Prasta Maha
 
New Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDBNew Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
Supercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMsSupercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMs
Francesco Corti
 
European Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility TestingEuropean Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility Testing
Julia Undeutsch
 
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCPMCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
Sambhav Kothari
 
What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!
cryptouniversityoffi
 
Talk: On an adventure into the depths of Maven - Kaya Weers
Talk: On an adventure into the depths of Maven - Kaya WeersTalk: On an adventure into the depths of Maven - Kaya Weers
Talk: On an adventure into the depths of Maven - Kaya Weers
Kaya Weers
 
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
James Anderson
 
Let’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack CommunityLet’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack Community
SanjeetMishra29
 
STKI Israel Market Study 2025 final v1 version
STKI Israel Market Study 2025 final v1 versionSTKI Israel Market Study 2025 final v1 version
STKI Israel Market Study 2025 final v1 version
Dr. Jimmy Schwarzkopf
 
Agentic AI - The New Era of Intelligence
Agentic AI - The New Era of IntelligenceAgentic AI - The New Era of Intelligence
Agentic AI - The New Era of Intelligence
Muzammil Shah
 
UiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build PipelinesUiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build Pipelines
UiPathCommunity
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
Security Operations and the Defense Analyst - Splunk Certificate
Security Operations and the Defense Analyst - Splunk CertificateSecurity Operations and the Defense Analyst - Splunk Certificate
Security Operations and the Defense Analyst - Splunk Certificate
VICTOR MAESTRE RAMIREZ
 
With Claude 4, Anthropic redefines AI capabilities, effectively unleashing a ...
With Claude 4, Anthropic redefines AI capabilities, effectively unleashing a ...With Claude 4, Anthropic redefines AI capabilities, effectively unleashing a ...
With Claude 4, Anthropic redefines AI capabilities, effectively unleashing a ...
SOFTTECHHUB
 
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AIAI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
Buhake Sindi
 
TrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy ContractingTrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy Contracting
TrustArc
 
Introducing Ensemble Cloudlet vRouter
Introducing Ensemble  Cloudlet vRouterIntroducing Ensemble  Cloudlet vRouter
Introducing Ensemble Cloudlet vRouter
Adtran
 
cloudgenesis cloud workshop , gdg on campus mita
cloudgenesis cloud workshop , gdg on campus mitacloudgenesis cloud workshop , gdg on campus mita
cloudgenesis cloud workshop , gdg on campus mita
siyaldhande02
 
Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
Kubernetes Cloud Native Indonesia Meetup - May 2025
Kubernetes Cloud Native Indonesia Meetup - May 2025Kubernetes Cloud Native Indonesia Meetup - May 2025
Kubernetes Cloud Native Indonesia Meetup - May 2025
Prasta Maha
 

A Metadata-Driven Approach to Computing Financial Analytics in a Relational Database

  • 1. A Metadata-Driven Approach to Computing Financial Analytics in a Relational Database by David Rozenshtein, PhD Sandip K. Mehta Reuters October 2006
  • 2. What are Financial Analytics? Algebraic formulas: Calculate financial results for companies, instruments, indices, industries, etc. Inputs: Financial metrics: items from financial statements, estimates, prices, interest rates, etc. Values computed for other analytics. Constants. Operations: Mathematical and logical operators and functions.
  • 3. Approaches to Financial Analysis Systems Typical approach: “Hardcode” analytic formulas into the system’s source code. Important disadvantage – need to change this source code as analytics are added, deleted or modified. Better approach: Represent analytic formulas as “metadata.” Build the analytic system as a formula interpreter . Analytics can now be added, deleted or modified without having to make any changes to the analytic system’s source code.
  • 4. Where and How to Build the Interpreter? Possibility 1: Build the interpreter in standard 3GL – C++, C#, Java, etc. Advantage: Well known algorithms exist. Problem: Financial data is in the database. Analytic results should be placed in the database as well. Interpreter itself would be outside the database layer. Too much data movement between the database and the interpreter. Too slow!
  • 5. Where and How to Build the Interpreter? Possibility 2: Build the interpreter in SQL. Advantage: Both data and computation are now completely within the database layer. Issues: How to represent formulas as data? How to actually code the interpreter? How to make all of this very efficient?
  • 6. Building the Formula Interpreter in SQL Representing formulas: The set of analytic formulas is represented as an annotated directed acyclic graph (ADAG). The nodes of the ADAG represent inputs and outputs of the formulas. The edges represent operations and functions . The ADAG itself is stored as a table in the database. Implementing the interpreter: The interpreter is implemented as a special kind of graph traversal algorithm.
  • 7. Standard SQL Graph Traversal Algorithms Standard graph traversal algorithms are depth-first . Not suitable for SQL: Lead to “one/few rows at a time” computation. Too slow!
  • 8. A Novel SQL Graph Traversal Algorithm We have developed a novel breadth-first graph traversal algorithm. Very good for SQL: Our system computes multiple analytic formulas for all business entities/fiscal period combinations at a time. The number of SQL statement executions is completely independent of the number of business entities or fiscal periods involved, and is proportional only to the depth of the analytic graph, which is usually the logarithm of the number of distinct financial metrics and analytic formulas. Very efficient!
  • 9. The System and the Paper This paper describes an actual system built at Reuters. Computes at the rate of approx. 12 thousand analytic formulas per second. Runs on an approx. $10,000 computer. The system supports arithmetic and logical formulas over numerics. For arithmetic formulas, it supports arithmetic operators: +, -, * and /, and a limited number of function symbols. For logical formulas, it support binary comparators: =, !=, <, <=, > and >=, and the logical operators: NOT, AND and OR. Currently, the system is limited to formulas over numeric values only; however, it is trivial to extend it to other data types. Due to space limitations, the paper presents only the arithmetic component of the interpreter.