Apache Sql Webinar - GridGain Systems

1y ago
8 Views
2 Downloads
7.45 MB
24 Pages
Last View : 5d ago
Last Download : 3m ago
Upload by : Warren Adams
Transcription

Apache IgniteTM Distributed In-Memory SQL Queries Denis Magda GridGain Product Manager Apache Ignite PMC http://ignite.apache.org Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. #apacheignite

Agenda Apache Ignite Overview Apache Ignite SQL Engine Internals Query Execution Flow SQL API Tips and Tricks Apache Ignite SQL Engine Of Tomorrow Demo Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite Overview Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache IgniteTM In-Memory Data Fabric: Strategic Approach to IMC Supports Applications of various types and languages Open Source – Apache 2.0 Simple Java APIs 1 JAR Dependency High Performance & Scale Automatic Fault Tolerance Management/Monitoring Runs on Commodity Hardware Supports existing & new data sources No need to rip & replace Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

In-Memory Data Grid Distributed Key-Value Data Store Data Reliability High-Availability – Active replicas, automatic failover Data Consistency – ACID distributed transactions Distributed SQL – Advanced indexing Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine Full ANSI-99 SQL Support – Aggregations, group by, sorting – Cross-cache joins, unions, etc. Distributed – Always consistent – Fault tolerant Advanced Indexing Support Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: H2 Database H2 Database – Fast in-memory and disk based DB – Written in Java and open sourced How Does it Relate to Ignite? – – – – Started as a part of Ignite process SQL parser and optimizer Query execution and planning Flexible indexing module Why not to use as is? – Not designed for key-value storages – Not a distributed engine by nature Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: Ignite H2 Ignite’s Part of The Story – – – – – True cluster-wide distributed SQL Distributed mapper and reducer Paginated result sets Fault tolerance and consistency Sophisticated indexes implementations Data and indexes always stored on Ignite side! – No duplication Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: Indexing Single Field and Group Indexes – Annotate in code – Predefine in the configuration On-Heap Indexes – AVL tree with fast cloning – Concurrent skip list (default) Off-Heap Indexes – AVL tree with fast cloning Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Query Execution Flow Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: Collocated SQL Queries Collocated Mode – Any kind of JOINs (ANSI-99) – Data has to be collocated in advance* Recommended mode – No data movement between nodes – Enabled by default Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: Non-Collocated SQL Queries Non-Collocated Mode – Since Apache Ignite 1.7.0 – No need to collocate data – Potential data movement between nodes Use case – No feasible to collocate data for particular SQL queries – Use collocated* mode as much as possible Disabled by default Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: Local Queries Local Query – Executed by H2 right away – Executed over local data set – Special query configuration parameter Use cases – Query over a single replicated cache – Query over partitioned or collocated data with IgniteCompute’s affinity run Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

SQL API Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: SQL API Unified Multi-Language API – Java & Scala – .NET – C Two Query Types – SqlQuery – SqlFieldsQuery – Ad Hoc by nature Query Entity – Defines queryable type – Fields & indexes listing Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: JDBC & ODBC Drivers for Standardized API – JDBC – ODBC Simple Start – Set cache configuration – Start a cluster and preload data – Connect from a driver side and act! JDBC Driver – Spawns and uses Ignite client node ODBC Driver – Connects to ODBC processor started on one of the cluster nodes Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Application Tool JDBC/ODBC Ignite Cluster ANSI-99 SQL

Tips and Tricks Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: Optimizations General Optimizations – Use group indexing – Don’t index everything – Adjust page size Off-Heap Optimizations – Tune on-heap row cache size Collocation Optimizations – Tend to collocate data – Use query’s isCollocated flag – Use compute affinity run along with local SQL queries Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: Debugging EXPLAIN Statement – Indexes usage validation GridGain WebConsole – Query Execution & Debugging – Query Monitoring H2 Debug Console – Low level debugging Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine of Tomorrow Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache Ignite SQL Engine: Future Connection Point – JDBC/ODBC Data Modifications Application Tool – DML (INSERT, UPDATE, DELETE) Structure Modifications – DDL – Caches and indexes Querying – ANSI-99 SQL Don’t need to rewrite application from scratch! Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. JDBC/ODBC Ignite Cluster ANSI-99 SQL DML DDL

Demo Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

ANY QUESTIONS? Thank you for joining us. Follow the conversation. http://ignite.apache.org #apacheignite Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Apache , Apache Ignite, Ignite , and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States .

Related Documents:

Getting Started with the Cloud . Apache Bigtop Apache Kudu Apache Spark Apache Crunch Apache Lucene Apache Sqoop Apache Druid Apache Mahout Apache Storm Apache Flink Apache NiFi Apache Tez Apache Flume Apache Oozie Apache Tika Apache Hadoop Apache ORC Apache Zeppelin

CDH: Cloudera’s Distribution Including Apache Hadoop Coordination Data Integration Fast Read/Write Access Languages / Compilers Workflow Scheduling Metadata APACHE ZOOKEEPER APACHE FLUME, APACHE SQOOP APACHE HBASE APACHE PIG, APACHE HIVE APACHE OOZIE APACHE OOZIE APACHE HIVE File System Mount UI

GridGain and Apache Ignite GridGain In-Memory Computing Platform In-Memory Data Grid In-Memory Database Streaming Analytics Continuous Learning Framework Segmentation Protection Data Center Replication Monitoring & Management Enterprise Security Rolling Upgrades Point-in-Time Recovery Heterogenous Recovery Full, Incremental, Continuous Backups .

SQL Server supports ANSI SQL, which is the standard SQL (Structured Query Language) language. However, SQL Server comes with its own implementation of the SQL language, T-SQL (Transact- SQL). T-SQL is a Microsoft propriety Language known as Transact-SQL. It provides further capab

MS SQL Server: MS SQL Server 2017, MS SQL Server 2016, MS SQL Server 2014, MS SQL Server 2012, MS SQL Server 2008 R2, 2008, 2008 (64 bit), 2008 Express, MS SQL Server 2005, 2005 (64 bit), 2005 Express, MS SQL Server 2000, 2000 (64 bit), 7.0 and mixed formats. To install the software, follow the steps: 1. Double-click Stellar Repair for MS SQL.exe.

Server 2005 , SQL Server 2008 , SQL Server 2008 R2 , SQL Server 2012 , SQL Server 2014 , SQL Server 2005 Express Edition , SQL Server 2008 Express SQL Server 2008 R2 Express , SQL Server 2012 Express , SQL Server 2014 Express .NET Framework 4.0, .NET Framework 2.0,

APACHE III VS. APACHE II S COR EIN OUT OM PR DIC TON OF OL TR AUM Z D. 103 bidities, and location prior to ICU admission. The range of APACHE III score is from 0 to 299 points6. Goal: the aim of this study was to investigate the ability of APACHE II and APACHE III in predicting mortality rate of multiple trauma patients. Methods

Hardware Design Description Introduction The PCB scope is the result of a challenge I set for myself – to build a practically usable oscilloscope with a minimum amount of components and for minimum cost. The practical benefit is of course that this is an instrument that I hope will be interesting to many teachers, students and hobbyists looking for an affordable, simple tool for their .