SAP Sybase SQL Anywhere New Features Improve Performance, Increase, and Ensure 24/7 Availability This SAP paper summarizes the key business benefits and new functionality of release 16.0 of SAP Sybase SQL Anywhere. It is written specifically for independent software vendors and customers who are using earlier versions of SQL Anywhere and who are considering upgrading to the new release. If you are currently using a release other than SAP Sybase SQL Anywhere 12, please contact your SAP sales representative for information on the value of upgrading to SAP Sybase SQL Anywhere 16. Although this document gives you some insight into the benefits of the new release, it does not describe all its benefits and functions just some of the changes from SAP Sybase SQL Anywhere 12 to SAP Sybase SQL Anywhere 16. Please refer to http://dcx.sybase.com/index.html#sa160/en for a general description of SAP Sybase SQL Anywhere 16. This document does not provide the detailed analysis you need to determine the specific value of upgrading to SAP Sybase SQL Anywhere 16 in your particular business situation. It can, however, provide a basis for a detailed discussion of your situation with an SAP representative. Quick Facts Summary SAP Sybase SQL Anywhere helps you rapidly design and power embedded database applications for mobile and remote environments that operate outside the traditional data center. This industry-leading relational database management system delivers enterprise caliber features, out-of-the-box performance, and robust synchronization to support mobile devices and remote offices. Business users rely on SAP Sybase SQL Anywhere to access vital data anytime, anywhere. The latest release provides enhanced developer productivity tools, additional security, and improved operational reliability.
Objectives Ensure consistent, reliable operations within mobile, remote, and non-traditional data center environments Speed design, development, and support of powerful applications that run remotely on servers, desktops, laptops, smartphones, tablets, and handhelds Optimize performance of mobile applications synced across thousands of mobile devices Secure business data from external and internal threats Solution Database mirroring ensures data and applications are always available for users New optimizations enable faster query response times Roles and privilege settings, additional encryption options, and disk sandboxing reduce security vulnerabilities Enhanced synchronize connects apps to broader data sets in remote areas, including SAP HANA Benefits Reliable, high-quality end-user experiences Protection for critical business data Faster time to market and internal deployment Robust 24/7 app performance for distributed and mobile environments Learn more Call your SAP representative or visit us online at http://www54.sap.com/solutions/tech/database/software/sybase-sql-anywhere/index.html Create Reliable, Robust Custom Applications SAP Sybase SQL Anywhere supports the implementation of mission-critical database applications for networked, embedded, and mobile environments. It delivers enterprise caliber features, high performance out of the box, and robust synchronization to support mobile devices and remote offices so business users can access vital data anytime, anywhere. With a focus on ease-of-use, self-management, and embeddability, SAP Sybase SQL Anywhere 16, the latest release, continues to advance database management software by providing innovative new features in the areas of performance, security,, developer productivity, and advanced data synchronization. This document will help you gain a better understanding of the new features of SAP Sybase SQL Anywhere 16 under these four areas, as well as new features added to support SAP HANA. Out-of-Box Performance SAP Sybase SQL Anywhere 16 has multiple new features that enhance database performance and use resources more efficiently. 2
Query Optimization SAP Sybase SQL Anywhere Optimizer improves performance by dynamically analyzing queries and the surrounding machine state, such as CPU speed, available RAM, and more. The optimizer uses this information to generate an execution plan that minimizes runtime. In this newest version, the optimizer can evaluate a much broader set of access plans during query optimization. The optimizer also has the ability to take better advantage of system resources to improve parallelism, which further increases performance for complex reporting and analysis queries. Advanced Data Synchronization The synchronization process has increased scalability and performance with synchronization performance improvements to the communications protocol and to the threading model used for synchronization. The new profiler and updated synchronization modeler make it easier than ever to manage the full synchronization lifecycle, from design, to testing, and to deployment. Finally, SAP HANA users can now build apps that run outside the data center using SAP Sybase SQL Anywhere and synchronize data from thousands of remote users directly with HANA. Support for SAP HANA In addition to being able to synchronize data from remote SAP Sybase SQL Anywhere and UltraLite databases to a HANA consolidated database, the SAP Sybase SQL Anywhere remote data access feature now allows developers to run ad hoc SQL or create proxy tables against a HANA database from a SAP Sybase SQL Anywhere connection using the new HANAODBC remote data access server class. You can also connect directly to HANA database from DBISQL. New features in SAP Sybase SQL Anywhere improve security and ensure that valuable business data is protected. Roles and Privileges A complete set of system privileges and roles increase security by following the principles of least privilege and separation of duties. A system privilege has been created for every privileged operation that can be performed in the system. When a user is assigned the role database backups, for example, that person has permission to do backups, and nothing else. A user could also be given permission to manage users and login policies. Administrators can assign users different roles, which combine privileges into logical groups. SAP Sybase SQL Anywhere includes many predefined roles, and it supports the ability to create roles. For upgrades, version 12 authorities, permissions, and groups have been replaced with roles, privileges, and user-extended roles in version 16. 3
New additions include: More than 80 grantable system privileges and 11 grantable object privileges Administration for each grantable privilege may be delegated to one or more lesser administrators More than 20 system or compatibility roles that allow you to upgrade without having to make any changes to your permissions setup More flexibility for user-defined roles due to the increased number of grantable system privileges Role administration may be delegated Database may be configured to run without the need for a database administrator with unlimited power Raw Encryption SAP Sybase SQL Anywhere 16 encrypts and decrypts data using standard encryption algorithms, ensuring that data is not compromised when it is imported into and exported out of the database. The ENCRYPT function can encrypt data inside the database server and then it can be output into a raw format so that it can be decrypted outside of the database (with the key). Also, the DECRYPT function can decrypt data encrypted outside of the database server. Disk Sandboxing Disk sandboxing limits vulnerabilities by locking down the server and limiting read-write file operations executed from the database server to the directory on the underlying file system where the main database file is located. When disk sandboxing is enabled, relative path names are treated as relative to the directory where the main database file is located. When disk sandboxing is not enabled, relative path names are relative to the working directory of the database server. 24/7 Reliable Operations With SAP Sybase SQL Anywhere 16 the database system and apps have higher availability and provide a more reliable high-quality end user experience. Database Mirroring Database mirroring helps maintain system reliability and improve performance in heavy read applications. If the server fails or the system must be taken offline for maintenance, a live, mirrored version will come online to maintain availability. Administrators can now change the mirror system configuration and add or remove nodes without taking the system offline. Events can now run on the mirror server and copy nodes in mirroring and read-only scale-out systems. Improved Error Handling The database server is more robust when dealing with fatal errors. When a database specific assertion occurs, for example, the database server can now take only that database offline, leaving the server up and available for any other databases still running on it. Similarly, on the client side, if a client receives an out-of-memory error while executing a database operation, rather than terminate the application, the database client now returns the error to the application and gives the application the opportunity to handle it. Online Schema Updates The database server now supports the creation of new indices on tables without requiring exclusive access to the table for the entire duration of the create index statement. Users can continue to access the table while the index is being created. 4
Similarly, new columns can be added to tables without blocking user access to other columns in the table. Event Tracing Application developers can use event tracing in production systems with minimal performance impact to more easily debug and troubleshoot application issues. Event tracing records information about system-defined and user-defined trace events to an event tracing target. A trace session is made up of trace events (specific points in the database server software or your SQL application) that collect information that is logged to a target, such as a file). Event trace files can be merged, filtered, or translated to readable forms such as text or XML. Event tracing helps you identify: Specific error conditions Assertions SQL traces Deadlock detection Concurrency issues Database media corruption User-caused events (SQL errors) Developer Productivity Develop, design, and troubleshoot apps and system operations with these new features in SAP Sybase SQL Anywhere 16. OData Support SAP Sybase SQL Anywhere has added web services support. The OData Server allows web clients to communicate with an SAP Sybase SQL Anywhere database server using the OData protocol. Web clients can send OData requests to a configurable OData Producer hosted in an HTTP server, which converts OData concepts into relational database operations. The following new features are included in OData support: OData Server utility OData Producer Embedded Jetty WebServer (with alternative HTTP server support) OData protocol version 2 compliance Row and Array Support SAP Sybase SQL Anywhere simplifies programming and makes it easier to access data with new support for ROW and ARRAY data types. A ROW constructor and an ARRAY constructor support composite data types that can be used as variables, procedure parameters, and function return types. SQL functions and procedures accept ROW and ARRAY data types as IN, OUT, or INOUT arguments. ROW and ARRAY types can be used in: SELECT, INSERT, UPDATE, MERGE, and DELETE statements Transact-SQL and Watcom-SQL stored procedures Functions Triggers Batches 5
New or Enhanced Functionality Improved query optimization Advanced data synchronization with SAP HANA Support for SAP HANA Roles and privileges Raw encryption Disk sandboxing Certificates stored in database Dual-control passwords LDAP authentication Database mirroring Improved error handling Online schema updates Event tracing OData support Row and array support Technical Benefits Out-of-the-box performance Out-of-the-box performance Out-of-the-box performance Developer productivity Developer productivity 6
Copyright Copyright 201 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.