SQL Anywhere “State of the Union”SQL Anywhere State of the Union
Chris KleisathChris KleisathSenior Director of Engineering
hSQL Anywhere
hSQL Anywhere has 3 key
technologies.
SQL Anywhere benefits a variety of
environments.
SQL Anywhere today, and into the future.
SQL Anywhere hasSQL Anywhere has 3 key h l i
.com
technologies.
iany
whe
re.
ww
w.i
SQL Anywhere ComponentsSQL Anywhere Components
• SQL Anywhere Server y– Small-footprint, self-managing relational database with high
reliability, high performance out of the box, and a full range of SQL features across a variety of platforms scalable from y phandhelds to large server installations.
• UltraLite– Database system for small devices, including Windows Mobile
and Blackberry devices, providing full transaction-processing support, a choice of development models, and synchronization with enterprise data stores.
• MobiLink– Synchronization and mobile messaging technology for sharing
information among relational databases while maintaining the integrity of transactions across the entire system. 5
SQL Anywhere Server
SQL Anywhere Server Design GoalsSQL Anywhere Server Design Goals
– Full Featured SQL RDBMSQ
– Ease of use
– Performance out of the box
– Embeddability
/– Interoperability/Open
– Cross platform support
– Being responsive to our customers
Small Footprint, Enterprise Caliber
• SQL Anywhere is enterprise caliber like others…
SQL Oracle 11g IBM DB2 9 Microsoft SQL MySQL
Product Feature
SQL Anywhere 11
Standard Edition
Oracle 11g Standard Edition
IBM DB2 9 Workgroup
Edition
Microsoft SQL Server 2005 Workgroup
Edition
MySQL Enterprise
5.1
Advanced SQL including OLAP functions
Full transaction processing 1Built-in referential integrity with cascading updates/deletes & data integrity 1
Row-level locking 1
Snapshot isolation
Materialized views
Table encryption 6Table encryption 6
Column compressionExternal triggers& stored procedures for
SQL, Java, .NET and Perl 2 7
Job scheduling and event monitorsJob scheduling and event monitors
1 Dependent on the storage engine used 3 Support for clustering5 Limited platform support
7 Java, .NET and Perl stored procedues are not supported
2 Java and Perl stored procedues are not supported 4 Limited XML support 6 Requires add-on
Small Footprint, Enterprise Caliber
• SQL Anywhere is enterprise caliber like others…SQL Oracle 11g IBM DB2 9 Microsoft SQL MySQL
Product Feature
SQL Anywhere 11
Standard Edition
Oracle 11g Standard Edition
IBM DB2 9 Workgroup
Edition
Microsoft SQL Server 2005 Workgroup
Edition
MySQL Enterprise
5.1
Parallel back-up and recovery featuresParallel back up and recovery features
Database mirroring & fail-over clustering 3 3
XML support 4Produce/consume Web Services using SOAP JSON XML d HTML 5SOAP, JSON, XML and HTML 5
Performance tuning wizards
Support for 64-bit operating systems
Full text search 1Database files can be moved between all supported operating systems 1Supports Windows, Linux, Unix and Mac O.S. families
1 Dependent on the storage engine used 3 Support for clustering5 Limited platform support
7 Java, .NET and Perl stored procedues are not supported
2 Java and Perl stored procedues are not supported 4 Limited XML support 6 Requires add-on
SQL Anywhere Server Design GoalsSQL Anywhere Server Design Goals
– Full Featured SQL RDBMSQ
– Ease of use
– Performance out of the box
– Embeddability
/– Interoperability/Open
– Cross platform support
– Being responsive to our customers
Ease of UseEase of Use
– Easy for end users
– Easy for developers”Make my life easier”
– Easy for Administrators
Performance Out of the BoxPerformance Out of the Box
– Cost‐based Optimizer automatically finds the most efficient method to access the data requestedthe data requested
– Optimization statistic histograms automatically maintained. – Auto generation of statistics on database load– Dynamic cache sizey– Separate storage for long values
• LONG BINARY, LONG VARCHAR, TEXT, IMAGE– Automatic support for SMP machines
S hi ti t d hi l ith ti fi d f OLTP d DSS– Sophisticated caching algorithm satisfies needs for OLTP and DSS – Many join and grouping methods– Efficient disk‐based sort– Function and subquery cachingFunction and subquery caching– Large block IO
EmbeddabilityEmbeddability
• Small FootprintS a oo p
• Simple Installation– Under 10 minute process
– Can be scripted to be silent
• Self Tuning– High speed cost‐base query optimizer
• Self managing– Automatically address many operational issues such as database file growth
• Autostarting of engine system event triggers automatic• Autostarting of engine, system event triggers, automatic recovery, transportability of db files
Interoperability/OpenInteroperability/Open
• Open API and tools support– ODBC– JDBC– OLE/DB / ADO / ADO.NETOLE/DB / ADO / ADO.NET– Embedded SQL/C– PHP, Perl, Ruby
S b O Cli t– Sybase Open Client• Comprehensive support for Java
– JDBC Applications– Java in the Database
• ANSI SQL and Transact SQL
Interoperability/OpenInteroperability/Open
• Support for development with a variety of development tools:– Visual Studio .NET– Eclipse– PowerBuilderPowerBuilder– Web Page tools
• JSP, ASP, PHP, Ruby, etc
P l– Perl– …
Cross Platform SupportCross Platform Support
• Windows 2000/2003/XP/Vistado s 000/ 003/ / s a
• Windows Mobile
• Linux– RedHat, SuSE, Ubuntu, etc.
• Sun Solaris • HP‐UX• IBM AIX
• MAC OS/X
UltraLite
What is UltraLite?What is UltraLite?
• Small footprint Relational DBMS for resource constrained environments– High‐performance mobile data store– Data synchronization with the enterprise
• Aimed at small, mobile and embedded devices– Personal organizers smart phones pagers– Personal organizers, smart phones, pagers– Point‐of‐sale devices
• Typical constraints– No hard disk– Limited memory– Slow processors– Limited power
Wi l i– Wireless connection
Goals of UltraLiteGoals of UltraLite
– Provide advantages of SQL• Transaction processing, data types (including numeric and date/time), built‐in functions and operators, multi‐table joins, referential integrity, indexing, standard interface
– Provide synchronization to industry standard enterprise databases (robust and secure)
– Maintain extremely small footprint– Maintain extremely small footprint– Maintain good speed on limited devices– Reduce the requirement for platform specific knowledge
MobiLink
What is MobiLink?What is MobiLink?
– A two‐way synchronization technology for large scale y y gy gmobile database deployment
• Remote database (mobile, embedded, or workgroup database server)database server)
• Consolidated database (enterprise, workgroup, or desktop database)
– A server that processes synchronization requests from remote databases
Session based communication– Session based communication
What is MobiLink?What is MobiLink?
ConsolidatedConsolidatedDatabase
MobiLink
Communication Infrastructure( Internet / Dial-up / Wireless )
Data Data
DataData
Data
Data
Data
Data
Mobile or Remote Databases
MobiLink Design GoalsMobiLink Design Goals
– Heterogeneous consolidated databaseg
– Scalable and robust (thousands)
– Manageable in large deployments
– Support handheld and wireless devices
– Flexible
MobiLink Consolidated DatabasesMobiLink Consolidated Databases
– Oracle
– Microsoft SQL Server
– IBM DB2 UDB
– Adaptive Server Enterprise (ASE)
– SQL Anywhere Server
– List of Recommended ODBC Drivers» www.sybase.com/detail?id=1011880» www.sybase.com/detail?id 1011880
MobiLink Remote DatabasesMobiLink Remote Databases
• SQL Anywhere Server
– Windows
– Windows Mobile
Lin– Linux
– Solaris
– MAC OS/X
• UltraLite
Palm Computing Platform– Palm Computing Platform
– Windows CE / Smartphone
– Windows 200x / XP
MobiLink SummaryMobiLink Summary
– Flexible and robust bi‐directional synchronization– Integration with Enterprise
• Support Sybase ASE and SQL Anywhere, Oracle, IBM DB2, Microsoft SQL Server
– Secure• Built‐in authentication• 128‐bit encryption of communication stream
– Support for sub‐setting and partitioning of data– Priority based synchronization– Scalable to thousands of remote usersScalable to thousands of remote users– Conflict detection and resolution – Robust error handling
SQL AnywhereSQL Anywhere benefits a variety f i
.com
of environments.
iany
whe
re.
ww
w.i
Application Scenariospp
Server Database SQL Anywhere Service data to clients inside or outside
the corporate network
NetworkNetwork
Application Scenariospp
Desktop (Embedded) Database Personal database server p ( )
Desktop Database
running on the client
Application Scenariospp
Remote Office Synchronize Headquarters Headquarters
database with Remote Office databases
Network
Remote Office Remote Office
Application Scenariospp
Mobile Synchronize Headquarters Headquarters
Mobiledatabase with databases
running on mobile devices inside or outside the
corporate network
Networket o(Wired / Wireless)
Mobile Architectures
• Database & synchronization
• Database & synchronization with mobile messaging
• Mobile messaging
Database & synchronizationy
Data is exchanged between consolidated– Data is exchanged between consolidated database and multiple remote databases
– Product(s)• SQL Anywhere DB & Sync
ConsolidatedDatabase
• SQL Anywhere – DB & Sync
– Enterprise integration• relational databases
Firewall
MobiLink server
– Mobile devices• Wide range
– Development languages …MobiLink
client
Database
• Wide rangeMobiledevice
Mobiledevice
Mobiledevice
Application
Mobile messagingg g
Data is exchanged between messaging systems and multiple– Data is exchanged between messaging systems and multiple remote message queues
– Product(s)• SQL Anywhere QAnywhere
…JMS-based enterprise
systems• SQL Anywhere ‐ QAnywhere
– Enterprise integration• JMS‐based systems
Fi ll
MobiLink server with QAnywhere option
y
– Mobile devices• Windows, Pocket PC
– Development languages
Firewall
QA h • C/C++, C#, VB.NET
…
M bil M bil M bil
QAnywhere MobiLink client
QAnywhere
Application
Mobiledevice
Mobiledevice
Mobiledevice
Database & synchronization with mobile messaging
– Data is downloaded from consolidated database using synchronization and uploaded using message queues
– Product(s) …JMS-based enterprise
ConsolidatedDatabase
( )• SQL Anywhere – DB & Sync
• SQL Anywhere – QAnywhere
• Possibly Unwired OrchestratorMobiLink server with QAnywhere option
enterprise systems
Possibly Unwired Orchestrator
– Enterprise integration• Databases, JMS‐based systems, more
Mobile devices
Firewall
QA h – Mobile devices• Windows, Pocket PC
– Development languagesC/C C# VB NET
…
QAnywhere MobiLink client
QAnywhere & database
Application
• C/C++, C#, VB.NET Mobiledevice
Mobiledevice
Mobiledevice
SQL Anywhere,SQL Anywhere, today and into the
f
.com
future.
iany
whe
re.
ww
w.i
SQL Anywhere 11
SQL Anywhere ServerD t M t O t id th D t C tData Management Outside the Data Center
S ll & M diDesktop Server •Small & Medium
•Enterprise– Accounting– Administration
•Solution packages– Phone systems– Point of sale
•Remote office– Store
management– Inventory controlInventory control
•Mobile– Traveling sales– Field service
worker– Inspector
Remote Office Mobile Environments
SQL AnywhereSQL Anywhere
•Leading data management and enterprise s nchroni ation sol tion b ilt from•Leading data management and enterprise synchronization solution built from inception for environments outside the data center
• Databases delivering enterprise‐caliber features and high performance out of the box
• Highly embeddable technologies that are easy to use and administer
• Proven robust heterogeneous synchronization solutions designed for unreliable networks• Proven, robust, heterogeneous synchronization solutions designed for unreliable networks
• Broad support for development tools, platforms and industry standards
• Over 20 years of engineering of data management technologies for frontline environments• Over 20 years of engineering of data management technologies for frontline environments outside the data center
• Focus on making applications just as reliable, secure and available as those running in an enterprise HQ
AnnouncementsAnnouncements
•3 Major Announcements in the last year:3 Major Announcements in the last year:
“General Availability of SQL Anywhere 11 for WindowsGeneral Availability of SQL Anywhere 11 for Windows and Linux”
“First TPC/C Benchmark Using SQL Anywhere Server”
“New SQL Anywhere Web Edition”
Performance, Reliability, ScalabilityPerformance, Reliability, Scalability
Features BenefitsFeatures– Multi‐user performance gains
Benefits• OLTP performance
• Index storage and maintenance• Reduced transaction log
contention
• Index compression
maintenance
• TPC/C Benchmark
• Simple statement caching
Query performance– Query performance increases
• Parallel sort
• Complex query performance
• Faster data retrievals• Parallel index scans
• Index‐only retrieval
Faster data retrievals
• Exploits multi‐core features of modern chips
Performance, Reliability and ScalabilityPerformance, Reliability and Scalability
TPC/C b h k bli h d•TPC/C benchmark published • Stats:
• 20,705 tpmC0, 05 tp C
• $0.85 / tpmC
• total system cost of $17,541
• Top 5 price/performance at $.85 per transaction
• First ever TPC/C benchmark with total system cost under $20 000First ever TPC/C benchmark with total system cost under $20,000
• Highest absolute performance of any system under $30,000
• Best price/performance of any system under $65,000
Performance, Reliability, ScalabilityPerformance, Reliability, Scalability
Frontline AnalyticsFrontline Analytics
Features BenefitsFeatures– Embedded full text search
• Fully integrated solution
Benefits• Text field query performance • Powerful text searching (eg. proximity searches)
– Regular expression searching• SIMILAR and REGEXP
p y )
• Sophisticated pattern matching• ANSI and 3rd party support
– Immediately maintained materialized views
Improved data import capabilities
• Improve performance of costly queries
– Improved data import capabilities• MERGE statement• Client side file access
R d i d
• Simplifies and speeds up large data import and transformations
• Off load analytics and reporting– Read‐access to mirrored servers • Off‐load analytics and reporting to redundant hardware
Full Text Search Performance k iff !It Can Make a Difference!
•Example ScenarioExample Scenario– 500MB Database ‐ search of LONG VARCHAR field
– Comparison between standard WHERE clause (using LIKE) versus full text search (using CONTAINS)text search (using CONTAINS)
– Execution time: 2 seconds (full text) vs 20 seconds (LIKE)
Advanced Data SynchronizationAdvanced Data Synchronization
F t BenefitsFeatures– Relay Server
• Facilitates communication between mobile devices and
Benefits• Easily integrates with existing corporate firewall policies
• Enables load‐balanced andbetween mobile devices and mobile middleware servers
• Hosted and non‐hosted options
• Common architecture for
Enables load balanced and fault‐tolerant environment for mobile middleware servers
• Improved scalability for large l i t• Common architecture for
MobiLink , Afaria and Mobile Office
– Mobile Platform Extensibility
scale sync environments
• Broadens mobile deviceMobile Platform Extensibility• UltraLiteJ for Blackberry • UltraLite for Embedded Linux
Broadens mobile device choices beyond Windows Mobile and Palm
– Background Sync • More seamless synchronization experience
Relay Server ArchitectureRelay Server Architecture
External Internal
DMZ
External Network Internal Network
ExternalFirewall
InternalFirewall
MobiLinkSRelay Consolidated
DB SServerRelayServerHTTP/S
DB Server
Outbound HTTP/S ConnectionConnection
Developer FreedomDeveloper Freedom
Features BenefitsFeatures– Full .NET 3.5 Support
• Entity Framework, LINQ support
Benefits• First class citizen of the latest .NET technologies
– New stored procedure languages• .NET, Perl and PHP
Comment enabled do mentation
• Leverage developer knowledge to implement business logic in language of choice
• Allows developers to contribute– Comment‐enabled documentation
– Enabling Web 2 0 for Frontlines
Allows developers to contribute own examples, tips and edits to complement existing doc
d l f f lEnabling Web 2.0 for Frontlines• Enhanced Perl, PHP, Python support
• JSON Web Services
• Extend MySQL platform to frontline environments
• Extension of web services support
• Sync to MySQL
SQL Anywhere 11SQL Anywhere 11
•Proven data management and enterprise synchronization outside the data center
FrontlineAnalytics
PerformanceReliabilityScalability
Developer
y
Advanced DeveloperFreedom
AdvancedData Sync
SQL Anywhere 11.0.1
SQL Anywhere 11.0.1h i d !SQL Anywhere Monitor – Brand New!
• The SQL Anywhere Monitor is a browser‐based administration tool that provides you with information about the health and availability of SQL Anywhere databases and MobiLink servers.
• Constant data collection
• Email alert notification
• Browser‐based interface
• Monitor multiple databases and MobiLink servers
• Minimal performance impact
• This tool is designed to show health and availability. For more detailed performance analysis and query optimization, use the Application Profiling Wizard
Monitor ArchitectureMonitor Architecture
SA Monitor ArchitectureSA Monitor Architecture
Browser (Flash)
SQL Anywhere
HTTP Interface
Monitor DBSA Q E iAnywhere Server
Monitor DB
Java Collection Procedures
SA Query Engine
C ll t d d t
M it d
•Collected data•Flex .swf files•Java procedures
Monitored Server
…
RequirementsRequirements
• The monitor can be run on Windows or Linux
• The monitor can be viewed by on any platform that has a browser that supports Flash
• The SQL Anywhere Monitor is included as part of SQL Anywhere 11.0.1Q y p Q y
• It includes its own install program for production deployment
SA Monitor DemoSA Monitor Demo
SQL Anywhere 11.0.1SServer
• Parallel backup/restore API
• 11.0.0 added parallel backup for integrated commands– Very fast
E h t API t t ll l ti• Enhance current API to support parallel operations
SQL Anywhere 11.0.1M biLi kMobiLink
• Schema Caching
• Remote schemas are cached in MobiLink server for all remote types
R d t k t ffi i ll f ll• Reduces sync network traffic, especially for small syncs• MySQL (new in 11.0.0)
• Synchronization Model Mode supportSynchronization Model Mode support
• Supported on Linux and Windows 32 and 64 bit• Support for Microsoft SQL Server 2008
• Verbose logging for specific synchronization ID
• Lightweight polling
• for Listener (dblsn)for Listener (dblsn)
• Built in to the UltraLite runtime via builtin SQL function
SQL Anywhere 11.0.1hQAnywhere
• Standalone QAnywhere client
• Based on standalone UltraLite client
• Easier client to deploy– No agent process, only a listener
• Lightweight API for direct access to server store
hSQL Anywhere
hSQL Anywhere has 3 key
technologies.
SQL Anywhere benefits a variety of
environments.
SQL Anywhere today, and into the future.
Questions?Questions?
• Chris KleisathSenior Director of Engineering for SQL AnywhereSenior Director of Engineering for SQL Anywhere
Sybase iAnywhere
email: kleisath@sybase comemail: [email protected]
blog: http://iablog.sybase.com/kleisath
• Thank you!• Thank you!
SQL Anywhere “State of the Union”SQL Anywhere State of the Union
Chris KleisathChris KleisathSenior Director of Engineering
Top Related