New Features Summary WHITE PAPER www.sybase.com/sqlanywhere
Contents: Introduction... 2 Out of Box Performance... 3 Spatial Enhancements... 3 Developer Productivity... 4 Enhanced Database Management... 4 Improved SQL Language... 4 Additional Driver Support... 5 Java and.net Improvements... 5 UltraLite Enhancements... 5 Advanced Data Synchronization... 6 Performance... 6 Consolidated Database Support... 6 Synchronization Client Enhancements... 6 Additional MobiLink Enhancements... 6 i
Introduction SQL Anywhere is the leading data management and enterprise synchronization solution for applications that operate outside the traditional data center. From its inception, SQL Anywhere was designed to deliver enterprise caliber features, high out of the box performance, and robust synchronization enabling the implementation of mission critical database solutions for networked, embedded, and mobile environments. The latest release, continues to advance SQL Anywhere s corner stone offerings with feature enhancements and improvements in the areas of out of box performance, developer productivity, and advanced data synchronization. This white paper summarizes the new features available in SQL Anywhere 12.0.1 under these three areas of focus, including new features added to MobiLink, UltraLite, DBA tools and spatial data querying. To learn more about SQL Anywhere and the new features and functionalities of the latest releases, visit our SQL Anywhere homepage at: www.sybase.com/sqlanywhere. 2
Out of Box Performance further builds on one of the major features added to SQL Anywhere in the last decade, spatial data support. As with SQL Anywhere 12, allows for the storage and querying of spatial data, which is the data that describes the position, shape, and orientation of objects in a defined space. The following enhancements have been made to spatial data support in the latest release of SQL Anywhere. Spatial Enhancements Several improvements have been made which affect the overall performance and speed of the execution of spatial queries. Performance enhancements include faster loading time for shapefiles and the implementation of new constructs such as spatial set operations and predicates. The visual administration tool in has also undergone improvements and now has the ability to import ESRI shapefiles. This means greater efficiency and flexibility for you as it is no longer necessary to change file formats prior to importing the data. 3
Developer Productivity In, new developer productivity features include several new stored procedures and database options, SQL language enhancements, and the implementation of UltraLite support for Android smartphone and tablet devices. Enhanced Database Management has implemented several new system stored procedures, server parameters, and database options that control many aspects of the database behavior. For instance, you can now specify the server principal used by the database server for Kerberos authentication. Another example is the ability to provide each database with an additional set of directories or JAR files in which to search for when executing Java objects in the database, a useful option when your application must provide the directories or JAR files. SQL Anywhere supports database mirroring and Veritas Cluster Server to provide high availability. This is done through the configuration of either two or three database servers, running on separate computers, which co operate to maintain copies of the database and transaction log files. Database mirroring enhancements have been made to the PartnerState property and the MirrorServerState property to allow for better management of a high availability environment. These properties now return the following values when used with their corresponding Property functions: Connected Incoming only Outgoing only Disconnected NULL Improved SQL Language Improvements to the SQL language have added additional functionality and flexibility within the program, letting you do more. The following are some of the new statements and clauses that can be utilized in SQL Anywhere 12.0.1: IN parameters of data types LONG VARCHAR, LONG BINARY, and LONG NVARCHAR now allowed in remote procedure calls USING clause of the CREATE SERVER statement can now contain variables AT clause of the CREATE EXISTING TABLE statement and CREATE PROCEDURE statement can now contain variables Enhancement to the RAISERROR clause of the MERGE statement and to the RAISERROR statement VALIDATE TEXT INDEX statement Extended syntax for TOP and LIMIT clauses
Additional Driver Support offers improved support for JDBC. JDBC is a call level interface for Java applications, providing you with a uniform interface to a wide range of relational databases, and a common base on which higher level tools and interfaces can be built. The JDBC driver now supports the following PreparedStatement.setClob methods for improved performance and memory usage when working with large strings and large character streams: PreparedStatement.setClob( int parameterindex, Clob x ) PreparedStatement.setClob( int parameterindex, Reader reader, long length ) Java and.net Improvements The SQL Anywhere Java VM ClassLoader which is used in providing Java in the database support now allows applications to install shutdown hooks. These shutdown hooks are very similar to the shutdown hooks that applications install with the JVM Runtime. When a connection that is using Java in the database support executes a STOP JAVA statement or disconnects, the ClassLoader for that connection will now run all shutdown hooks that have been installed for that particular connection prior to unloading. The.NET SetupVSPackage application now performs several installer functions such as updating the Global Assembly Cache and the Windows Microsoft.NET machine.config file. In addition, if SQL Server 2008 or later is installed on the system,.net SetupVSPackage also installs mapping files to import and export data to/from SQL Anywhere. UltraLite Enhancements The UltraLite database now supports Android smartphone and tablet devices. You can use the Android implementation of the UltraLiteJ API to create feature rich applications that use UltraLite databases. Data synchronization is also enabled between a consolidated database and an UltraLite database running on the Android device. 5
Advanced Data Synchronization also offers new improvements to MobiLink, SQL Anywhere s feature rich data replication and synchronization tool. The latest improvements to MobiLink offered in include: performance advancements, additional database support, and client enhancements. Performance The MobiLink synchronization server monitors performance and automatically adjusts the number of concurrent database worker threads as necessary. This feature allows deployments to achieve better throughput with less load testing. Given a wide enough range when launching the synchronization server, MobiLink automatically finds the number of database worker threads providing the best throughput. Consolidated Database Support The MobiLink server now supports Sybase IQ as a consolidated database. To set up Sybase IQ to work as a MobiLink consolidated database, you must run a setup procedure that adds MobiLink system tables, stored procedures, triggers, and views that are required for MobiLink synchronization. The MobiLink server on a Windows or Linux platform also supports consolidated databases running on Sybase Adaptive Server Enterprise 15.5. Synchronization Client Enhancements has also integrated the following improvements to MobiLink Clients: Automatic resumption of HTTP sessions When an HTTP connection is lost, MobiLink clients automatically attempt to reconnect to the MobiLink server and continue the synchronization. DER encoded keys are now supported for end to end encryption Support for public keys from x.509 certificates End to end encryption now supports public keys from x.509 certificates. Additional MobiLink Enhancements The MobiLink Agent for central administration of remote databases now supports two new variables for task conditions {is_online} and {network_conn_name}. The variable {is_online} can be used to check whether the client device is connected to a network on which the MobiLink server of the agent can be reached. The variable {network_conn_name} evaluates to the name of the network connection that is used by the Agent for communication with its MobiLink server. The MobiLink Agent can now be configured interactively on a remote device through a series of configuration windows. MobiLink Relay Server has also received additional features. The Relay Server Outbound Enabler (RSOE), for example, now supports HTTP authentication (Basic and Digest) against web servers and HTTP proxies. The following new (optional) network connection options have been added to the Outbound Enabler: http_userid Userid for authentication.
http_password Password for authentication. http_proxy_userid Userid for proxy authentication. http_proxy_password Password for proxy authentication. proxy_host Specifies the host name or IP address of the proxy server. proxy_port Specifies the port number of the proxy server. 7
SYBASE, INC. WORLDWIDE HEADQUARTERS ONE SYBASE DRIVE DUBLIN, CA 94568 7902 USA Tel: 1 800 8 SYBASE www.sybase.com Copyright 2010 Sybase, an SAP company. All rights reserved. Unpublished rights reserved under U.S. copyright laws. Sybase and the Sybase logo are trademarks of Sybase, Inc. or its subsidiaries. indicates registration in the United States of America. SAP, and the SAP logo, is the trademarks or registered trademarks of SAP AG in Germany and in several other countries. All other trademarks are the property of their respective owners. 02/11.