Arthur Whitney, Chief Technical Officer, KX Systems.

Slides:



Advertisements
Similar presentations
High Performance Discovery from Time Series Streams
Advertisements

OLAP Tuning. Outline OLAP 101 – Data warehouse architecture – ROLAP, MOLAP and HOLAP Data Cube – Star Schema and operations – The CUBE operator – Tuning.
SQL SERVER 2012 XVELOCITY COLUMNSTORE INDEX Conor Cunningham Principal Architect SQL Server Engine.
Xenomorph ® Transforming Data Management. Accelerating Data & Analytics Management Author: Brian Sentance, CEO, Xenomorph Date: 6 th October 2008 Presented.
CHAPTER 9 Technical Analysis. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc., All Rights Reserved. Technical Analysis Technical analysis attempts.
High-Speed Stock Trading. Trading Simulation Background Information RAM Corp. is a Top Tier ERP software vendor which stock is traded around $100. Suddenly.
Data Warehousing: Data Marting and Metadata DATA WAREHOUSING IN THE REAL WORLDChapters 6 – 9 Sam Anahory Dennis Murray Presented by Lance Kelson10/25/00.
Online Pattern Discovery Applications in Data Streams Sensor-less: Pairs-trading in stock trading (find highly correlated pairs in n log n time) Sensor-full:
Elastic Burst Detection: Applications Discovering intervals with an unusually large numbers of events. –In astrophysics, the sky is constantly observed.
The Analysts Spring 2003, U of U cs4500 Eric Christiansen Matthew Jones Hyang-Soon Lee.
MARKET IN TRAFFIC LIGHTS Designed for the next Users Private Investors Professional investors in Broker companies Run mode: Real Time combined with the.
Game of Life presents: FastStocks. Scenario Preview of Presentation Why Fast Stocks? – Benefits of this application Application Demo Technical Issues.
AQuery A Database System for Order
Computer Science 101 Web Access to Databases SQL – Extended Form.
Database : collection of information. data management tool. huge volumes. like a filing system. providing answers.
Workplace Yin Xu. Are we productive? GDP growth 3.2% (2008) Population growth 1.18% (2008 Est.) In general the answer is Yes!! Technology advances and.
Investing in Stocks.  Common Stock  Advantages ▪ Voting Rights – Proxy ▪ Usually cheaper than preferred  Disadvantages ▪ More risky – last to get money.
Efficient Elastic Burst Detection in Data Streams Yunyue Zhu and Dennis Shasha Department of Computer Science Courant Institute of Mathematical Sciences.
SQL for Data Retrieval. Running Example IST2102 Data Preparation Login to SQL server using your account Select your database – Your database name is.
Intro to SQL Management Studio. Please Be Sure!! Make sure that your access is read only. If it isn’t, you have the potential to change data within your.
Nikolay Kostov Telerik Corporation
Structured Query Language SQL Unit 2 An Introduction to Organizing and Retrieving Data with SQL.
Research and Evaluation 4.1 INVESTMENT PRINCIPLES.
90% U.S. corporations currently engaged in litigation 147 Average number of active lawsuits for $1B+ companies $1M A verage per case cost of eDiscovery.
Variant Indexes. Specialized Indexes? Data warehouses are large databases with data integrated from many independent sources. Queries are often complex.
Mining real world data RDBMS and SQL. Index RDBMS introduction SQL (Structured Query language)
I. About Us Our Product Freedom for Bedding Business Management Sales and Marketing Operations Management Conclusion About Us Our Product Freedom for.
Relational Database Systems Bartosz Zagorowicz. Flat Databases  Originally databases were flat.  All information was stored in a long text file, called.
Structured Query Language SQL-II IST 210 Organization of Data IST2101.
CPA WAP The Perspectives of WAP Services in Ukraine 22/01/2007.
Applications Software. Is a software used to carry out a particular task e.g. a game or word processor.
From RDBMS to Hadoop A case study Mihaly Berekmeri School of Computer Science University of Manchester Data Science Club, 14th July 2016 Hayden Clark,
mlm-software.html.
Identifying functions and using function notation
How You Earn 2 Ways To Earn Money With Our Company Product Sales
The Language of Financial Markets
DOW UNDERDOGS STRATEGY (
Get Updated 1Z0-327 Exam Dumps & 20% Discount ORACLE 1Z0-327 Exam Oracle Procurement Cloud 2016 Certified Implementation Specialist.
script/
Based on notes by Jim Gray
ITEC 2620M Introduction to Data Structures
Corruption in the Stock Market
Blazing-Fast Performance:
Automated Forex Trading Software. What is an Automated forex tradingAutomated forex trading Technically, it is a Software that is designed to keep eyes.
Download Microsoft Exam Dumps - Valid Microsoft Question Answers - Realexamdumps.com
Buy Valid Microsoft Exam Study Guide Dumps Questions Answers Realexamdumps.com
Get Updated 1Z0-071 Exam Dumps & 20% Discount ORACLE 1Z0-071 Exam Oracle Database SQL.
G063 - Distributed Databases
Stock Basics Ms. Zucchero.
Predicting Traffic Dmitriy Bespalov.
Motivation Do you know of any stock exchanges?.
SQL – Entire Select.
Chapter 4 Summary Query.
MODULE 3 THE NEXT BIG THING Stocks, Stocks, Stocks.
Database Principles Constructed by Hanh Pham based on slides from: “Database Processing, Fundamentals, Design, and Implementation”, D. Kroenke, D. Auer,
10.1 The Global Marketplace
Using Access More Efficiently
Integrating REST API and SQL Server JSON Functions
Four Rules For Columnstore Query Performance
M1G Introduction to Database Development
Implementation of Relational Operations
Query Functions.
GRIF DEX is an international decentralized exchange, a trading platform where you can buy and sell coins, tokens and fiat currency. An exchange will conform.
What are your trading rules?
Business simulations.
Stocks: The Basics.
Business and Finance Mr. I.
Reading Stock Quotes Investing Part 2
Discount Car Lease discountcarlease.co m. DISCOUNT CAR LEASE IN NY Call Us Now! To Get Your Special Offer! discountcarlease.com.
Getting Trading Ideas Personal Finance Lab.
Presentation transcript:

Lots o' Ticks: real-time high performance queries on billions of quotes and trades Arthur Whitney, Chief Technical Officer, KX Systems. a@kx.com Dennis Shasha, Courant Institute, New York University. shasha@cs.nyu.edu

KSQL Model Replace Tables by Arrables (Array Tables). Any set-oriented query is answered as in SQL. New queries are possible based on viewing columns in tables as arrays.

Demo Application: Stocks 10,000 securities from all the major markets. Entire quote and trade history. Production application holds 10 years of data, about 1/2 terabyte, on a Linux cluster of up to 100 processors. For demo: a few months on a single PC.

Example Query 1 Find the 5 tick moving averages of each stock per month. trade is ordered by date. select 5 avgs price by sym, date.month from trade “avgs” produces an array for each stock, month pair. In SQL, aggregates can produce only a scalar for each group by result.

Example Query 2 Find the 10 day delayed auto-correlation (a function defined in C) for each stock: select auto[10,price] by sym from trade User-defined functions can be defined in C and imported into the name space. They can produce arrays or scalars.

“Emotive” Queries http://kx.com/a/tdb/q.t 7 best stocks to buy and later sell. “7 first desc …(last price)/first price …” 7 worst hours for some stock. “7 first asc …” The best buy and later sale for some stock. “… max price - prefixmins price …”

Implementation Fully vertically partitioned to take advantage of cache lines and stride one behavior. Special algorithms for sorting. Very small footprint (< 0.3 megabytes)

Who Uses KDB Now? Mostly finance and telecommunications companies. High value, large data. Response must be fast. Data interchange products, because XML is ordered as is KDB.

More Information Timeseries application at: http://kx.com/a/tdb Realtime: 10 million trades and quotes per day(reuters triarch) at max rate of 10000 records per second. History: 10 billion trades and quotes. Free download of KDB at www.kx.com: