SlideShare ist ein Scribd-Unternehmen logo
1 von 56
Downloaden Sie, um offline zu lesen
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen In-Memory Database
for Extreme Performance
Byungho Lee
Principal Sales Consultant
WW ISV/OEM BU
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Agenda
Introduction
TimesTen Classic
TimesTen Application-Tier Database Cache
TimesTen Scaleout
Developing Applications for TimesTen
TimesTen in the Cloud
Licensing
Demonstration
1
2
3
4
5
6
7
8
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Introduction
5
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Concepts
6
What is In-Memory Data Base(IMDB)?
An IMDB also called Main memory Database(MMDB) is a database whose primary data
store is main memory.
In-Memory Data Base(IMDB) vs. Disk Resident DB(DRDB)
DRDB IMDB
Carries File I/O burden No file I/O burden
Extra memory For Cache No extra memory
Algorithm optimized for disk Algorithms optimized for memory
More CPU cycles Less CPU cycles
Assume Memory is abundant Uses memory more efficiently
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
DRDB vs. IMDB
7
SQL Engine
Storage
Manager
Disk Buffers
Disk Files
Disk Resident DB(DRDB)
SQL Engine
In Memory
Storage
Manager
In-Memory DB(IMDB)
Optionally Needed
Durability
No Disk
Oriented
Algorithms
vs.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Best In-Memory Databases: For Both OLTP and Analytics
Application Application Application
Application Application Application
Oracle TimesTen In-Memory Database
• Lightweight, highly-available IMDB
• Primary use case: Extreme OLTP
• Microsecond response time
• Millions of TPS on commodity hardware
Oracle Database In-Memory Option
• Dual-Format In-Memory Database
• Primary use case: Real Time Analytics
• Billions of Rows/Sec scan rate
• Faster mixed-workload enterprise OLTP
➢ Fewer indexes needed to support analytics
In-Memory for OLTP
In-Memory for Analytics
8
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
The Forrester WaveTM
: In-Memory Databases, Q1 2017
9
Oracle In-Memory Databases
Scored Highest by Forrester
on both Current Offering
and Strategy
http://www.oracle.com/us/corporate/analystreports/forrester-imdb-wave-2017-3616348.pdf
The Forrester Wave™ is copyrighted by Forrester Research, Inc. Forrester and Forrester Wave™ are trademarks of Forrester Research, Inc.
The Forrester Wave™ is a graphical representation of Forrester's call on a market and is plotted using a detailed spreadsheet with exposed
scores, weightings, and comments. Forrester does not endorse any vendor, product, or service depicted in the Forrester Wave. Information
is based on best available resources. Opinions reflect judgment at the time and are subject to change.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
20+ Years of Extreme Performance
Oracle TimesTen – Class Leading In-Memory Database
10
• First commercial
In-Memory
RDBMS
• Replication for HA
• Online Upgrades
• Application-tier
Cache
for Oracle
Database
• Parallel log manager
• PL/SQL and OCI Support
• Oracle Clusterware
Integration for replication
management
• Cache Grid for Scale Out
• ODP .NET Support
• BLOB, CLOB, NCLOB data
types
• Parallel Replication
• In-Memory Analytics
• Columnar Compression
• Index Advisor
• Oracle R Support
• In-Memory Star Join
• Oracle Golden Gate
Integration
• Parallel data import
from Oracle Database
• Parallel database
restart
• Highly concurrent
range indexes
• Parallel Replication
with commit order
optimization
• Oracle RAC integration
• National Language
Support
• Oracle Data Types
support
• SQL Developer
Integration
• Enterprise Manager
integration
TimesTen 6
TimesTen 7
Pre-Oracle acquisition TimesTen 11g
11.2.1
TimesTen 11g
11.2.2
TimesTen 11.2.2.x
Enhancements
1996
|
2005
TimesTen 18.1
with Scaleout
• Distributed Fault-
Tolerant In-Memory
Database
• All active data copies
• Transparent distributed
SQL execution
• ACID Transactions
• Global Secondary
Indexes
• And more …
2006
|
2008
2009
|
2011
2012
|
2013
2014
|
2017
2018
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Most Widely Used Relational In-Memory Database
Deployed by thousands of Companies
11
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Multiple Deployment Options
Oracle TimesTen In-Memory Database
TimesTen Classic
1. Standalone / Replicated Relational IMDB
• Low latency applications
• ISV/OEM Embedded solutions
2. Cache for Oracle Database
• Accelerate Oracle Database OLTP applications
• HA option via Replication
Microsecond response time, millions of TPS throughput
TimesTen Scaleout – new in 18.1
3. Distributed Relational IMDB
• High throughout and storage capacity
• Transparent data distribution
• Elastic scalability
• Fault tolerant
Hundreds of millions of TPS throughput
Application
Application
Application
Application
12
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen Classic
13
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Relational Database
– Pure in-memory
– ACID compliant
– Standard SQL
– Entire database in RAM
Persistent and Recoverable
– Database and Transaction logs
persisted on local disk or flash
storage
– Automatic recovery after failure
14
Extremely Fast
– Microseconds response time
– Very high throughput
Highly Available
– Active-Standby and multi-master
replication
– Very high performance parallel
replication
– HA and Disaster Recovery
TimesTen Classic
https://community.oracle.com/thread/4123999
https://ko.wikipedia.org/wiki/ACID
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Low Latency - Microseconds Response Time
Performance – Response Time
Millionths
of a
Second
Millionths
of a
Second
15
TPTBM Read and Update
E5-2699 v4 @ 2.20GHz
2 socket, 22 cores/socket,
2 threads/core
TimesTen 11.2.2.8.0
(100M rows, 17GB data)
1.64
5.06
0.00
1.00
2.00
3.00
4.00
5.00
6.00
SELECT Query UPDATE Transaction
Microseconds
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Performance - Throughput
5.6 Million Transactions Per Second
16
TPTBM Mixed
Workload
(80%R-10%U-5%I-5%D)
E5-2699 v4 @ 2.20GHz
2 socket, 22
cores/socket,
2 threads/core
TimesTen 11.2.2.8.0
(100M rows, 17GB)
5,619,403
0
1,000,000
2,000,000
3,000,000
4,000,000
5,000,000
6,000,000
1 2 4 8 12 16 20 24
TransactionsPerSecond
Concurrent Processes
5.6 Million
Transactions
Per Second
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Real-Time Transactional Replication
17
High Availability and Disaster Recovery
• High performance
– Synchronous / Asynchronous
– Parallel send of log streams
– Parallel apply of changes on Standby
and Subscribers
• HA and DR support
• Online rolling upgrades
– No application downtime
– Cross-version replication
• Integration with Oracle Clusterware
Txn Logs
Checkpoints
Read-Only Subscribers
- Reader Farm
- Disaster Recovery
Application
Transactions
Application Reads on
Hot Standby
Txn Logs
Checkpoints
StandbyActive
Subscriber
Subscriber
Subscriber
Txn Logs
Checkpoints
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• Real-time performance and
availability monitoring
• TimesTen databases and instances
administration
• Automate backups and restore
• Cache and Replication activity
reporting
• SQL and Transaction monitoring
18
Enterprise Manager for TimesTen
System Monitoring Plug-in
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 19
TimesTen Classic Summary
• Respond to real-time events
– Response time measured in microseconds
• Provide consistent level of responsiveness
– Fast and consistent response time with low latency
• Provide continuous, uninterrupted service
– High availability and online upgrades
• Ability to leverage existing applications with minimal changes to application
code and interfaces
– Standard SQL, relational model, standard APIs
• Compatible with Oracle products
– Oracle Enterprise Manager, SQL Developer, Oracle GoldenGate, Oracle Clusterware
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen Application-Tier Database Cache
For Oracle Database Enterprise Edition
20
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 21
TimesTen Application-Tier Database Cache
For Oracle Database
Telco Services
Financial Services
Real-Time Analytics –
Dashboard, Scorecard
Data Mart
eCommerce,
Personalization
• Cache subset of Oracle Database tables in
TimesTen for better response time
– With full persistence to local storage
• Read-write caching
– Transaction execution and persistence in TimesTen
• Read-only caching
– Transactions executed in Oracle Database
• Same architecture as TimesTen Classic
– Supports cache tables and native TimesTen tables
• HA and fault tolerance in the application-tier
Application
ApplicationApplication
https://www.oracle.com/technetwork/database/performance/wp-imdb-cache-130299.pdf
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Flexible Cache Group Configurations
22
• Cache Group describes the Oracle
Database tables to cache
– All or subset of rows and columns
– Defined using SQL
CREATE CACHE GROUP PremierUsers
FROM OE.CUSTOMER (
NAME VARCHAR2(100) NOT NULL,
ADDR VARCHAR2(100)
)
WHERE OE.CUSTOMER.ORDER > 500;
• Cache tables are regular tables in
TimesTen
– Joins/search, insert/update/delete
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 23
• Read-write caching
– Parallel replication of transactions from Active to
Standby
– Parallel write-through of transactions to Oracle
Database
• Read-only caching
– Multi-stream refresh of transactions from Oracle
Database
– Parallel replication of refresh transactions to Standby
• Application continues even if Oracle Database
connection is down
High Availability - MAA
Automatic
Synchronization
Txn Logs
Checkpoints
Application
Transactions
Application Reads
on Hot Standby
StandbyActive
Read-write and Read-only Caching
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 24
TimesTen Cache Summary
• Accelerating existing Oracle Database Applications
• Caching from Oracle Database with automatic change synchronization
• Same architecture and features as TimesTen Classic
• Low, consistent response time
• High availability and online upgrades
• Standard SQL, relational model and standard APIs
Compatible with Oracle Enterprise Manager, SQL Developer, GoldenGate and
Clusterware
• Multiple configuration options – mix and match
– Read-only cache groups
– Write-through cache groups
– Native TimesTen tables http://cfile5.uf.tistory.com/attach/272B023F537C4D313F3344
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen Scaleout – new in 18.1
Distributed, Elastically Scalable, Single Image, Fault Tolerant
25
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 26
TimesTen Scaleout
Single Image In-Memory Database
• For High-Velocity Extreme OLTP applications
– IOT, trading, fraud detection, mobile, click stream, billing,
orders, etc.
• Cutting-Edge Design:
– Pure In-Memory, Full SQL, Full ACID Transactions
• Scale-out shared nothing architecture
• Multiple data copies for HA (K-safety)
– All copies active for read/writes
• Global secondary indexes
– Complex SQL and Parallel SQL for reporting and batch
• Centralized management and administration
Built on proven TimesTen technology
Real-Time OLTP Applications
Fraud Detection Telecom
Financial
Services
https://www.vertica.com/docs/7.0.x/HTML/Content/Authoring/ConceptsGuide/Components/K-Safety.htm
https://en.wikipedia.org/wiki/Shared-nothing_architecture
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Distributed, Shared Nothing, In-Memory Database
• Appears to applications as a single database
- Not as a sharded database
• Scale-out and scale-in
- Data automatically redistributed
- Workload automatically uses new elements
• Built-in HA via multiple fully-active copies
– Copies automatically kept in sync
- Highly compatible with Oracle Database
- Data types, APIs, SQL & PL/SQL
Single-Image Database with High Availability and Elasticity
27
A
A’
B’
B
C
C’
D
D’
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen Scaleout - Database Elements
• Each database consists of elements
• Each element stores a portion of data from
its database
• Each element has its own set of checkpoint
files and transaction log files for
persistence
• The element is the smallest unit for
database persistence, failure recovery and
high availability
Element
<n>
Tx Logs
Checkpoints
Database Element
28
Unit of Persistence and Recovery
Single Image
In-Memory
Database
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• Each element contains:
– Information about all users in the
database
– The schema of the entire database
– Some rows of each table in the
database
29
Element 1
CUSTOMER
ORDERS
PRODUCTS
Element 2
CUSTOMER
ORDERS
PRODUCTS
TimesTen Scaleout - Database Elements
A “logical” look
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• DISTRIBUTE large tables by consistent hash
➢Distribute CUSTOMER rows on all elements by
hash of Customer ID
• COLOCATE child table rows with parent table
row to maximize locality
➢Place ORDERS rows in same element along with
corresponding CUSTOMER row
• DUPLICATE small read-mostly tables on all
elements for maximum locality
➢Duplicate the PRODUCT list on all elements
30
TimesTen Scaleout - Data Distribution
Servers
Element 1 Element N…
CUSTOMER
ORDERS
PRODUCTS
CUSTOMER
ORDERS
PRODUCTS
Distribute
Duplicate
Co-locate Co-locate
Specified at the table level
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• Consistent hash algorithm
• By hashing the distribution key column(s) or
primary key column(s)
• Rows are “randomly” and evenly distributed
across elements
• The default distribution method
• There are ‘K’ copies of each row for HA, where ‘K’ is
the K-safety factor
• Appropriate for most tables
CREATE TABLE CUSTOMER (
ID NUMBER NOT NULL PRIMARY KEY,
NAME VARCHAR2(100)
…
) DISTRIBUTE BY HASH;
31
Distribute by Hash
Element 1 Element N…
CUSTOMER CUSTOMER
Distribute by hash
1, 10, 22
44, 60
2, 11, 24
48, 55
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• “Child” rows are located in the
same elements as “parent”
rows
• Foreign keys define “parents”
and “children”
• Appropriate for tables that:
• Are logically “children” of a
single “parent” table
• Parent and child will often be
referenced together in queries
• Locating related data together
provides best performance
provided access is mainly via
the ‘reference’ FK
32
Distribute by Reference
CREATE TABLE CUSTOMER (
ID NUMBER NOT NULL
PRIMARY KEY,
NAME VARCHAR2(100)
...
) DISTRIBUTE BY HASH;
CREATE TABLE ORDERS (
ID NUMBER NOT NULL
PRIMARY KEY,
CUST_ID NUMBER NOT NULL,
FOREIGN KEY (C)
REFERENCES CUSTOMER(ID),
...
) DISTRIBUTE BY REFERENCE;
Element N…
CUSTOMER
ORDERS
Distribute
Co-locate
Element 1
CUSTOMER
ORDERS
Co-locate
1, 10, 22 44, 60 2, 11, 24 48, 55
ORDERS for
customers
1, 10, 22 44, 60
ORDERS for
customers
2, 11, 24 48, 55
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• Every row is present in every element of the
grid
• Appropriate for tables that are:
• Relatively small
• Frequently read
• Infrequently modified
CREATE TABLE PRODUCTS(
Prod_ID NUMBER
NOT NULL
PRIMARY KEY,
Prod_Name CHAR(12)
) DUPLICATE;
33
Duplicate
Element 1 Element N…
Books,
Food,
Tools,
Toys
PRODUCTS
Duplicate
PRODUCTS
Books,
Food,
Tools,
Toys
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen Scaleout - High Availability
• Built-in HA via multiple copies of
the data (K-safety)
– Automatically kept in sync
• All replicas are active for reads
and writes
– Increases the compute capacity
• Transactions can be initiated from,
and executed on, any replica
• Queries and transactions can span
any/all elements
K-safety, All Active
A’
A
B’
B
C
C’
D
D’
34
Data Space
Group 1
Data Space
Group 2
Replica Set 1
Replica Set 2
Replica Set 3
Replica Set 4
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Database Fault Tolerance – No Application Down Time
Provided one full copy of the database is available
• If multiple elements fail, applications
will continue provided there is one
complete copy of the database
• Elements recover automatically after
failure
• If an entire replica set is down, that
data is unavailable until it recovers
− Application can explicitly choose to
accept partial results
37
B’
A
C
A’
B
C’
D D’
Data Space
Group 1
Data Space
Group 2
Replica Set 1
Replica Set 2
Replica Set 3
Replica Set 4
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen Scaleout - Elastic Scalability
Adding (and removing) database
elements
- Data redistributed to new elements
- Workload automatically uses the new
elements
- Connections will start to use new
elements
- Throughput increases due to increased
compute resources
Expand and shrink the database based on business needs
38
E’E
B’
A
C
A’
B
C’
D D’
Replica Set 1
Replica Set 2
Replica Set 3
Replica Set 4
Replica Set 5
Data Space
Group 1
Data Space
Group 2
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Centralized Installation and Management
• All TimesTen Scaleout management
and admin operations are performed
from a single host
– Installing software
– Patching software
– Configuration
– Database creation and management
– Backup and restore
– Monitoring
– Collecting diagnostics
• Command line interface
• SQL Developer (GUI) interface
39
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
RS1_DSG1 RS1_DSG2
2PC
RS2_DSG1 RS2_DSG2
RS3_DSG1 RS3_DSG2
RS4_DSG1 RS4_DSG2
MGMT1
MGMT2
Internal Network
External Network
2PC
2PC
2PC
…ZooKeeper
Membership Management
SSH & SCP
MOUNT / SCP
SSH
Management instances
Data instancesRepository Storage Hosts
REPO1
TimesTen Scaleout
Architecture Overview
40
SQL
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• End-to-end response time ~200 milliseconds via C/S
connection mode
• New LBS (location based service) module with 2000
concurrent connections in peak time
• Easy, automatic high-availability
• No application code changes moving from TimesTen 11.2.2 to
TimesTen Scaleout
• Scalability for future growth
Why TimesTen Scaleout ?
China Mobile Marketing Promotion System
•Industry : Telecom
•Business : Business & Operation Support System
•Application : Marketing Promotion System
⁻ Promote China Mobile products to various channels including
website, APPS, SMS, WeChat, etc.
⁻ 30 million target subscribers
⁻ 15 million successful promotions per day
• Highly concurrent mobile locations based query
⁻ For every subscriber in the mobile carrier network
• High transaction throughput with consistent low latency
⁻ Read mostly application with small amount of DML and DDL
• Scalability to achieve higher throughput
Application Overview
Challenges
Solution
•TimesTen Scaleout with K=2 for High Availability
Chongqing Mobile Subsidiary
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen Scaleout Summary
• Extreme performance
• Single database image, data location transparency
• Full SQL, ACID transactions
• Automatic high availability via K-safety
• Elastic scale-out and scale-in
• Easy to deploy and manage
• Easy application development
• On-premises or Cloud deployment
42
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Developing Applications for TimesTen
43
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 44
TimesTen Integration with SQL Developer
Database Application Development
• Develop TimesTen database applications
– Tables, PL/SQL procedures/functions, Cache Groups, etc.
• Run TimesTen built-in procedures and utilities
• Run adhoc queries with SQL worksheet
• Copy and load data in parallel
• Tune table indexes with TimesTen Index Advisor
https://docs.oracle.com/cd/E55747_01/doc.41/e39882/ixadvisor.htm#TTSDV316
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• Standard relational schema
• Compatible with Oracle Database
• Database objects:
– Users, tables, views, indexes,
sequences, …
• Standard data types
– NUMBER, VARCHAR2, TIMESTAMP, …
• SQL Developer makes it easy to
create and view schema
45
Defining your Data Model
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• Standard SQL
– Compatible with Oracle Database
• INSERT, DELETE, UPDATE, SELECT,
MERGE, …
• PL/SQL procedural language
• Standard transactions
– Commit and Rollback
– Full ACID transactions
46
Manipulating data
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Application Development
SQL
PL/SQL
Languages
C/C++/C#
ODBC
ttClasses
OCI, Pro*C
ODP.NET
J2EE App Servers OR MappingJava/JDBC
• Industry standard and Oracle
compatible SQL, PL/SQL and APIs
• Flexible application development
• Nearly any programming language
• Nearly any environment REST APIs
Coming soon:
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Application Development Summary
• SQL and PL/SQL
• Wide range of standard APIs to suit most languages and environments
• Official APIs and open source options
• Wide support for App Servers and OR frameworks
• Extensive integration with SQL Developer
• Developers can leverage existing RDBMS / Oracle skills
52
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen in the Cloud
Current and Future
53
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• TimesTen 11.2.2.8.27+
• Bring Your Own License
• Scripts to provision TimesTen on Oracle Cloud Infrastructure(OCI)
• Oracle Linux 7.4, networking, storage, install and configure TimesTen
• Optionally create an Active/Standby replication configuration for High Availability
• Unmanaged
• Use SSH (command line) or SQL Developer to monitor/manage TimesTen yourself
54
TimesTen in the Cloud Today
Application
read/writes
Application Reads
from Standby
StandbyActive
+ +
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
• TimesTen Database requires :
• Linux x8664 (glibc 2.12+)
• Oracle Linux / Red Hat / CentOS 6.4+, 7+
• Ubuntu 14.04+
• SUSE 12+
• TCP/IP or IPoIB
• A file system
• Enough RAM for the DB
55
TimesTen in Private Clouds
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 56
TimesTen in the Cloud - Future Plans
AD1
AD2 AD3
Autopilot with
manual override
• Cloud service based on TimesTen Scaleout
• Fully Managed
• Provisioning
• Elastic Scaling
• Backup/restore
• DB Patching and upgrades
• Data import/export
• Manage via Cloud MyServices, DB Console or SQL Developer
• High availability within or across Availability Domains
• All compute shapes which support NVMe storage
• Up to 64 elements for first release
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Cloud Summary
• Private or Public Cloud deployment
• Flexible options for Private Cloud
• Focus on Oracle Cloud
– BYOL today
– Fully managed service under development
57
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Licensing
58
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
TimesTen Licensing
• TimesTen is licensed in two ways
– Oracle TimesTen In-Memory Database
• Separate Product
• Includes both TimesTen Classic and TimesTen Scaleout deployment modes
• Does not include Cache functionality
– TimesTen Application Tier Database Cache
• Oracle Database Enterprise Edition option (needs an associated DB EE license)
• In-Memory Cache for Oracle Database, with HA and DR
• Includes Classic mode and Cache functionality only, not Scaleout
59
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Want to learn more?
• TimesTen OTN Portal
(http://www.oracle.com/technetwork/database/database-
technologies/timesten/overview/index.html)
– Product Information
• Presentations, use cases, whitepapers, FAQs, …
– Software Downloads
– Product Documentation
– Scaleout Demo / Learning VM download
• TimesTen GitHub Quickstart and Samples
(https://github.com/oracle/oracle-timesten-samples)
60
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Demonstration
61
TimesTen Scaleout
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
&
62
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 63

Weitere ähnliche Inhalte

Was ist angesagt?

Ten Real-World Customer Configurations on Oracle Database Appliance
Ten Real-World Customer Configurations on Oracle Database Appliance Ten Real-World Customer Configurations on Oracle Database Appliance
Ten Real-World Customer Configurations on Oracle Database Appliance Simon Haslam
 
Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Kurt Liu
 
MySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQLMySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQLMiguel Araújo
 
How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...
How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...
How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...Capgemini
 
CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1David van Schalkwyk
 
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...Charlie Berger
 
Oracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suiteOracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suiteOTN Systems Hub
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission CriticalMarkus Michalewicz
 
Oracle ExaLogic Overview
Oracle ExaLogic OverviewOracle ExaLogic Overview
Oracle ExaLogic OverviewPeter Doolan
 
Postgres Takes Charge Around the World
Postgres Takes Charge Around the WorldPostgres Takes Charge Around the World
Postgres Takes Charge Around the WorldEDB
 
Systems oracle overview_hardware
Systems oracle overview_hardwareSystems oracle overview_hardware
Systems oracle overview_hardwareFran Navarro
 
Using MySQL in the Cloud
Using MySQL in the CloudUsing MySQL in the Cloud
Using MySQL in the CloudMatt Lord
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014Sanjay Manwani
 
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3OTN Systems Hub
 
Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3
Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3
Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3Holger Mueller
 
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?Miguel Araújo
 
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database ServicePostgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database ServiceEDB
 
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to PostgresEDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to PostgresEDB
 

Was ist angesagt? (20)

Ten Real-World Customer Configurations on Oracle Database Appliance
Ten Real-World Customer Configurations on Oracle Database Appliance Ten Real-World Customer Configurations on Oracle Database Appliance
Ten Real-World Customer Configurations on Oracle Database Appliance
 
Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1
 
Developer day v2
Developer day v2Developer day v2
Developer day v2
 
MySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQLMySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQL
 
How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...
How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...
How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...
 
CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1
 
Database as a Service - Tutorial @ICDE 2010
Database as a Service - Tutorial @ICDE 2010Database as a Service - Tutorial @ICDE 2010
Database as a Service - Tutorial @ICDE 2010
 
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
 
Oracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suiteOracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suite
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission Critical
 
Oracle ExaLogic Overview
Oracle ExaLogic OverviewOracle ExaLogic Overview
Oracle ExaLogic Overview
 
Postgres Takes Charge Around the World
Postgres Takes Charge Around the WorldPostgres Takes Charge Around the World
Postgres Takes Charge Around the World
 
Systems oracle overview_hardware
Systems oracle overview_hardwareSystems oracle overview_hardware
Systems oracle overview_hardware
 
Using MySQL in the Cloud
Using MySQL in the CloudUsing MySQL in the Cloud
Using MySQL in the Cloud
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014
 
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
 
Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3
Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3
Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3
 
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
 
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database ServicePostgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
 
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to PostgresEDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to Postgres
 

Ähnlich wie times ten in-memory database for extreme performance

Times ten 18.1_overview_meetup
Times ten 18.1_overview_meetupTimes ten 18.1_overview_meetup
Times ten 18.1_overview_meetupByung Ho Lee
 
NVMe and Flash – Make Your Storage Great Again!
NVMe and Flash – Make Your Storage Great Again!NVMe and Flash – Make Your Storage Great Again!
NVMe and Flash – Make Your Storage Great Again!DataCore Software
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Fran Navarro
 
Performance tuning intro
Performance tuning introPerformance tuning intro
Performance tuning introaioughydchapter
 
Larry Ellison Introduces Oracle Database In-Memory
Larry Ellison Introduces Oracle Database In-MemoryLarry Ellison Introduces Oracle Database In-Memory
Larry Ellison Introduces Oracle Database In-MemoryOracleCorporate
 
Tendencias Storage
Tendencias StorageTendencias Storage
Tendencias StorageFran Navarro
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningBobby Curtis
 
Open Sourcing GemFire - Apache Geode
Open Sourcing GemFire - Apache GeodeOpen Sourcing GemFire - Apache Geode
Open Sourcing GemFire - Apache GeodeApache Geode
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...avanttic Consultoría Tecnológica
 
A5 oracle exadata-the game changer for online transaction processing data w...
A5   oracle exadata-the game changer for online transaction processing data w...A5   oracle exadata-the game changer for online transaction processing data w...
A5 oracle exadata-the game changer for online transaction processing data w...Dr. Wilfred Lin (Ph.D.)
 
Oracle Database in-Memory Overivew
Oracle Database in-Memory OverivewOracle Database in-Memory Overivew
Oracle Database in-Memory OverivewMaria Colgan
 
Oracle Data Protection - 1. část
Oracle Data Protection - 1. částOracle Data Protection - 1. část
Oracle Data Protection - 1. částMarketingArrowECS_CZ
 
What_to_expect_from_oracle_database_12c
What_to_expect_from_oracle_database_12cWhat_to_expect_from_oracle_database_12c
What_to_expect_from_oracle_database_12cMaria Colgan
 
Oracle databáze – Konsolidovaná Data Management Platforma
Oracle databáze – Konsolidovaná Data Management PlatformaOracle databáze – Konsolidovaná Data Management Platforma
Oracle databáze – Konsolidovaná Data Management PlatformaMarketingArrowECS_CZ
 
Exadata z pohledu zákazníka a novinky generace X8M - 1. část
Exadata z pohledu zákazníka a novinky generace X8M - 1. částExadata z pohledu zákazníka a novinky generace X8M - 1. část
Exadata z pohledu zákazníka a novinky generace X8M - 1. částMarketingArrowECS_CZ
 

Ähnlich wie times ten in-memory database for extreme performance (20)

Times ten 18.1_overview_meetup
Times ten 18.1_overview_meetupTimes ten 18.1_overview_meetup
Times ten 18.1_overview_meetup
 
NVMe and Flash – Make Your Storage Great Again!
NVMe and Flash – Make Your Storage Great Again!NVMe and Flash – Make Your Storage Great Again!
NVMe and Flash – Make Your Storage Great Again!
 
Performance Tuning intro
Performance Tuning introPerformance Tuning intro
Performance Tuning intro
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster
 
Performance tuning intro
Performance tuning introPerformance tuning intro
Performance tuning intro
 
Larry Ellison Introduces Oracle Database In-Memory
Larry Ellison Introduces Oracle Database In-MemoryLarry Ellison Introduces Oracle Database In-Memory
Larry Ellison Introduces Oracle Database In-Memory
 
Tendencias Storage
Tendencias StorageTendencias Storage
Tendencias Storage
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
 
Open Sourcing GemFire - Apache Geode
Open Sourcing GemFire - Apache GeodeOpen Sourcing GemFire - Apache Geode
Open Sourcing GemFire - Apache Geode
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
 
A5 oracle exadata-the game changer for online transaction processing data w...
A5   oracle exadata-the game changer for online transaction processing data w...A5   oracle exadata-the game changer for online transaction processing data w...
A5 oracle exadata-the game changer for online transaction processing data w...
 
Oracle Database in-Memory Overivew
Oracle Database in-Memory OverivewOracle Database in-Memory Overivew
Oracle Database in-Memory Overivew
 
Novinky v Oracle Database 18c
Novinky v Oracle Database 18cNovinky v Oracle Database 18c
Novinky v Oracle Database 18c
 
OCI Overview
OCI OverviewOCI Overview
OCI Overview
 
Oracle Data Protection - 1. část
Oracle Data Protection - 1. částOracle Data Protection - 1. část
Oracle Data Protection - 1. část
 
What_to_expect_from_oracle_database_12c
What_to_expect_from_oracle_database_12cWhat_to_expect_from_oracle_database_12c
What_to_expect_from_oracle_database_12c
 
Oracle databáze – Konsolidovaná Data Management Platforma
Oracle databáze – Konsolidovaná Data Management PlatformaOracle databáze – Konsolidovaná Data Management Platforma
Oracle databáze – Konsolidovaná Data Management Platforma
 
Exadata
ExadataExadata
Exadata
 
Stream based Data Integration
Stream based Data IntegrationStream based Data Integration
Stream based Data Integration
 
Exadata z pohledu zákazníka a novinky generace X8M - 1. část
Exadata z pohledu zákazníka a novinky generace X8M - 1. částExadata z pohledu zákazníka a novinky generace X8M - 1. část
Exadata z pohledu zákazníka a novinky generace X8M - 1. část
 

Mehr von Oracle Korea

Oracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo YooOracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo YooOracle Korea
 
Oracle Blockchain_JaeHo Park_CTO
Oracle Blockchain_JaeHo Park_CTOOracle Blockchain_JaeHo Park_CTO
Oracle Blockchain_JaeHo Park_CTOOracle Korea
 
Oracle cloud data interface
Oracle cloud data interfaceOracle cloud data interface
Oracle cloud data interfaceOracle Korea
 
On premise db &amp; cloud database
On premise db &amp; cloud databaseOn premise db &amp; cloud database
On premise db &amp; cloud databaseOracle Korea
 
Spring boot microservice metrics monitoring
Spring boot   microservice metrics monitoringSpring boot   microservice metrics monitoring
Spring boot microservice metrics monitoringOracle Korea
 
Opentracing jaeger
Opentracing jaegerOpentracing jaeger
Opentracing jaegerOracle Korea
 
Which Questions We Should Have
Which Questions We Should HaveWhich Questions We Should Have
Which Questions We Should HaveOracle Korea
 
Enterprise Postgres
Enterprise PostgresEnterprise Postgres
Enterprise PostgresOracle Korea
 
MySQL Document Store를 활용한 NoSQL 개발
MySQL Document Store를 활용한 NoSQL 개발MySQL Document Store를 활용한 NoSQL 개발
MySQL Document Store를 활용한 NoSQL 개발Oracle Korea
 
API Design Principles Essential 
API Design Principles Essential API Design Principles Essential 
API Design Principles Essential Oracle Korea
 
SpringBoot and Spring Cloud Service for MSA
SpringBoot and Spring Cloud Service for MSASpringBoot and Spring Cloud Service for MSA
SpringBoot and Spring Cloud Service for MSAOracle Korea
 
CI/CD 기반의 Microservice 개발
 CI/CD 기반의 Microservice 개발 CI/CD 기반의 Microservice 개발
CI/CD 기반의 Microservice 개발Oracle Korea
 
kubernetes from beginner to advanced
kubernetes  from beginner to advancedkubernetes  from beginner to advanced
kubernetes from beginner to advancedOracle Korea
 
Cloud Native 자바 플랫폼: Graalvm Overview
Cloud Native 자바 플랫폼: Graalvm OverviewCloud Native 자바 플랫폼: Graalvm Overview
Cloud Native 자바 플랫폼: Graalvm OverviewOracle Korea
 
[Main Session] 카프카, 데이터 플랫폼의 최강자
[Main Session] 카프카, 데이터 플랫폼의 최강자[Main Session] 카프카, 데이터 플랫폼의 최강자
[Main Session] 카프카, 데이터 플랫폼의 최강자Oracle Korea
 
[Demo session] 관리형 Kafka 서비스 - Oracle Event Hub Service
[Demo session] 관리형 Kafka 서비스 - Oracle Event Hub Service[Demo session] 관리형 Kafka 서비스 - Oracle Event Hub Service
[Demo session] 관리형 Kafka 서비스 - Oracle Event Hub ServiceOracle Korea
 
[Hands-on] CQRS(Command Query Responsibility Segregation) 와 Event Sourcing 패턴 실습
[Hands-on] CQRS(Command Query Responsibility Segregation) 와 Event Sourcing 패턴 실습[Hands-on] CQRS(Command Query Responsibility Segregation) 와 Event Sourcing 패턴 실습
[Hands-on] CQRS(Command Query Responsibility Segregation) 와 Event Sourcing 패턴 실습Oracle Korea
 
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개 [Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개 Oracle Korea
 

Mehr von Oracle Korea (20)

Oracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo YooOracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo Yoo
 
Oracle Blockchain_JaeHo Park_CTO
Oracle Blockchain_JaeHo Park_CTOOracle Blockchain_JaeHo Park_CTO
Oracle Blockchain_JaeHo Park_CTO
 
Oracle cloud data interface
Oracle cloud data interfaceOracle cloud data interface
Oracle cloud data interface
 
On premise db &amp; cloud database
On premise db &amp; cloud databaseOn premise db &amp; cloud database
On premise db &amp; cloud database
 
Spring boot microservice metrics monitoring
Spring boot   microservice metrics monitoringSpring boot   microservice metrics monitoring
Spring boot microservice metrics monitoring
 
Opentracing jaeger
Opentracing jaegerOpentracing jaeger
Opentracing jaeger
 
Which Questions We Should Have
Which Questions We Should HaveWhich Questions We Should Have
Which Questions We Should Have
 
Oracle NoSQL
Oracle NoSQLOracle NoSQL
Oracle NoSQL
 
Enterprise Postgres
Enterprise PostgresEnterprise Postgres
Enterprise Postgres
 
MySQL Document Store를 활용한 NoSQL 개발
MySQL Document Store를 활용한 NoSQL 개발MySQL Document Store를 활용한 NoSQL 개발
MySQL Document Store를 활용한 NoSQL 개발
 
API Design Principles Essential 
API Design Principles Essential API Design Principles Essential 
API Design Principles Essential 
 
SpringBoot and Spring Cloud Service for MSA
SpringBoot and Spring Cloud Service for MSASpringBoot and Spring Cloud Service for MSA
SpringBoot and Spring Cloud Service for MSA
 
CI/CD 기반의 Microservice 개발
 CI/CD 기반의 Microservice 개발 CI/CD 기반의 Microservice 개발
CI/CD 기반의 Microservice 개발
 
kubernetes from beginner to advanced
kubernetes  from beginner to advancedkubernetes  from beginner to advanced
kubernetes from beginner to advanced
 
OpenJDK & Graalvm
OpenJDK & GraalvmOpenJDK & Graalvm
OpenJDK & Graalvm
 
Cloud Native 자바 플랫폼: Graalvm Overview
Cloud Native 자바 플랫폼: Graalvm OverviewCloud Native 자바 플랫폼: Graalvm Overview
Cloud Native 자바 플랫폼: Graalvm Overview
 
[Main Session] 카프카, 데이터 플랫폼의 최강자
[Main Session] 카프카, 데이터 플랫폼의 최강자[Main Session] 카프카, 데이터 플랫폼의 최강자
[Main Session] 카프카, 데이터 플랫폼의 최강자
 
[Demo session] 관리형 Kafka 서비스 - Oracle Event Hub Service
[Demo session] 관리형 Kafka 서비스 - Oracle Event Hub Service[Demo session] 관리형 Kafka 서비스 - Oracle Event Hub Service
[Demo session] 관리형 Kafka 서비스 - Oracle Event Hub Service
 
[Hands-on] CQRS(Command Query Responsibility Segregation) 와 Event Sourcing 패턴 실습
[Hands-on] CQRS(Command Query Responsibility Segregation) 와 Event Sourcing 패턴 실습[Hands-on] CQRS(Command Query Responsibility Segregation) 와 Event Sourcing 패턴 실습
[Hands-on] CQRS(Command Query Responsibility Segregation) 와 Event Sourcing 패턴 실습
 
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개 [Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
 

Kürzlich hochgeladen

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Kürzlich hochgeladen (20)

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

times ten in-memory database for extreme performance

  • 1.
  • 2. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen In-Memory Database for Extreme Performance Byungho Lee Principal Sales Consultant WW ISV/OEM BU
  • 3. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Agenda Introduction TimesTen Classic TimesTen Application-Tier Database Cache TimesTen Scaleout Developing Applications for TimesTen TimesTen in the Cloud Licensing Demonstration 1 2 3 4 5 6 7 8
  • 4. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Introduction 5
  • 5. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Concepts 6 What is In-Memory Data Base(IMDB)? An IMDB also called Main memory Database(MMDB) is a database whose primary data store is main memory. In-Memory Data Base(IMDB) vs. Disk Resident DB(DRDB) DRDB IMDB Carries File I/O burden No file I/O burden Extra memory For Cache No extra memory Algorithm optimized for disk Algorithms optimized for memory More CPU cycles Less CPU cycles Assume Memory is abundant Uses memory more efficiently
  • 6. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | DRDB vs. IMDB 7 SQL Engine Storage Manager Disk Buffers Disk Files Disk Resident DB(DRDB) SQL Engine In Memory Storage Manager In-Memory DB(IMDB) Optionally Needed Durability No Disk Oriented Algorithms vs.
  • 7. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Best In-Memory Databases: For Both OLTP and Analytics Application Application Application Application Application Application Oracle TimesTen In-Memory Database • Lightweight, highly-available IMDB • Primary use case: Extreme OLTP • Microsecond response time • Millions of TPS on commodity hardware Oracle Database In-Memory Option • Dual-Format In-Memory Database • Primary use case: Real Time Analytics • Billions of Rows/Sec scan rate • Faster mixed-workload enterprise OLTP ➢ Fewer indexes needed to support analytics In-Memory for OLTP In-Memory for Analytics 8
  • 8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | The Forrester WaveTM : In-Memory Databases, Q1 2017 9 Oracle In-Memory Databases Scored Highest by Forrester on both Current Offering and Strategy http://www.oracle.com/us/corporate/analystreports/forrester-imdb-wave-2017-3616348.pdf The Forrester Wave™ is copyrighted by Forrester Research, Inc. Forrester and Forrester Wave™ are trademarks of Forrester Research, Inc. The Forrester Wave™ is a graphical representation of Forrester's call on a market and is plotted using a detailed spreadsheet with exposed scores, weightings, and comments. Forrester does not endorse any vendor, product, or service depicted in the Forrester Wave. Information is based on best available resources. Opinions reflect judgment at the time and are subject to change.
  • 9. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 20+ Years of Extreme Performance Oracle TimesTen – Class Leading In-Memory Database 10 • First commercial In-Memory RDBMS • Replication for HA • Online Upgrades • Application-tier Cache for Oracle Database • Parallel log manager • PL/SQL and OCI Support • Oracle Clusterware Integration for replication management • Cache Grid for Scale Out • ODP .NET Support • BLOB, CLOB, NCLOB data types • Parallel Replication • In-Memory Analytics • Columnar Compression • Index Advisor • Oracle R Support • In-Memory Star Join • Oracle Golden Gate Integration • Parallel data import from Oracle Database • Parallel database restart • Highly concurrent range indexes • Parallel Replication with commit order optimization • Oracle RAC integration • National Language Support • Oracle Data Types support • SQL Developer Integration • Enterprise Manager integration TimesTen 6 TimesTen 7 Pre-Oracle acquisition TimesTen 11g 11.2.1 TimesTen 11g 11.2.2 TimesTen 11.2.2.x Enhancements 1996 | 2005 TimesTen 18.1 with Scaleout • Distributed Fault- Tolerant In-Memory Database • All active data copies • Transparent distributed SQL execution • ACID Transactions • Global Secondary Indexes • And more … 2006 | 2008 2009 | 2011 2012 | 2013 2014 | 2017 2018
  • 10. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Most Widely Used Relational In-Memory Database Deployed by thousands of Companies 11
  • 11. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Multiple Deployment Options Oracle TimesTen In-Memory Database TimesTen Classic 1. Standalone / Replicated Relational IMDB • Low latency applications • ISV/OEM Embedded solutions 2. Cache for Oracle Database • Accelerate Oracle Database OLTP applications • HA option via Replication Microsecond response time, millions of TPS throughput TimesTen Scaleout – new in 18.1 3. Distributed Relational IMDB • High throughout and storage capacity • Transparent data distribution • Elastic scalability • Fault tolerant Hundreds of millions of TPS throughput Application Application Application Application 12
  • 12. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen Classic 13
  • 13. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Relational Database – Pure in-memory – ACID compliant – Standard SQL – Entire database in RAM Persistent and Recoverable – Database and Transaction logs persisted on local disk or flash storage – Automatic recovery after failure 14 Extremely Fast – Microseconds response time – Very high throughput Highly Available – Active-Standby and multi-master replication – Very high performance parallel replication – HA and Disaster Recovery TimesTen Classic https://community.oracle.com/thread/4123999 https://ko.wikipedia.org/wiki/ACID
  • 14. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Low Latency - Microseconds Response Time Performance – Response Time Millionths of a Second Millionths of a Second 15 TPTBM Read and Update E5-2699 v4 @ 2.20GHz 2 socket, 22 cores/socket, 2 threads/core TimesTen 11.2.2.8.0 (100M rows, 17GB data) 1.64 5.06 0.00 1.00 2.00 3.00 4.00 5.00 6.00 SELECT Query UPDATE Transaction Microseconds
  • 15. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Performance - Throughput 5.6 Million Transactions Per Second 16 TPTBM Mixed Workload (80%R-10%U-5%I-5%D) E5-2699 v4 @ 2.20GHz 2 socket, 22 cores/socket, 2 threads/core TimesTen 11.2.2.8.0 (100M rows, 17GB) 5,619,403 0 1,000,000 2,000,000 3,000,000 4,000,000 5,000,000 6,000,000 1 2 4 8 12 16 20 24 TransactionsPerSecond Concurrent Processes 5.6 Million Transactions Per Second
  • 16. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Real-Time Transactional Replication 17 High Availability and Disaster Recovery • High performance – Synchronous / Asynchronous – Parallel send of log streams – Parallel apply of changes on Standby and Subscribers • HA and DR support • Online rolling upgrades – No application downtime – Cross-version replication • Integration with Oracle Clusterware Txn Logs Checkpoints Read-Only Subscribers - Reader Farm - Disaster Recovery Application Transactions Application Reads on Hot Standby Txn Logs Checkpoints StandbyActive Subscriber Subscriber Subscriber Txn Logs Checkpoints
  • 17. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • Real-time performance and availability monitoring • TimesTen databases and instances administration • Automate backups and restore • Cache and Replication activity reporting • SQL and Transaction monitoring 18 Enterprise Manager for TimesTen System Monitoring Plug-in
  • 18. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 19 TimesTen Classic Summary • Respond to real-time events – Response time measured in microseconds • Provide consistent level of responsiveness – Fast and consistent response time with low latency • Provide continuous, uninterrupted service – High availability and online upgrades • Ability to leverage existing applications with minimal changes to application code and interfaces – Standard SQL, relational model, standard APIs • Compatible with Oracle products – Oracle Enterprise Manager, SQL Developer, Oracle GoldenGate, Oracle Clusterware
  • 19. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen Application-Tier Database Cache For Oracle Database Enterprise Edition 20
  • 20. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 21 TimesTen Application-Tier Database Cache For Oracle Database Telco Services Financial Services Real-Time Analytics – Dashboard, Scorecard Data Mart eCommerce, Personalization • Cache subset of Oracle Database tables in TimesTen for better response time – With full persistence to local storage • Read-write caching – Transaction execution and persistence in TimesTen • Read-only caching – Transactions executed in Oracle Database • Same architecture as TimesTen Classic – Supports cache tables and native TimesTen tables • HA and fault tolerance in the application-tier Application ApplicationApplication https://www.oracle.com/technetwork/database/performance/wp-imdb-cache-130299.pdf
  • 21. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Flexible Cache Group Configurations 22 • Cache Group describes the Oracle Database tables to cache – All or subset of rows and columns – Defined using SQL CREATE CACHE GROUP PremierUsers FROM OE.CUSTOMER ( NAME VARCHAR2(100) NOT NULL, ADDR VARCHAR2(100) ) WHERE OE.CUSTOMER.ORDER > 500; • Cache tables are regular tables in TimesTen – Joins/search, insert/update/delete
  • 22. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 23 • Read-write caching – Parallel replication of transactions from Active to Standby – Parallel write-through of transactions to Oracle Database • Read-only caching – Multi-stream refresh of transactions from Oracle Database – Parallel replication of refresh transactions to Standby • Application continues even if Oracle Database connection is down High Availability - MAA Automatic Synchronization Txn Logs Checkpoints Application Transactions Application Reads on Hot Standby StandbyActive Read-write and Read-only Caching
  • 23. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 24 TimesTen Cache Summary • Accelerating existing Oracle Database Applications • Caching from Oracle Database with automatic change synchronization • Same architecture and features as TimesTen Classic • Low, consistent response time • High availability and online upgrades • Standard SQL, relational model and standard APIs Compatible with Oracle Enterprise Manager, SQL Developer, GoldenGate and Clusterware • Multiple configuration options – mix and match – Read-only cache groups – Write-through cache groups – Native TimesTen tables http://cfile5.uf.tistory.com/attach/272B023F537C4D313F3344
  • 24. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen Scaleout – new in 18.1 Distributed, Elastically Scalable, Single Image, Fault Tolerant 25
  • 25. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 26 TimesTen Scaleout Single Image In-Memory Database • For High-Velocity Extreme OLTP applications – IOT, trading, fraud detection, mobile, click stream, billing, orders, etc. • Cutting-Edge Design: – Pure In-Memory, Full SQL, Full ACID Transactions • Scale-out shared nothing architecture • Multiple data copies for HA (K-safety) – All copies active for read/writes • Global secondary indexes – Complex SQL and Parallel SQL for reporting and batch • Centralized management and administration Built on proven TimesTen technology Real-Time OLTP Applications Fraud Detection Telecom Financial Services https://www.vertica.com/docs/7.0.x/HTML/Content/Authoring/ConceptsGuide/Components/K-Safety.htm https://en.wikipedia.org/wiki/Shared-nothing_architecture
  • 26. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Distributed, Shared Nothing, In-Memory Database • Appears to applications as a single database - Not as a sharded database • Scale-out and scale-in - Data automatically redistributed - Workload automatically uses new elements • Built-in HA via multiple fully-active copies – Copies automatically kept in sync - Highly compatible with Oracle Database - Data types, APIs, SQL & PL/SQL Single-Image Database with High Availability and Elasticity 27 A A’ B’ B C C’ D D’
  • 27. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen Scaleout - Database Elements • Each database consists of elements • Each element stores a portion of data from its database • Each element has its own set of checkpoint files and transaction log files for persistence • The element is the smallest unit for database persistence, failure recovery and high availability Element <n> Tx Logs Checkpoints Database Element 28 Unit of Persistence and Recovery Single Image In-Memory Database
  • 28. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • Each element contains: – Information about all users in the database – The schema of the entire database – Some rows of each table in the database 29 Element 1 CUSTOMER ORDERS PRODUCTS Element 2 CUSTOMER ORDERS PRODUCTS TimesTen Scaleout - Database Elements A “logical” look
  • 29. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • DISTRIBUTE large tables by consistent hash ➢Distribute CUSTOMER rows on all elements by hash of Customer ID • COLOCATE child table rows with parent table row to maximize locality ➢Place ORDERS rows in same element along with corresponding CUSTOMER row • DUPLICATE small read-mostly tables on all elements for maximum locality ➢Duplicate the PRODUCT list on all elements 30 TimesTen Scaleout - Data Distribution Servers Element 1 Element N… CUSTOMER ORDERS PRODUCTS CUSTOMER ORDERS PRODUCTS Distribute Duplicate Co-locate Co-locate Specified at the table level
  • 30. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • Consistent hash algorithm • By hashing the distribution key column(s) or primary key column(s) • Rows are “randomly” and evenly distributed across elements • The default distribution method • There are ‘K’ copies of each row for HA, where ‘K’ is the K-safety factor • Appropriate for most tables CREATE TABLE CUSTOMER ( ID NUMBER NOT NULL PRIMARY KEY, NAME VARCHAR2(100) … ) DISTRIBUTE BY HASH; 31 Distribute by Hash Element 1 Element N… CUSTOMER CUSTOMER Distribute by hash 1, 10, 22 44, 60 2, 11, 24 48, 55
  • 31. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • “Child” rows are located in the same elements as “parent” rows • Foreign keys define “parents” and “children” • Appropriate for tables that: • Are logically “children” of a single “parent” table • Parent and child will often be referenced together in queries • Locating related data together provides best performance provided access is mainly via the ‘reference’ FK 32 Distribute by Reference CREATE TABLE CUSTOMER ( ID NUMBER NOT NULL PRIMARY KEY, NAME VARCHAR2(100) ... ) DISTRIBUTE BY HASH; CREATE TABLE ORDERS ( ID NUMBER NOT NULL PRIMARY KEY, CUST_ID NUMBER NOT NULL, FOREIGN KEY (C) REFERENCES CUSTOMER(ID), ... ) DISTRIBUTE BY REFERENCE; Element N… CUSTOMER ORDERS Distribute Co-locate Element 1 CUSTOMER ORDERS Co-locate 1, 10, 22 44, 60 2, 11, 24 48, 55 ORDERS for customers 1, 10, 22 44, 60 ORDERS for customers 2, 11, 24 48, 55
  • 32. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • Every row is present in every element of the grid • Appropriate for tables that are: • Relatively small • Frequently read • Infrequently modified CREATE TABLE PRODUCTS( Prod_ID NUMBER NOT NULL PRIMARY KEY, Prod_Name CHAR(12) ) DUPLICATE; 33 Duplicate Element 1 Element N… Books, Food, Tools, Toys PRODUCTS Duplicate PRODUCTS Books, Food, Tools, Toys
  • 33. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen Scaleout - High Availability • Built-in HA via multiple copies of the data (K-safety) – Automatically kept in sync • All replicas are active for reads and writes – Increases the compute capacity • Transactions can be initiated from, and executed on, any replica • Queries and transactions can span any/all elements K-safety, All Active A’ A B’ B C C’ D D’ 34 Data Space Group 1 Data Space Group 2 Replica Set 1 Replica Set 2 Replica Set 3 Replica Set 4
  • 34. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Database Fault Tolerance – No Application Down Time Provided one full copy of the database is available • If multiple elements fail, applications will continue provided there is one complete copy of the database • Elements recover automatically after failure • If an entire replica set is down, that data is unavailable until it recovers − Application can explicitly choose to accept partial results 37 B’ A C A’ B C’ D D’ Data Space Group 1 Data Space Group 2 Replica Set 1 Replica Set 2 Replica Set 3 Replica Set 4
  • 35. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen Scaleout - Elastic Scalability Adding (and removing) database elements - Data redistributed to new elements - Workload automatically uses the new elements - Connections will start to use new elements - Throughput increases due to increased compute resources Expand and shrink the database based on business needs 38 E’E B’ A C A’ B C’ D D’ Replica Set 1 Replica Set 2 Replica Set 3 Replica Set 4 Replica Set 5 Data Space Group 1 Data Space Group 2
  • 36. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Centralized Installation and Management • All TimesTen Scaleout management and admin operations are performed from a single host – Installing software – Patching software – Configuration – Database creation and management – Backup and restore – Monitoring – Collecting diagnostics • Command line interface • SQL Developer (GUI) interface 39
  • 37. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | RS1_DSG1 RS1_DSG2 2PC RS2_DSG1 RS2_DSG2 RS3_DSG1 RS3_DSG2 RS4_DSG1 RS4_DSG2 MGMT1 MGMT2 Internal Network External Network 2PC 2PC 2PC …ZooKeeper Membership Management SSH & SCP MOUNT / SCP SSH Management instances Data instancesRepository Storage Hosts REPO1 TimesTen Scaleout Architecture Overview 40 SQL
  • 38. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • End-to-end response time ~200 milliseconds via C/S connection mode • New LBS (location based service) module with 2000 concurrent connections in peak time • Easy, automatic high-availability • No application code changes moving from TimesTen 11.2.2 to TimesTen Scaleout • Scalability for future growth Why TimesTen Scaleout ? China Mobile Marketing Promotion System •Industry : Telecom •Business : Business & Operation Support System •Application : Marketing Promotion System ⁻ Promote China Mobile products to various channels including website, APPS, SMS, WeChat, etc. ⁻ 30 million target subscribers ⁻ 15 million successful promotions per day • Highly concurrent mobile locations based query ⁻ For every subscriber in the mobile carrier network • High transaction throughput with consistent low latency ⁻ Read mostly application with small amount of DML and DDL • Scalability to achieve higher throughput Application Overview Challenges Solution •TimesTen Scaleout with K=2 for High Availability Chongqing Mobile Subsidiary
  • 39. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen Scaleout Summary • Extreme performance • Single database image, data location transparency • Full SQL, ACID transactions • Automatic high availability via K-safety • Elastic scale-out and scale-in • Easy to deploy and manage • Easy application development • On-premises or Cloud deployment 42
  • 40. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Developing Applications for TimesTen 43
  • 41. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 44 TimesTen Integration with SQL Developer Database Application Development • Develop TimesTen database applications – Tables, PL/SQL procedures/functions, Cache Groups, etc. • Run TimesTen built-in procedures and utilities • Run adhoc queries with SQL worksheet • Copy and load data in parallel • Tune table indexes with TimesTen Index Advisor https://docs.oracle.com/cd/E55747_01/doc.41/e39882/ixadvisor.htm#TTSDV316
  • 42. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • Standard relational schema • Compatible with Oracle Database • Database objects: – Users, tables, views, indexes, sequences, … • Standard data types – NUMBER, VARCHAR2, TIMESTAMP, … • SQL Developer makes it easy to create and view schema 45 Defining your Data Model
  • 43. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • Standard SQL – Compatible with Oracle Database • INSERT, DELETE, UPDATE, SELECT, MERGE, … • PL/SQL procedural language • Standard transactions – Commit and Rollback – Full ACID transactions 46 Manipulating data
  • 44. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Application Development SQL PL/SQL Languages C/C++/C# ODBC ttClasses OCI, Pro*C ODP.NET J2EE App Servers OR MappingJava/JDBC • Industry standard and Oracle compatible SQL, PL/SQL and APIs • Flexible application development • Nearly any programming language • Nearly any environment REST APIs Coming soon:
  • 45. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Application Development Summary • SQL and PL/SQL • Wide range of standard APIs to suit most languages and environments • Official APIs and open source options • Wide support for App Servers and OR frameworks • Extensive integration with SQL Developer • Developers can leverage existing RDBMS / Oracle skills 52
  • 46. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen in the Cloud Current and Future 53
  • 47. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • TimesTen 11.2.2.8.27+ • Bring Your Own License • Scripts to provision TimesTen on Oracle Cloud Infrastructure(OCI) • Oracle Linux 7.4, networking, storage, install and configure TimesTen • Optionally create an Active/Standby replication configuration for High Availability • Unmanaged • Use SSH (command line) or SQL Developer to monitor/manage TimesTen yourself 54 TimesTen in the Cloud Today Application read/writes Application Reads from Standby StandbyActive + +
  • 48. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • TimesTen Database requires : • Linux x8664 (glibc 2.12+) • Oracle Linux / Red Hat / CentOS 6.4+, 7+ • Ubuntu 14.04+ • SUSE 12+ • TCP/IP or IPoIB • A file system • Enough RAM for the DB 55 TimesTen in Private Clouds
  • 49. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 56 TimesTen in the Cloud - Future Plans AD1 AD2 AD3 Autopilot with manual override • Cloud service based on TimesTen Scaleout • Fully Managed • Provisioning • Elastic Scaling • Backup/restore • DB Patching and upgrades • Data import/export • Manage via Cloud MyServices, DB Console or SQL Developer • High availability within or across Availability Domains • All compute shapes which support NVMe storage • Up to 64 elements for first release
  • 50. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Cloud Summary • Private or Public Cloud deployment • Flexible options for Private Cloud • Focus on Oracle Cloud – BYOL today – Fully managed service under development 57
  • 51. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Licensing 58
  • 52. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | TimesTen Licensing • TimesTen is licensed in two ways – Oracle TimesTen In-Memory Database • Separate Product • Includes both TimesTen Classic and TimesTen Scaleout deployment modes • Does not include Cache functionality – TimesTen Application Tier Database Cache • Oracle Database Enterprise Edition option (needs an associated DB EE license) • In-Memory Cache for Oracle Database, with HA and DR • Includes Classic mode and Cache functionality only, not Scaleout 59
  • 53. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Want to learn more? • TimesTen OTN Portal (http://www.oracle.com/technetwork/database/database- technologies/timesten/overview/index.html) – Product Information • Presentations, use cases, whitepapers, FAQs, … – Software Downloads – Product Documentation – Scaleout Demo / Learning VM download • TimesTen GitHub Quickstart and Samples (https://github.com/oracle/oracle-timesten-samples) 60
  • 54. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Demonstration 61 TimesTen Scaleout
  • 55. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | & 62
  • 56. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 63