Java MySQL Connector & Connection Pool
|
|
- Asher Richardson
- 8 years ago
- Views:
Transcription
1 Java MySQL Connector & Connection Pool Features & Optimization Kenny Gryp November 4,
2 2 Please excuse me for not being a Java developer DISCLAIMER
3 What I Don t Like 3 Brussels Sprouts Taxes Calories Java( s chattiness)
4 4 MYSQL CONNECTORS CONNECTION POOLS
5 5 Connectors Configuring Connector Creating A Database Connection Prepared Statements Example Transaction MYSQL CONNECTORS CONNECTION POOLS
6 MySQL Connector/J & MariaDB Java Client 6 MySQL Connector/J Oracle Latest Compatible with MySQL Percona Server MariaDB
7 MySQL Connector/J & MariaDB Java Client 7 MariaDB Java Client MariaDB Fork from Drizzle Connector Latest Compatible with MySQL Percona Server MariaDB
8 MySQL Connector/J Features 8 Enterprise Plugin: Query Analyzer MySQL Fabric Integration Load Balancing Failover Replication
9 9 Connectors Configuring Connector Creating A Database Connection Prepared Statements Example Transaction MYSQL CONNECTORS CONNECTION POOLS
10 Creating Connection 10 Connection con =!! DriverManager.getConnection!! ( jdbc:mysql://node2/employees?!!! user=connj&password=test");! Statement stmt = con.createstatement();! String query =!! "select * from employees!!! where emp_no = 20000;";! ResultSet rs = stmt.executequery(query);!...!! MariaDB: jdbc:mariadb://node2/employees!!?user=connj&password=test"
11 Creating Connection - Tomcat w. JDBC- Pool 11 context.xml (local):! <Resource name="jdbc/test"! auth="container"! type="javax.sql.datasource"! username= jdbc-pool" password="test"! driverclassname="com.mysql.jdbc.driver"! url= jdbc:mysql://node2:3306/employees! />!! MariaDB: driverclassname="org.mariadb.jdbc.driver"!
12 Creating Connection - JDBC URL 12! jdbc:mysql://node2:3306/employees? useserverprepstmts=true&...!!
13 13 Connectors Configuring Connector Creating A Database Connection Prepared Statements Example Transaction MYSQL CONNECTORS CONNECTION POOLS
14 Connector/J - Creating Connection 14 SHOW VARIABLES WHERE!! Variable_name ='language' OR! SET NAMES latin1;! SET character_set_results = NULL;! SET autocommit=1;! SET sql_mode=!! 'NO_ENGINE_SUBSTITUTION,STRICT_TRAN S_TABLES';!
15 MariaDB - Creating Connection 15 set autocommit=1;! USE employees;! show variables like 'sql_mode';!
16 Creating Connection - Defaults 16 Connector/J:!!!! MariaDB Java Client:
17 Connector/J & MariaDB Java Client - Verbosity 17 Connector/J is more verbose when starting a connection Usually not a problem: connection pools are commonly used (more coming soon ) connections are reused Actually I like but not too much.
18 Optimization 18 MariaDB Java Client vs MySQL Connector/J Prepared Statements
19 Connector Performance - SELECT 1 localhost QPS ConnectorJ MariaDB localhost
20 Connector Performance - MariaDB %faster 20 20% 15% 13% Faster % 10% 5% SELECT1 LO MariaDB Connector +Speed% ConnectorJ
21 Connector Performance - MariaDB %faster 21 20% 15% 13% Faster % 10% 5% 4% 4% SELECT1 LO SELECT1 net pk range MariaDB Connector +Speed% ConnectorJ 0%
22 22 Connectors Configuring Connector Creating A Database Connection Prepared Statements Example Transaction MYSQL CONNECTORS CONNECTION POOLS
23 Client or Server Side Prepared Statements 23 Server side Prepared statements: reduce network traffic query is already optimized on server. Support: MariaDB Java client only supports client side Connector/J default in client side
24 Server Side Prepared Statements 24 PREPARE stmt1 FROM!! select * from employees!!! where emp_no =?;! EXECUTE # API CALL!! select * from employees!!! where emp_no = 20000;! DEALLOCATE PREPARE stmt1;
25 Connector/J: Server Side Prepared Statements 25 useserverprepstmts = false! disabled by default Mind looking at: cacheprepstmts = false! do PREPARE, EXECUTE, DEALLOCATE every time, 3 round trips? prepstmtcachesize = 25! prepstmtcachesqllimit = 256! low defaults
26 Benchmark: Prepared Statements QPS 3.342QPS 3.506QPS QPS QPS MariaDB CONN/J CONN/J SRV CONN/J SRV+Cache select * from employees_alotofindexes where first_name='moss' and birth_date > " " and gender="m" and hire_date > " "\G
27 Cracked!! 27
28 28 Connectors Configuring Connector Creating A Database Connection Prepared Statements Example Transaction MYSQL CONNECTORS CONNECTION POOLS
29 Connector/J Optimization + Default JDBC- Pool 29 Connection con = ds.getconnection();! con.settransactionisolation!!! (Connection.TRANSACTION_READ_COMMITTED);! con.setautocommit(false);! PreparedStatement stmt = con.preparestatement("select * from employees where emp_no =?");! stmt.setint(1, 20000);! ResultSet rs = stmt.executequery();! stmt.close();! rs.close();! con.commit();! con.close();
30 Connector/J Optimization + Default JDBC- Pool 30 SET SESSION TRANSACTION!!! ISOLATION LEVEL READ COMMITTED;!! SET autocommit=0;!! # administrator command: Prepare;!! select * from employees!!!! where emp_no = 20000;! Taxes! # administrator command: Close stmt;!! commit;
31 Connector/J Optimization 31 useconfigs=maxperformance! cacheprepstmts=true! cachecallablestmts=true! cacheserverconfiguration=true! uselocalsessionstate=true! elidesetautocommits=true! alwayssendsetisolation=false! enablequerytimeouts=false
32 Connector/J Optimization 32 uselocaltransactionstate=true commit() / rollback()
33 Connector/J Optimization - Tuned 33 JDBC URL: useconfigs=maxperformance&! useserverprepstmts=true:!! select * from employees!! where emp_no = 20000;! commit;
34 MariaDB Java Client Optimization 34 SET SESSION TRANSACTION!!! ISOLATION LEVEL READ COMMITTED;!! select * from employees!!!! where emp_no = 20000;!! COMMIT;!
35 MariaDB Java Client Optimization - Code 35 if! (! con.gettransactionisolation()!=!!!! Connection.TRANSACTION_READ_COMMITTED! )! {! con.settransactionisolation!!! (Connection.TRANSACTION_READ_COMMITTED);! }
36 MariaDB Java Client Optimization - Interceptors 36 select * from employees!! where emp_no = 20000;! COMMIT;!! Now add JDBC Interceptor: <Resource name="jdbc/test"! auth="container"! factory=! "org.apache.tomcat.jdbc.pool.datasourcefactory"! jdbcinterceptors="connectionstate"! driverclassname="org.mariadb.jdbc.driver"! url="jdbc:mysql://node2:3306/employees"/>!
37 MariaDB Java Client Optimization - Optimized! 37 select * from employees!! where emp_no = 20000;! COMMIT;
38 Benchmark - Connector Concurrency - SELECT 1 38 HikariCP- bench with JDBC Pool, 4 Threads, SELECT 1 (4,8,16,32 Pool Size) QPS MariaDB CONN/J
39 Benchmark - Connector Concurrency - TRX 39 HikariCP- bench with JDBC Pool, 4 Threads, TRX (4,8,16,32 Pool Size) QPS Conn/J MariaDB Conn/J Oprm MariaDB Oprm
40 40 MYSQL CONNECTORS CONNECTION POOLS
41 41 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
42 Java Connection Pools 42 The Usual: C3P0 Commons- DBCP (v1&v2) JDBC Pool (fork commons- DBCP) Out In The Wild: Vibur- DBCP HikariCP BoneCP
43 Java Connection Pools 43 The Usual: C3P0 Commons- DBCP (v1&v2) JDBC Pool (fork commons- DBCP) Out In The Wild: Vibur- DBCP HikariCP BoneCP
44 Connection Pool Key Points 44 Connection Management Pool Sizing Connection Testing Avoid Lingering Transactions
45 45 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
46 Connection Pool Issues 46 Coming from DBA side, I do not like chattiness
47 Connection Pool Issues 47
48 Connection Pool Issues 48
49 Connection Pool Issues 49
50 50 Because of application bugs WHY DOES IT HAVE TO DO THAT?
51 Connection Pools - Why Chattiness Examples 51 *maybe* forgot to COMMIT / ROLLBACK! wanting AUTOCOMMIT=1 but a previous TRX set it to 0 Changing TRX Isolation Level Is connection still working?
52 52 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
53 Connection Pool - Resetting Status 53 JDBC- Pool C3P0 DBCP2 HikariCP Rollback rollbackonreturn=false autocommitonclose=false rollbackonreturn =true Commit commitonreturn=false autocommitonclose=false n/a n/a always rollback() Avoid see above forceignoreunresolvedtrans actions=false see above Auto Commit Driver Driver enableautocommit OnReturn=true Driver
54 54 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
55 Connection Pool - Testing 55 Making sure the connection is still active If not, maybe reopen a connection Not recommended as DB However, applications: do not like errors do not retry gracefully
56 Connection Pool - Testing 56 If connections REALLY need to be tested do not specify test query like: SELECT 1! SELECT * FROM DUAL! Leave default, all of the connection pools use: JDBC4 isvalid();
57 Connection Pool - Testing 57 JDBC- Pool C3P0 DBCP2 HikariCP Test Before testonborrow=false testconnectiononcheckout =false Test After testonreturn=false testconnectiononcheckin =false Test While Idle testwhileidle=false idleconnectiontestperiod =0 testonborrow=false testonreturn=false testwhileidle=false n/a n/a n/a JDBC4 isvalid() default default default jdbc4connectiontest =true (default) Query validationquery (isvalid) preferredtestquery=null validationquery (isvalid) connectiontestquery =none Interval? validationinterval=30000 n/a n/a n/a
58 Connection Pool - Testing 58 JDBC: validationinterval=30s WHY? It defeats the whole purpose!
59 59 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
60 Connection Pool - Pool Sizing 60 Funnelling on Application Level, is good Smaller Number is Better +- * CPU s on DB maybe a bit more (waiting on IO ) all application servers combined Response Time vs Throughput
61 Connection Pool - Pool Sizing 61 Amount of Connections Maximum Idle Connections Minimum Idle Connections JDBC- Pool C3P0 DBCP2 HikariCP maxactive=100 maxpoolsize=15 maxtotal=8 maximumpoolsize=10 maxidle=100 maxidletime=0** maxidle=8 n/a minidle=10 minpoolsize=3 minidle=0 minimumidle=max Startup Size initialsize=10 initialpoolsize=3 initialsize=0 minimumidle
62 62 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
63 Connection Pool - Avoid Lingering Transactions 63 Application forgets to return the connection Statements that take longer than! Avoid this! Fix Application
64 Connection Pool - Avoid Lingering Transactions 64 JDBC- Pool KILL removeabandoned=false removeabandonedtimeout=60 abandonwhenpercentagefull=0 Warning suspecttimeout=0 C3P0 unreturnedconnectiontimeout=0 n/a DBCP removeabandoned=false removeabandonedtimeout=300 Only When: getnumidle() < 2 and getnumactive() > getmaxtotal() - 3) HikariCP n/a leakdetectionthreshold=0 n/a
65 65 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
66 Connection Pools - How To Look At Workload? 66 Slow Query Log tcpdump! pt-query-digest! Percona Cloud Tools
67 67 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
68 Connection Pool - Example Transaction 68 Connection con = ds.getconnection();! con.settransactionisolation!!! (Connection.TRANSACTION_READ_COMMITTED);! con.setautocommit(false);! PreparedStatement stmt = con.preparestatement("select * from employees where emp_no =?");! stmt.setint(1, 20000);! ResultSet rs = stmt.executequery();! stmt.close();! rs.close();! con.commit();! con.close();
69 For Connectors - RECAP 69 MySQL Connector/J useconfigs=maxperformance! useserverprepstmts=true! MariaDB Java Client JDBC- Pool: jdbcinterceptors="connectionstate" Other Pools: UNKNOWN
70 Connection Pool - TRX JDBC 70 select * from employees!!!! where emp_no = 20000;!! commit; 200
71 Connection Pool - TRX C3P0 71 SET SESSION TRANSACTION!! ISOLATION LEVEL READ COMMITTED;! SET autocommit=0;! select * from employees!!!! where emp_no = 20000;! commit;! SET autocommit=1;! SET SESSION TRANSACTION! 600!! ISOLATION LEVEL REPEATABLE READ;
72 Connection Pool - TRX C3P0 72 mysql> set global!! tx_isolation= READ-COMMITTED ;!! forceignoreunresolvedtransactions=true! 200
73 Connection Pool - TRX DBCP 73 SET autocommit=1;! # administrator command: Ping;! SET autocommit=0;! select * from employees!!!! where emp_no = 20000;! commit;! rollback;! SET autocommit=1;! 700
74 Connection Pool - TRX DBCP 74 testonborrow=false! rollbackonreturn=false! enableautocommitonreturn=false!! jdbcurl: uselocaltransactionstate=true! 200
75 Connection Pool - TRX HikariCP 75 SET SESSION TRANSACTION!! ISOLATION LEVEL READ COMMITTED;! SET autocommit=0;! select * from employees!!!! where emp_no = 20000;! commit;! rollback;! SET autocommit=1;! 700 SET SESSION TRANSACTION!!! ISOLATION LEVEL REPEATABLE READ;!
76 Connection Pool - TRX HikariCP 76 mysql> set global!! tx_isolation= READ-COMMITTED ;!! autocommit=false!!! --> will always do rollback!!!!! 300
77 Connection Pools 77
78 MariaDB vs. Connector/J 78
79 79 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
80 Connection Pools - Graceful Failover 80
81 Connection Pools - Graceful Failover 81 HAProxy stats socket /etc/haproxy/haproxy.cfg! global!...! stats socket /tmp/haproxy.sock level admin! Disable Node # echo "disable server database/node1" socat stdio /tmp/haproxy.sock
82 Connection Pools - Graceful Failover 82
83 Connection Pools - Graceful Failover 83 During maintenance, what do we do? KILL old connections? Wait until connections are closed? (Define lifetimes?) Ignore it?
84 Connection Pools - Graceful Failover 84 Some connection pools can close connections gracefully, when idle. For synchronous replication systems using JMX No Application Errors! Method JDBC- Pool purgeonreturn() C3P0 softresetallusers() DBCP n/a HikariCP closeidleconnections() Only closes current idle connections
85 Connection Pools - Graceful Failover 85
86 Connection Pools - Graceful Failover 86
87 Connection Pools - Graceful Failover 87
88 Connection Pools - Graceful Failover 88 0 Application Errors Completely seamless
89 89 Connection Pools Issues Resetting Environment Testing Connectivity Pool Sizing Lingering Transactions Analysis Examples Graceful Failover Conn/J Extra Features MYSQL CONNECTORS CONNECTION POOLS
90 Connector/J - Extra Features 90 Load Balancing jdbcurl: jdbc:mysql:loadbalance:// node1,node2/db? loadbalanceconnectiongroup=lb& loadbalanceenablejmx=true! loadbalancestrategy (random/bestresponsetime)! Failover ReplicationDriver (setreadonly) Combining with Connection Pools is less useful Fabric
91 Victory! 91
92 Java MySQL Connector & Connection Pool Optimization 92 j/en libraries/mariadb- java- client/ doc/jdbc- pool.html dbcp/ MYSQL CONNECTORS CONNECTION POOLS Kenny Gryp November 4,
The JAVA Way: JDBC and SQLJ
The JAVA Way: JDBC and SQLJ David Toman School of Computer Science University of Waterloo Introduction to Databases CS348 David Toman (University of Waterloo) JDBC/SQLJ 1 / 21 The JAVA way to Access RDBMS
More informationHP NonStop JDBC Type 4 Driver Performance Tuning Guide for Version 1.0
HP NonStop JDBC Type 4 Driver November 22, 2004 Author: Ken Sell 1 Introduction Java applications and application environments continue to play an important role in software system development. Database
More informationChapter 9 Java and SQL. Wang Yang wyang@njnet.edu.cn
Chapter 9 Java and SQL Wang Yang wyang@njnet.edu.cn Outline Concern Data - File & IO vs. Database &SQL Database & SQL How Connect Java to SQL - Java Model for Database Java Database Connectivity (JDBC)
More informationJava DB Performance. Olav Sandstå Sun Microsystems, Trondheim, Norway Submission ID: 860
Java DB Performance Olav Sandstå Sun Microsystems, Trondheim, Norway Submission ID: 860 AGENDA > Java DB introduction > Configuring Java DB for performance > Programming tips > Understanding Java DB performance
More informationKony MobileFabric. Sync Server Tomcat Installation Manual. On-Premises
Kony MobileFabric Sync Server Tomcat Installation Manual On-Premises Release 6.5 Document Relevance and Accuracy This document is considered relevant to the Release stated on this title page and the document
More informationtc Server Administration Guide
tc Server Administration Guide Juliet Shackell 2.0 Copyright 2010 VMware Inc. All rights reserved. Table of Contents 1. Copyright Notice... 1 2. Overview of tc Server Administration... 3 3. Configuring
More informationDatabase Access from a Programming Language: Database Access from a Programming Language
Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding
More informationDatabase Access from a Programming Language:
Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding
More informationITG Software Engineering
IBM WebSphere Administration 8.5 Course ID: Page 1 Last Updated 12/15/2014 WebSphere Administration 8.5 Course Overview: This 5 Day course will cover the administration and configuration of WebSphere 8.5.
More informationWSO2 Business Process Server Clustering Guide for 3.2.0
WSO2 Business Process Server Clustering Guide for 3.2.0 Throughout this document we would refer to WSO2 Business Process server as BPS. Cluster Architecture Server clustering is done mainly in order to
More informationUsing Apache Derby in the real world
Apache Derby a 100% Java Open Source RDBMS Using Apache Derby in the real world Victorian AJUG, Australia 28 th August 2008 Chris Dance Chris Dance Introduction Director and Found of PaperCut Software
More informationMAGENTO HOSTING Progressive Server Performance Improvements
MAGENTO HOSTING Progressive Server Performance Improvements Simple Helix, LLC 4092 Memorial Parkway Ste 202 Huntsville, AL 35802 sales@simplehelix.com 1.866.963.0424 www.simplehelix.com 2 Table of Contents
More informationDetecting (and even preventing) SQL Injection Using the Percona Toolkit and Noinject!
Detecting (and even preventing) SQL Injection Using the Percona Toolkit and Noinject! Justin Swanhart Percona Live, April 2013 INTRODUCTION 2 Introduction 3 Who am I? What do I do? Why am I here? The tools
More informationConfiguring Apache Derby for Performance and Durability Olav Sandstå
Configuring Apache Derby for Performance and Durability Olav Sandstå Sun Microsystems Trondheim, Norway Agenda Apache Derby introduction Performance and durability Performance tips Open source database
More informationCourse Description. Course Audience. Course Outline. Course Page - Page 1 of 5
Course Page - Page 1 of 5 WebSphere Application Server 7.0 Administration on Windows BSP-1700 Length: 5 days Price: $ 2,895.00 Course Description This course teaches the basics of the administration and
More informationArchitecting ColdFusion For Scalability And High Availability. Ryan Stewart Platform Evangelist
Architecting ColdFusion For Scalability And High Availability Ryan Stewart Platform Evangelist Introduction Architecture & Clustering Options Design an architecture and develop applications that scale
More informationSynchronous multi-master clusters with MySQL: an introduction to Galera
Synchronous multi-master clusters with : an introduction to Galera Henrik Ingo OUGF Harmony conference Aulanko, Please share and reuse this presentation licensed under Creative Commonse Attribution license
More informationBlackboard Learn TM, Release 9 Technology Architecture. John Fontaine
Blackboard Learn TM, Release 9 Technology Architecture John Fontaine Overview Background Blackboard Learn Deployment Model and Architecture Setup and Installation Common Administrative Tasks Tuning Integrating
More informationGalera Replication. Synchronous Multi-Master Replication for InnoDB. ...well, why not for any other DBMS as well. Seppo Jaakola Alexey Yurchenko
Galera Replication Synchronous Multi-Master Replication for InnoDB...well, why not for any other DBMS as well Seppo Jaakola Alexey Yurchenko Contents 1.Galera Cluster 2.Replication API 3.Benchmarking 4.Installation
More informationHigh-Availability. Configurations for Liferay Portal. James Min. Senior Consultant / Sales Engineer, Liferay, Inc.
High-Availability Configurations for Liferay Portal James Min Senior Consultant / Sales Engineer, Liferay, Inc. Is Clustering Enough? What Liferay High-Availability (HA) means: HA is more than just server
More informationTimesTen Auditing Using ttaudit.java
TimesTen Auditing Using ttaudit.java Installation, Operation, and Configuration As of: TimesTen 11.2.2.6 and ttaudit 1.0.0.15 March, 2014 The ttaudit.java application is free, open source project software
More informationPerformance Tuning for the JDBC TM API
Performance Tuning for the JDBC TM API What Works, What Doesn't, and Why. Mark Chamness Sr. Java Engineer Cacheware Beginning Overall Presentation Goal Illustrate techniques for optimizing JDBC API-based
More informationConfiguring Apache Derby for Performance and Durability Olav Sandstå
Configuring Apache Derby for Performance and Durability Olav Sandstå Database Technology Group Sun Microsystems Trondheim, Norway Overview Background > Transactions, Failure Classes, Derby Architecture
More informationOracle WebLogic Server 11g Administration
Oracle WebLogic Server 11g Administration This course is designed to provide instruction and hands-on practice in installing and configuring Oracle WebLogic Server 11g. These tasks include starting and
More informationHow To Choose Between A Relational Database Service From Aws.Com
The following text is partly taken from the Oracle book Middleware and Cloud Computing It is available from Amazon: http://www.amazon.com/dp/0980798000 Cloud Databases and Oracle When designing your cloud
More informationApplets, RMI, JDBC Exam Review
Applets, RMI, JDBC Exam Review Sara Sprenkle Announcements Quiz today Project 2 due tomorrow Exam on Thursday Web programming CPM and servlets vs JSPs Sara Sprenkle - CISC370 2 1 Division of Labor Java
More informationJBoss Seam Performance and Scalability on Dell PowerEdge 1855 Blade Servers
JBoss Seam Performance and Scalability on Dell PowerEdge 1855 Blade Servers Dave Jaffe, PhD, Dell Inc. Michael Yuan, PhD, JBoss / RedHat June 14th, 2006 JBoss Inc. 2006 About us Dave Jaffe Works for Dell
More informationCHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS
CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS Java EE Components Java EE Vendor Specifications Containers Java EE Blueprint Services JDBC Data Sources Java Naming and Directory Interface Java Message
More informationDave Stokes MySQL Community Manager
The Proper Care and Feeding of a MySQL Server for Busy Linux Admins Dave Stokes MySQL Community Manager Email: David.Stokes@Oracle.com Twiter: @Stoker Slides: slideshare.net/davidmstokes Safe Harbor Agreement
More informationConfiguring Apache HTTP Server With Pramati
Configuring Apache HTTP Server With Pramati 45 A general practice often seen in development environments is to have a web server to cater to the static pages and use the application server to deal with
More informationUsing MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam sastry.vedantam@oracle.com
Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam sastry.vedantam@oracle.com Agenda The rise of Big Data & Hadoop MySQL in the Big Data Lifecycle MySQL Solutions for Big Data Q&A
More informationMySQL always-up with Galera Cluster
MySQL always-up with Galera Cluster SLAC 2014 May 14, 2014, Berlin by oli.sennhauser@fromdual.com 1 / 31 About FromDual GmbH FromDual provides neutral and independent: Consulting for MySQL, Galera Cluster,
More informationStoreGrid Backup Server With MySQL As Backend Database:
StoreGrid Backup Server With MySQL As Backend Database: Installing and Configuring MySQL on Windows Overview StoreGrid now supports MySQL as a backend database to store all the clients' backup metadata
More informationWebSphere Architect (Performance and Monitoring) 2011 IBM Corporation
Track Name: Application Infrastructure Topic : WebSphere Application Server Top 10 Performance Tuning Recommendations. Presenter Name : Vishal A Charegaonkar WebSphere Architect (Performance and Monitoring)
More informationWEBLOGIC ADMINISTRATION
WEBLOGIC ADMINISTRATION Session 1: Introduction Oracle Weblogic Server Components Java SDK and Java Enterprise Edition Application Servers & Web Servers Documentation Session 2: Installation System Configuration
More informationMySQL Performance Blog. Measuring failover time for ScaleArc load balancer
MySQL Performance Blog Measuring failover time for ScaleArc load balancer Peter Boros August 19, 2014 Measuring failover time for ScaleArc load balancer August 19, 2014 by Peter Boros ScaleArc hired Percona
More informationJasperServer Localization Guide Version 3.5
Version 3.5 2008 JasperSoft Corporation. All rights reserved. Printed in the U.S.A. JasperSoft, the JasperSoft logo, JasperAnalysis, JasperServer, JasperETL, JasperReports, JasperStudio, ireport, and Jasper4
More informationOpen Source DBMS CUBRID 2008 & Community Activities. Byung Joo Chung bjchung@cubrid.com
Open Source DBMS CUBRID 2008 & Community Activities Byung Joo Chung bjchung@cubrid.com Agenda Open Source DBMS CUBRID 2008 CUBRID Community Activities Open Source DBMS CUBRID 2008 Open Source DBMS CUBRID
More informationCDH installation & Application Test Report
CDH installation & Application Test Report He Shouchun (SCUID: 00001008350, Email: she@scu.edu) Chapter 1. Prepare the virtual machine... 2 1.1 Download virtual machine software... 2 1.2 Plan the guest
More informationAdvanced Liferay Architecture: Clustering and High Availability
Advanced Liferay Architecture: Clustering and High Availability Revision 1.1, Oct 2010 *Note: All of the configuration examples in 3 rd -party software (i.e. Apache, Sun Java) in this document are examples
More informationMySQL: Cloud vs Bare Metal, Performance and Reliability
MySQL: Cloud vs Bare Metal, Performance and Reliability Los Angeles MySQL Meetup Vladimir Fedorkov, March 31, 2014 Let s meet each other Performance geek All kinds MySQL and some Sphinx Working for Blackbird
More informationHP OO 10.X - SiteScope Monitoring Templates
HP OO Community Guides HP OO 10.X - SiteScope Monitoring Templates As with any application continuous automated monitoring is key. Monitoring is important in order to quickly identify potential issues,
More informationInformatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014
Contents Informatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014 Copyright (c) 2012-2014 Informatica Corporation. All rights reserved. Installation...
More informationVarious Load Testing Tools
Various Load Testing Tools Animesh Das May 23, 2014 Animesh Das () Various Load Testing Tools May 23, 2014 1 / 39 Outline 3 Open Source Tools 1 Load Testing 2 Tools available for Load Testing 4 Proprietary
More informationWhite Paper. Cloud Native Advantage: Multi-Tenant, Shared Container PaaS. http://wso2.com Version 1.1 (June 19, 2012)
Cloud Native Advantage: Multi-Tenant, Shared Container PaaS Version 1.1 (June 19, 2012) Table of Contents PaaS Container Partitioning Strategies... 03 Container Tenancy... 04 Multi-tenant Shared Container...
More informationThis document summarizes the steps of deploying ActiveVOS on the IBM WebSphere Platform.
Technical Note Overview This document summarizes the steps of deploying ActiveVOS on the IBM WebSphere Platform. Legal Notice The information in this document is preliminary and is subject to change without
More informationEnterprise Manager. Version 6.2. Installation Guide
Enterprise Manager Version 6.2 Installation Guide Enterprise Manager 6.2 Installation Guide Document Number 680-028-014 Revision Date Description A August 2012 Initial release to support version 6.2.1
More informationNGASI AppServer Manager SaaS/ASP Hosting Automation for Cloud Computing Administrator and User Guide
NGASI AppServer Manager SaaS/ASP Hosting Automation for Cloud Computing Administrator and User Guide NGASI SaaS Hosting Automation is a JAVA SaaS Enablement infrastructure that enables web hosting services
More informationEvidence based performance tuning of
Evidence based performance tuning of enterprise Java applications By Jeroen Borgers jborgers@xebia.com Evidence based performance tuning of enterprise Java applications By Jeroen Borgers jborgers@xebia.com
More informationPackage sjdbc. R topics documented: February 20, 2015
Package sjdbc February 20, 2015 Version 1.5.0-71 Title JDBC Driver Interface Author TIBCO Software Inc. Maintainer Stephen Kaluzny Provides a database-independent JDBC interface. License
More informationMySQL performance in a cloud. Mark Callaghan
MySQL performance in a cloud Mark Callaghan Special thanks Eric Hammond (http://www.anvilon.com) provided documentation that made all of my work much easier. What is this thing called a cloud? Deployment
More informationConfiguring an Alternative Database for SAS Web Infrastructure Platform Services
Configuration Guide Configuring an Alternative Database for SAS Web Infrastructure Platform Services By default, SAS Web Infrastructure Platform Services is configured to use SAS Framework Data Server.
More informationHigh Availability Using MySQL in the Cloud:
High Availability Using MySQL in the Cloud: Today, Tomorrow and Keys to Success Jason Stamper, Analyst, 451 Research Michael Coburn, Senior Architect, Percona June 10, 2015 Scaling MySQL: no longer a nice-
More informationApplication Development A Cocktail of Java and MCP. MCP Guru Series Dan Meyer & Pramod Nair
Application Development A Cocktail of Java and MCP MCP Guru Series Dan Meyer & Pramod Nair Agenda Which of the following topics can be found in an Application Development cocktail? o Calling Java from
More informationKillTest. http://www.killtest.cn 半 年 免 费 更 新 服 务
KillTest 质 量 更 高 服 务 更 好 学 习 资 料 http://www.killtest.cn 半 年 免 费 更 新 服 务 Exam : 1Z0-599 Title : Oracle WebLogic Server 12c Essentials Version : Demo 1 / 10 1.You deploy more than one application to the
More informationSQL Anywhere 12 New Features Summary
SQL Anywhere 12 WHITE PAPER www.sybase.com/sqlanywhere Contents: Introduction... 2 Out of Box Performance... 3 Automatic Tuning of Server Threads... 3 Column Statistics Management... 3 Improved Remote
More informationCA Workload Automation Agent for Databases
CA Workload Automation Agent for Databases Implementation Guide r11.3.4 This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the
More informationLoad balancing MySQL with HaProxy. Peter Boros Consultant @ Percona 4/23/13 Santa Clara, CA
Load balancing MySQL with HaProxy Peter Boros Consultant @ Percona 4/23/13 Santa Clara, CA Agenda What is HaProxy HaProxy configuration Load balancing topologies Checks Load balancing Percona XtraDB Cluster
More informationPerformance Monitoring API for Java Enterprise Applications
Performance Monitoring API for Java Enterprise Applications Purpose Perfmon4j has been successfully deployed in hundreds of production java systems over the last 5 years. It has proven to be a highly successful
More informationSwitch to MySQLnd Already!
FREE Article! FEATURE Switch to MySQLnd Already! Jervin Real MySQL has been the long-standing de facto backend data store for PHP applications, and I imagine it will be for a very long time. Traditionally,
More informationConfiguring Nex-Gen Web Load Balancer
Configuring Nex-Gen Web Load Balancer Table of Contents Load Balancing Scenarios & Concepts Creating Load Balancer Node using Administration Service Creating Load Balancer Node using NodeCreator Connecting
More informationColdFusion 8. Performance Tuning, Multi-Instance Management and Clustering. Sven Ramuschkat MAX 2008 Milan
ColdFusion 8 Performance Tuning, Multi-Instance Management and Clustering Sven Ramuschkat MAX 2008 Milan About me Sven Ramuschkat CTO of Herrlich & Ramuschkat GmbH ColdFusion since Version 3.1 Authorized
More informationDeployment Checklist. Liferay Portal 6.1 Enterprise Edition
Deployment Checklist Liferay Portal 6.1 Enterprise Edition Table of Contents Deployment Checklist...1 Introduction... 1 Reference Architecture... 1 Virtualized and Cloud Deployments... 3 Security... 3
More informationFlexible Routing and Load Control on Back-End Servers. Controlling the Request Load and Quality of Service
ORACLE TRAFFIC DIRECTOR KEY FEATURES AND BENEFITS KEY FEATURES AND BENEFITS FAST, RELIABLE, EASY-TO-USE, SECURE, AND SCALABLE LOAD BALANCER [O.SIDEBAR HEAD] KEY FEATURES Easy to install, configure, and
More informationFailover Support. DataDirect Connect for ODBC Drivers. Introduction. Connection Failover
Failover Support DataDirect Connect for ODBC Drivers Introduction Connection failover and connection retry are two useful features that are available in the following DataDirect Connect for ODBC drivers:
More informationInstallation Guide for contineo
Installation Guide for contineo Sebastian Stein Michael Scholz 2007-02-07, contineo version 2.5 Contents 1 Overview 2 2 Installation 2 2.1 Server and Database....................... 2 2.2 Deployment............................
More informationLICENSE4J AUTO LICENSE GENERATION AND ACTIVATION SERVER USER GUIDE
LICENSE4J AUTO LICENSE GENERATION AND ACTIVATION SERVER USER GUIDE VERSION 1.6.0 LICENSE4J www.license4j.com Table of Contents Getting Started... 2 Server Roles... 4 Installation... 9 Server WAR Deployment...
More informationAndrew Moore Amsterdam 2015
Andrew Moore Amsterdam 2015 Agenda Why log How to log Audit plugins Log analysis Demos Logs [timestamp]: [some useful data] Why log? Error Log Binary Log Slow Log General Log Why log? Why log? Why log?
More informationLearn Oracle WebLogic Server 12c Administration For Middleware Administrators
Wednesday, November 18,2015 1:15-2:10 pm VT425 Learn Oracle WebLogic Server 12c Administration For Middleware Administrators Raastech, Inc. 2201 Cooperative Way, Suite 600 Herndon, VA 20171 +1-703-884-2223
More informationHigh-availability with Galera Cluster for MySQL
High-availability with Galera Cluster for MySQL LinuxTag 2014 10. Mai 2014, Berlin by oli.sennhauser@fromdual.com 1 / 22 About FromDual GmbH FromDual provides neutral and independent: Consulting for MySQL,
More informationFAQ: Data Services Real Time Set Up
FAQ: Data Services Real Time Set Up Assumptions How to load balancer Real-Time job? How does a Web Service Real-Time job utilize multiple job servers? Setup with at least two Web Servers and two Job Servers
More informationMyOra 3.5. User Guide. SQL Tool for Oracle. Kris Murthy
MyOra 3.5 SQL Tool for Oracle User Guide Kris Murthy Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 6 Closing the Connection... 7 SQL Editor...
More informationDATABASDESIGN FÖR INGENJÖRER - 1DL124
1 DATABASDESIGN FÖR INGENJÖRER - 1DL124 Sommar 2007 En introduktionskurs i databassystem http://user.it.uu.se/~udbl/dbt-sommar07/ alt. http://www.it.uu.se/edu/course/homepage/dbdesign/st07/ Kjell Orsborn
More informationConfiguring Microsoft IIS 5.0 With Pramati Server
Configuring Microsoft IIS 5.0 With Pramati Server 46 Microsoft Internet Information Services 5.0 is a built-in web server that comes with Windows 2000 operating system. An earlier version, IIS 4.0, is
More informationSQL and programming languages
SQL and programming languages SET08104 Database Systems Copyright Napier University Slide 1/14 Pure SQL Pure SQL: Queries typed at an SQL prompt. SQL is a non-procedural language. SQL specifies WHAT, not
More informationCSc 230 Software System Engineering FINAL REPORT. Project Management System. Prof.: Doan Nguyen. Submitted By: Parita Shah Ajinkya Ladkhedkar
CSc 230 Software System Engineering FINAL REPORT Project Management System Prof.: Doan Nguyen Submitted By: Parita Shah Ajinkya Ladkhedkar Spring 2015 1 Table of Content Title Page No 1. Customer Statement
More informationAlfresco Enterprise on AWS: Reference Architecture
Alfresco Enterprise on AWS: Reference Architecture October 2013 (Please consult http://aws.amazon.com/whitepapers/ for the latest version of this paper) Page 1 of 13 Abstract Amazon Web Services (AWS)
More informationMySQL synchronous replication in practice with Galera
MySQL synchronous replication in practice with Galera FOSDEM MySQL and Friends Devroom February 5, 2012, ULB Brussels Oli Sennhauser Senior MySQL Consultant, FromDual oli.sennhauser@fromdual.com Content
More informationHigh Availability Solutions for the MariaDB and MySQL Database
High Availability Solutions for the MariaDB and MySQL Database 1 Introduction This paper introduces recommendations and some of the solutions used to create an availability or high availability environment
More informationScaling Database Performance in Azure
Scaling Database Performance in Azure Results of Microsoft-funded Testing Q1 2015 2015 2014 ScaleArc. All Rights Reserved. 1 Test Goals and Background Info Test Goals and Setup Test goals Microsoft commissioned
More informationLinas Virbalas Continuent, Inc.
Linas Virbalas Continuent, Inc. / Introductions / What is Tungsten? / Architecture of a Rule Based Management Framework for Database Clusters / Demo of Business Rules in Operation / Business Rules in Source
More informationSOLUTION BRIEF. Advanced ODBC and JDBC Access to Salesforce Data. www.datadirect.com
SOLUTION BRIEF Advanced ODBC and JDBC Access to Salesforce Data 2 CLOUD DATA ACCESS In the terrestrial world of enterprise computing, organizations depend on advanced JDBC and ODBC technologies to provide
More informationJBS-102: Jboss Application Server Administration. Course Length: 4 days
JBS-102: Jboss Application Server Administration Course Length: 4 days Course Description: Course Description: JBoss Application Server Administration focuses on installing, configuring, and tuning the
More informationTG Web. Technical FAQ
TG Web Technical FAQ About this FAQ We encourage you to contact us if. You can't find the information you're looking for. You would like to discuss your specific testing requirements in more detail. You
More informationWeaving Stored Procedures into Java at Zalando
Weaving Stored Procedures into Java at Zalando Jan Mussler JUG DO April 2013 Outline Introduction Stored procedure wrapper Problems before the wrapper How it works How to use it More features including
More information.NET UI Load Balancing & Failover
QAD.NET UI Load Balancing & Clustering Nectarios Daloglou President & Principal Consultant Dalo Consulting Inc. 1 2014 Dalo Consulting Inc. Agenda Introduction.NET UI Architecture Manual Load Balancing
More informationPerformance Optimization of Teaching Web Application based SSH Framework
Performance Optimization of Teaching Web Application based SSH Framework Jianchuan Meng 1 & Changdi Shi 1 & Liming Luo 1 1. Capital Normal University, Beijing, China ABSTRACT: Because Web applications
More informationNo.1 IT Online training institute from Hyderabad Email: info@sriramtechnologies.com URL: sriramtechnologies.com
I. Basics 1. What is Application Server 2. The need for an Application Server 3. Java Application Solution Architecture 4. 3-tier architecture 5. Various commercial products in 3-tiers 6. The logic behind
More informationOracle9i Data Guard: SQL Apply Best Practices. An Oracle White Paper September 2003
Oracle9i Data Guard: SQL Apply Best Practices An Oracle White Paper September 2003 Oracle9i Data Guard: SQL Apply Best Practices Introduction... 3 SQL Apply Best Practices & Observations At a Glance...
More informationHow to deploy console cable to connect WIAS-3200N and PC, to reset setting or check status via console
System s web management can also be accesses via WAN port as long as the administrator uses an IP address listed in Management IP Address List setting. If both WAN and LAN ports are unable to reach web
More informationVeritas CommandCentral Disaster Recovery Advisor Release Notes 5.1
Veritas CommandCentral Disaster Recovery Advisor Release Notes 5.1 Veritas CommandCentral Disaster Recovery Advisor Release Notes Copyright 2009 Symantec Corporation. All rights reserved. Product version:
More informationJava and Databases. COMP514 Distributed Information Systems. Java Database Connectivity. Standards and utilities. Java and Databases
Java and Databases COMP514 Distributed Information Systems Java Database Connectivity One of the problems in writing Java, C, C++,, applications is that the programming languages cannot provide persistence
More informationQualogy 2014-08-29 M. Schildmeijer. Whitepaper Oracle Exalogic FMW Optimization
Qualogy 2014-08-29 M. Schildmeijer Whitepaper Oracle Exalogic FMW Optimization 1 Inhoudsopgave 1. Preface... 3 2. WebLogic Domain Level... 4 2.1 Domain Enhancements... 4 2.2 JDBC SDP enhancement... 4 2.3
More informationSet Up BA Server and Tools
Set Up BA Server and Tools This document supports Pentaho Business Analytics Suite 5.0 GA and Pentaho Data Integration 5.0 GA, documentation revision February 3, 2014, copyright 2014 Pentaho Corporation.
More informationagileworkflow Manual 1. agileworkflow 2. The repository 1 of 29 Contents Definition
agileworkflow Manual Contents 1. Intro 2. Repository 3. Diagrams 4. Agents 4.1. Dispatcher Service 4.2. Event Service 4.3. Execution Service 5. Variables 6. Instances 7. Events 7.1. External 7.2. File
More informationBest Practices for Using MySQL in the Cloud
Best Practices for Using MySQL in the Cloud Luis Soares, Sr. Software Engineer, MySQL Replication, Oracle Lars Thalmann, Director Replication, Backup, Utilities and Connectors THE FOLLOWING IS INTENDED
More informationHow To Use The Listerv Maestro With A Different Database On A Different System (Oracle) On A New Computer (Orora)
LISTSERV Maestro Admin Tech Doc 3 Database Configuration January 15, 2015 L-Soft Sweden AB lsoft.com This document is a LISTSERV Maestro Admin Tech Doc. Each admin tech doc documents a certain facet of
More information.NET UI Load Balancing & Clustering
QAD Load Balancing & Clustering Nectarios Daloglou President & Principal Consultant Dalo Consulting Inc. 1 2014 Dalo Consulting Inc. Agenda Introduction Manual Load Balancing DNS Round Robin Other Solutions
More informationHow To Improve Performance On An Asa 9.4 Web Application Server (For Advanced Users)
Paper SAS315-2014 SAS 9.4 Web Application Performance: Monitoring, Tuning, Scaling, and Troubleshooting Rob Sioss, SAS Institute Inc., Cary, NC ABSTRACT SAS 9.4 introduces several new software products
More informationCOSC344 Database Theory and Applications. Java and SQL. Lecture 12
COSC344 Database Theory and Applications Lecture 12: Java and SQL COSC344 Lecture 12 1 Last Lecture Trigger Overview This Lecture Java & SQL Source: Lecture notes, Textbook: Chapter 12 JDBC documentation
More information