Quantcast
Channel: SCN : All Content - SAP SQL Anywhere
Viewing all 647 articles
Browse latest View live

dbisql command line options

$
0
0

Hi all,

 

I've just added a HANA client to my computer and came across a few details when trying to connect to HANA using interactive SQL.

1. (this is not precisely HANA related, but came to my attention in this context) There are command line options to advise dbisql to connect to a HANA (-hana), IQ (-iq) or UltraLite (-ul) database, but I didn't find any for SQL Anywhere or Generic ODBC. When starting dbisql without parameters, the connect dialog box is preset with the database type I had picked the last time. I think additional options for these two types would be systematic.

2. When connecting to HANA using an ODBC data source, the ODBC style connection parameters UID and PWD are not recognized. "user" and "password" are expected instead.

dbisql -hana -c "dsn=VolkerOnMonsoon;uid=Volker;pwd=Ger0nimo" doesn't recognize the userid / user name and prompts for missing connection parameters.

dbisql -c "dsn=VolkerOnMonsoon;uid=Volker;pwd=Ger0nimo" works, but gets me a generic ODBC connection.

dbisql -hana -c "dsn=VolkerOnMonsoon;user=Volker;password=Ger0nimo" works and gets me a qualified HANA connection.

dbisql -datasource VolkerOnMonsoon -c "user=Volker;password=Ger0nimo" dto.

dbisql -datasource VolkerOnMonsoon -c "uid=Volker;pwd=Ger0nimo" brings me to a SAP HANA connect dialog without user name or password preset.

(of course Ger0nimo is not the real password)

What I would consider consistent: At least when connecting using an ODBC data source name, ODBC connection parameters should be recognized, regardless of database type. If dbisql recognizes that the data source is one of the explicitly supported systems, all the better.

 

What do you think about my ideas?

 

Thanks & regards

 

Volker


SAP SQL Anywhere

$
0
0

How can I add Users so that they can download revisions to SAP SQL Anywhere 16

Optimizing SQL Anywhere 16 Performance Over a WAN

$
0
0

Optimizing SQL Anywhere PerformanceOver a WAN

 


 

Introduction

This document discusses tuning performance for an SQL Anywherenetwork server that is running over a WAN. TCP/IP is theprotocol of choice for WAN implementations and is the main focus of thisdocument. Note that network performance tuning is an iterative process ofdetermining what works best with a particular application and network.

The recommended steps for optimizing the performance of your application are:

  1. Measure the performance of the network you plan to run your application on.
  2. Based on the network performance, tune your application to reduce requestsand/or to reduce the amount of data transferred.
  3. Based on the network performance, tune SQL Anywhere’s serveroptions and connection parameters to maximize performance.
  4. Consider the implications of your tuning on LANs or same-machine operation.

In many cases, tuning an application can have a more significant performanceimpact than tuning SQL Anywhere.


Measuring network performance

Latency and throughput can be used together to describe the performance of anetwork. Latency refers to the time delay between when one machine sends apacket of data and the second machine receives the data (for example, if thesecond machine receives the data 10 ms later than the first machine sent it, thelatency is 10 ms). Throughput refers to the amount of data that can be transferredin a given time (for example, if a one machine sends 1000 KB of data, and it takes5 seconds for all of it to be received by the second machine, the throughput is200 KB/s). On a LAN, latency is typically less than 1 ms, and throughput istypically 10 MB/s or more. On a WAN, the latency is typically significantly higher(perhaps 1 ms to 500 ms), and the throughput is typically lower(perhaps 6 KB/s to 2 MB/s).

You can measure network latency between two machines by the round trip timereported by the system’s ping utility. The round trip time is the latency to transferdata from one machine to a second machine plus the latency to transfer data fromthe second machine back to the first machine. You can measure networkthroughput by copying a file of a known size of at least 200 KB from one machineto a second machine and timing the copy. This copy could be performed as aregular file copy, using FTP, or by downloading a file using an Internet browser.

Another way to get an estimate of both latency and throughput between two machines is to run a SQL Anywhere network server on one machine (ensure the database server is not already heavily loaded) and run the following on the second machine:

dbping -d -c <connection string to network server> -st 10

Note that for high throughput networks, the throughput values reported by dbping may be lower than the actual throughput of the network.

To get reasonable SQL Anywhere performance on a network that hashigh latency, but reasonable throughput, the number of requests made by theclient must be minimized. If a network has reasonable latency, but low throughput,the amount of data transferred between the client and server must be minimized.


Tuning your application to improve WAN performance

Changing your application to implement the following suggestions generallyreduces both the number of requests and the amount of data transferred. Thesesuggestions can also help improve application performance in any environment(standalone, LAN, and WAN).

  • Move logic that requires many SQL statements from the application to one ormore stored procedures or functions.
  • If the same basic SQL statement is used more than once, consider preparingthe statement once and executing it multiple times with different parameters.
  • Ensure your application is not executing queries or SQL statements more oftenthan necessary. If a particular query is executed more than once, considerchanging the application to cache the results the first time the query isexecuted, and then use the cached values instead of re-executing the query.
  • Combine queries that get one property, function, or variable value into onemultiple-column query. Suppose you want to execute the following queries:SELECT current user, SELECT @@servername, and SELECT connection_property('BytesSent'). Instead of executing three queries,use a single query:

            SELECT current user, @@servername, connection_property( 'BytesSent' )

  • Avoid doing joins in the application with multiple queries if it is possible to dothe join in the server. If an application executes a query, and then executes asecond query using the result from the first query, you may essentially bejoining multiple queries together in your application. If it is possible to do thejoin using one query instead of many, this can significantly improveperformance. As a simple example, if your application executed the querySELECT T.x FROM T WHERE <conditions on T> ORDER BY <order>, andthen for each value of T.x, did SELECT R.y FROM R WHERE R.z = <value of T.x>, then this can be combined into the single query SELECT T.x, R.y FROM T, R WHERE <conditions on T> AND R.z = T.x ORDER BY <order>.
  • Avoid setting options after initializing a connection, avoid DDL (Data Definition Language), and avoid dropping connection variables. These can cause client statement caching to not be able to reuse a cached statement.  These can also cause cached plans to not be able to be reused.  Using DDL in a production system can result in a number of potential performance issues including overall slow performance during the DDL operation, and side effects such as procedures needing to be reloaded into the server's memory.
  • Avoid many short running connections when a single long running connection could be used instead.  In cases where this is not possible (such as from a web server), consider using connection pooling.  SQL Anywhere has built-in connection pooling that can be configured to improve performance depending on the application (for the SQL Anywhere .NET Data Provider use the POOLING connection parameter, and for other client APIs use the ConnectionPool connection parameter).
  • When working with third-party development tools (for example, PowerBuilder,Visual Basic, or Delphi), check whether there are any application-specificsettings you can make to increase your performance. For example, inPowerBuilder, changing the BLOCK connection property sometimes improvesapplication performance over a WAN.


Reducing the number of requests

The following suggestions may reduce the number of requests, which isparticularly beneficial if your network has high latency. These suggestions mayalso improve performance on other networks.

  • Use bound columns to fetch data instead of using get data. This reduces thenumber of requests, especially when fetching the first row from a cursor.
  • Combine SQL statements into a batch (a sequence of SQL statementsseparated by semicolons that are all executed as if they were one statement)where possible.
  • Disable autocommit and commit explicitly only when necessary to eliminateextra commit requests (a commit or rollback should be performed in mostcases before waiting on user input to avoid excessive blocking).
  • Use wide fetches (also referred to as increasing the row set size) and wideinserts (also referred to as using arrays of parameter values). These fetch orinsert multiple rows in one request, instead of using one request per row.Prefetch also fetches more than one row per request.


Reducing the amount of data transferred on the network

The following suggestions generally reduce the amount of data transferred, whichis particularly beneficial if your network has low throughput. These suggestionsare unlikely to decrease performance on other networks.

  • Consider using stored procedures for large database queries. This eliminatesthe need to send a large statement to the server across the network byallowing you to send a small CALL statement to execute the query.
  • If you know that you will only be fetching the first row (or first few rows) of aquery, add a FIRST or TOP n clause to the query. If you want to skip the firstfew rows in a query, use the START AT clause. These clauses prevent rowsthat you won't use from being transferred, particularly if prefetch is enabled.Adding these clauses can also help the query optimizer know how to executethe query more efficiently.

 

Tuning SQL Anywhere toimprove WAN performance

The following suggestion can tune SQL Anywhere so your applicationruns better on a WAN, independent of your network’s latency and throughput.

  • Consider increasing the liveness timeout if your connections are droppedbecause of liveness. Increasing this value does not improve performance, butyou should increase this value if your connection keeps timing out due toliveness. The option can be set at the client (using the LivenessTimeoutconnection parameter) or the server (-tl). Using the LivenessTimeoutconnection parameter, you could change the liveness timeout only for WANconnections.


In most cases the following suggestions reduce the number of requests, which isparticularly beneficial if your network has high latency:

  • Consider changing the prefetch behavior. When your application fetches a row,SQL Anywhere may prefetch additional rows depending on thecursor type and other factors. Prefetch can reduce requests and significantlyimprove performance, particularly on high latency networks when a largenumber of rows are fetched from a cursor. Note that absolute fetches, relativenegative or relative 0 fetches, rollbacks, and certain get data operations cancause prefetch rows to be discarded and re-fetched, which decreases performance. Prefetch is best used on forward-only, read-only cursors, whenmore than just the first row is fetched. If your application fetches many rowsfrom each cursor and only uses fetch next operations, using the PrefetchRowsand PrefetchBuffer connection parameters may improve performance, although the default values are usually sufficient.Prefetching many rows when the application only fetches part of the result setcould potentially decrease performance. Additionally, an ODBC and JDBC applications can benefit from the PrefetchOnOpen connection parameter ifmany cursor opens are done.  Avoid the use of value sensitive cursor types (including ODBC DYNAMIC and KEYSET and ESQL SENSTIVE and SCROLL types) unless they are absolutely necessary for correctness since these cursors cannot prefetch.
  • Consider using the LazyClose connection parameter, particularly when manycursors are opened and closed. This eliminates an extra request when closinga cursor.

 

The following suggestions may be beneficial if your network has low throughput:

  • Consider using communication compression (the server’s -pc option or theclient’s Compression connection parameter). Using communicationcompression reduces the amount of data transferred, and the number ofpackets transferred, but it does not reduce the number of requests.Communication compression can be particularly beneficial on large fetches,multi-row fetches, or BLOB operations. Note that communication compressionuses more CPU and memory on both the client and the server. As a result, itcan cause poorer performance in some cases, and in most cases decreasesperformance on a LAN. By using the client’s Compression connectionparameter, you can enable communication compression for WAN connectionsonly.
  • Consider using the ReceiveBufferSize and SendBufferSize TCP/IP protocoloptions on both the client and the server. These options pre-allocate memoryin the protocol stack for sending and receiving TCP/IP packets. Preallocation ofmemory inside the protocol stack can increase client/server performance fornetwork-intensive applications. The default value is machine dependent, andvalues in the range of approximately 65 536 to 262 144 bytes are reasonablefor experimentation.
  • If your application only uses the first row from a cursor, disabling prefetch usingthe DisableMultiRowFetch connection parameter can improve performance.Instead of using DisableMultiRowFetch, you may get better performance bychanging the application to use the FIRST clause on queries where you onlyfetch the first row as suggested in the application tuning section above. UsingDisableMultiRowFetch can cause poorer performance in many cases, includingon faster networks.

  Here are some suggested settings you can use to start tuning. Start with thesesettings and adjust them in your test environment to see how they affectperformance. Try adding and removing the server options and connectionparameters mentioned above and see how they affect performance. It is not anexact science and requires some trial and error to get the best performance in your particular network environment with your particular application.

For information about potential LAN performance implications, see"Performance implications for LANs and same-machine operation" below.


Database server command-line options

dbsrv16 -x TCPIP(SendBufferSize=100000;ReceiveBufferSize=100000)-n server_name ...


Client connection parameters

Note that PrefetchOnOpen is for ODBC and OLE DB only.  If you do not see any improvement from the SendBufferSize and ReceiveBufferSize, it is recommended that instead of the CommLinks=TCPIP(…) in the example below, you use HOST=w.x.y.z:port for simplicity.  A host name or IPv6 address can be used instead of w.x.y.z, and :port is not necessary if the server is using port 2638 (the default).

"ServerName=server_name; Compression=Yes; CommLinks=TCPIP(Host=w.x.y.z:port; DoBroadcast=NONE; SendBufferSize=100000; ReceiveBufferSize=100000); PrefetchOnOpen=Yes; LazyClose=Yes; ..."


Note

The options listed here are communication oriented. There are other optionsto consider that can make the server more efficient in all environments (forexample, cache size and database page size). Refer to your SQL Anywhere documentation for more information.


Performance implications for LANs andsame-machine operation

If your application is also going to be running in a LAN environment, don't forget totest your SQL Anywhere communication options there as well, asthere may be a need to adjust these options for that environment.


All of the application tuning suggestions mentioned in this document typicallyimprove or at least maintain performance in LAN and same-machineconfigurations.


The following SQL Anywhere WAN tuning suggestions may causepoorer performance on a LAN or for same-machine operation. They should onlybe enabled for WAN clients, or after LAN testing has verified they also increaseperformance on the LAN:

  • Changing the liveness timeout can cause severed connections to goundetected for long periods of time.
  • Enabling communication compression often results in slower performance onLANs where the increased memory and CPU usage outweigh potentialthroughput gains.
  • Changing the prefetch settings (PrefetchRows, PrefetchBuffer andDisableMultiRowPrefetch). All prefetch settings have the potential to increaseor decrease performance depending on the application and environment.


SQL Anywhere Whitepapers - A Selected List

$
0
0

The following are links to some useful SQL Anywhere whitepapers (both business- and technical-oriented) that are available in the SQL Anywhere SCN Community.  You can browse the complete list of documents here.

  • Migrating SQL Anywhere database applications to ASE. Some Sybase customers may need to explore the possibility of migrating one or more SQL Anywhere applications to ASE servers to consolidate their server environments, or to take advantage of some specific ASE product features. This white paper outlines the major differences between the two systems, specifically comparing SQL Anywhere 12.0.1 with ASE 15.5.
  • SQL Anywhere I/O Requirements for Windows and Linux. Database servers need to be able to guarantee that data gets to stable storage to ensure that committed transactions persist and to properly implement recovery in case of power loss. Operating systems and storage devices cache and reorder write operations in order to improve performance. Running a database server on an improperly configured system can lead to data loss and file corruption. This document aims to provide the background necessary to understand the durable storage requirements and I/O semantics of SQL Anywhere.
  • Capacity Planning with SQL Anywhere:We present an overview of issues to consider when designing a performance evaluation of SQL Anywhere. In particular, we outline potential pitfalls when designing a benchmark based on a specific database application. We address issues related both to the construction of a model database instance, and a model application workload, and outline an approach to construct a model of performance to determine the relative importance of various performance factors, such as database cache size and the server multiprogramming level. The paper contains several examples illustrating the potential of negative scalability that can occur when executing concurrent requests in an SMP environment, and how these scenarios can be generated easily by artificial contention caused by poorly-defined workloads.
  • Diagnosing Application Performance Issues with SQL Anywhere: This whitepaper presents a method for troubleshooting performance problems in SQL Anywhere, with a focus on version 10. It describes the nature of performance problems and classifies them into categories of CPU-bound, I/O-bound, and concurrency-bound problems. We describe the steps a DBA should take to classify a performance problem, the tools provided in the product to examine the problem, and the analysis that must be done to resolve it.
  • Analytic Functions in SQL Anywhere:This whitepaper includes details and examples of the OLAP support in the 10.0.0 release of SQL Anywhere.
  • Optimizing SQL Anywhere Performance Over a WAN : This document discusses tuning performance for an Adaptive Server Anywhere network server  that is running over a WAN. TCP/IP is the protocol of choice for WAN implementations and is the main focus of this document. Note that network performance tuning is an iterative process of determining what works best with a particular application and network.  An older version of this document can be found here: Optimizing Adaptive Server Anywhere Performance Over a WAN
  • Mixed-Typed Comparisons In Adaptive Server Anywhere 9: This document describes the semantics of evaluating comparisons where the comparands have different data types. It describes the algorithms Adaptive Server Anywhere 9 uses to estimate selectivity, choose indexes, and evaluate these comparison predicates. In particular, the following issues are discussed: (1) What semantics are used for a comparison with arguments of different types? and (2) When can Adaptive Server Anywhere use an index if the type of the indexed column is not the same as the comparand?
  • Semantics and Compatibility of Transact-SQL Outer Joins: Transact-SQL outer joins are specified using the special comparison operators '* ='and '= *'. Using one (or more) of these operators in a query specifies an outer join between two tables in the From clause, though the semantics of such queries can be unclear. This is because TSQL outer join semantics were never formally defined, and in older releases of Adaptive Server Enterprise and Adaptive Server Anywhere the results of TSQL outer join queries could depend upon the access plan chosen by the optimizer. This iAnywhere Solutions' Technical White Paper describes the semantics of TSQL outer joins in detail, and in particular outlines the differences in support for TSQL outer joins between ASE and ASA. Because of these differences, iAnywhere Solutions recommends that customers use ANSI outer join syntax, rather than Transact-SQL outer join syntax, in their applications.
  • Improving Performance in SQL Anywhere:  So you want to improve performance? Join the club. Performance is an issue on everyone's agenda, since faster and better mean more effective, and ultimately, more profitable. While Adaptive Server Anywhere is designed to give you great performance right out of the box with very little intervention on your part, there is always room to fine tune your database to give you even better results.

Featured Content for SAP Sybase SQL Anywhere

$
0
0

SAP Sybase SQL Anywhere

This video will walk you through the ideal use cases for using SQL Anywhere data management and synchronization technology.

 

SAP Sybase SQL Anywhere, on-demand edition

This video explains how SQL Anywhere, on-demand edition works and why it is the ideal cloud data management solution for Saas application vendors.

 

A Guide to Downloading SAP SQL Anywhere Support Packages

This document describes in detail where to find the SQL Anywhere support packages and how to download them.


Interfacing with GPIO on Embedded Linux

This tutorial on the SQL Anywhere Wiki demonstrates how interfacing with GPIO can be done on embedded Linux platforms such as the Raspberry Pi.


Optimizing SQL Anywhere Performance Over a WAN

This document is an update to the SQL Anywhere WAN performance tuning document published many years ago.

Subscribing to MS SQL transactional replication

$
0
0

Hello, all

Has anyone tried syncing data from MS SQL to SAP SQL anywhere (v16) using MS SQL transactional replication instead of Mobilink?

Is it even possible?

 

The replication is upload-only, i.e., the MS SQL log is scanned and relevant data is published, but nothing comes back from the SQL Anywhere DB.

 

Anyone tried that?

 

Thank you

Arcady

SQL Anywhere Client Interfaces

$
0
0

The following table lists the version numbers for the client interfaces supported by SAP SQL Anywhere.

 

SQL Anywhere Version
Interface10.0.111.0.112.0.116.0
ODBC
ODBC 3.5XXXX
OLE DB
OLE DB 2.5XXXX
ADOCE 3.1X
ADO.NET
.NET Framework 1.xX
.NET Framework 2.0XXXX
.NET Framework 3.xXXXX
.NET Framework 4.xXXX
.NET Compact Framework 1.xX
.NET Compact Framework 2.0XXXX
.NET Compact Framework 3.xXXXX
Embedded SQL
Embedded SQLXXXX
JDBC
JDBC - Type 1 (iAnywhere JDBC)XX
JDBC - Type 2 (SQL Anywhere JDBC)XX
JDBC - Type 4 (jConnect)XXXX
JDBC 2.0XX
JDBC 3.0XXX
JDBC 4.0XX
Open Client
Open Client 12.xXXXX
Open Client 15.xXXXX
PHP
PHP
Click here
Perl
Perl DBD
Click here
Python
PythonXXXX
Ruby
RubyXXXX
Django
DjangoXXXX

Recommended ODBC Drivers for MobiLink

$
0
0

Please follow the appropriate link for the recommended ODBC drivers for your MobiLink version:

 


Mobilink (v9.0.2.3924) Synchronization Error -10023

$
0
0

First, I hope this is the right place for posting this discussion, as I've searched and searched and couldn't find any specific 'Places' for Mobilink or Ultralite... The issue I'll be asking about involves a rather old version of Mobillink and Ultralite (v9.0.2.3924), so I really hope someone has some comments that might help.

 

This problem pertains to the following Mobilink error message when synchronizing mobile devices containing an Ultralite remote database which has been restored from a backup file (.bak copied to .udb): "Error [-10023] The remote database may have been restored from backup, or perhaps user name 'XYZ' is being used by different remote databases. Set ml_user.commit_state to zero to re-enable synchronizations for this user."

 

The remote database on the mobile device has indeed been "backed-up and restored" by the mobile application. It simply closes the database and copies the .udb file to another filename with a .bak extension, and then, if the user ever needs to, or the mobile application detects that the current database is corrupt, it can be restored from the backup file, which simply deletes the current database and copies the .bak file to the originally named .udb file. However, we always receive the error message (-10023 noted above) from the Mobilink Server whenever we perform a synchronization operation when using a restored database. I've seen some postings indicating that there's some kind of "internal sequence number or key" in the remote database which is applied during synchronization to determine if the database has been restored, but I've been unable to find answers to the following questions:

  1. How does a mobile application "properly" backup and restore a remote database (.udb) file, in-case of corruption, to where Mobilink will not generate this error message?
  2. Can we somehow, obtain the "internal sequence number or key" from the current database (even if it's by opening the file in binary-mode and seeking to a byte position) and then use that value to overwrite the one in the backup (.bak) file so when it's restored the Mobilink Server won't notice it during synchronization?
  3. Are there any methods to trap and automatically handle this synchronization error [-10023] on the Mobilink Server? Like "somehow" trap this error and execute a stored procedure in the appropriate Consolidated database (Oracle) so that ml_user.commit_state gets set to zero for the user mentioned?

 

Just looking for ANY kind of solution, and unfortunately, at this time, we do not have the luxury of being able to upgrade to the latest-and-greatest version of Sybase/SQL Anywhere/Mobilink/Ultralite; so that won't be an option.

 

Any assistance would be greatly appreciated!

Thank you for your time.

Replication from MS SQL DB to SAP SQL Anywhere

$
0
0

Hello, all

I would like to inquire what would be the best practice to replicate data in numerous tables of MS SQL DB to tables with similar structure in SAP SQL anywhere.

 

I would prefer to use built-in features from both suppliers, like change tracking in MS SQL and Mobilink in SQL Anywhere.

Due to large amount of data, I need to make sure that only actual changes are uploaded to the SQL Anywhere DB, so putting a Mobilink server on the MS SQL itself + adding timestamp fields on all replicated tables is not a preferred option.

 

Does anyone have any experience with this?

 

Thank you

Arcady

SQL error: Internal database error *** ERROR *** Assertion failed: 201501 (10.0.1.3415)

$
0
0

A SQLA10 production database has been crashing at a customer site.

Here's the error which displayed when I tried to unload the database...

 

Unloading "DBA"."schedule_profile" into C:\resq\resqprod2\db\unload\719.dat (relative to server)

Unloading "DBA"."schedules" into C:\resq\resqprod2\db\unload\720.dat (relative to server)

***** SQL error: Internal database error *** ERROR *** Assertion failed: 201501 (10.0.1.3415)

Page for requested record not a table page or record not present on page -- transaction rolled back

The database 'C:\resq\resqprod2\db\resqprod2.db' could not be unloaded.

The database 'C:\resq\resqprod2\db\resqprod2.db' could not be unloaded.

 

I think that backups may also have this error.

Can the database be salvaged?

 

Thank you,

Doug

SQL Anywhere and PHP connection

$
0
0

Hi,

 

I am trying to connect to a SQL anywhere database, but its not working.


I have done the following:

 

1) Installed SQL anywhere 16, and created a database/personal server.

2) Installed WAMPSERVER

3) Added the dll file to the ext directory of www

3) Added the dynamic extension

 

But when I go to localhost/phpinfo.php, the sqlanywhere extension is not there, and I get a fatal error when running the code.


Please help...


Natalie

SAP SQL Anywhere 16 Supported Kerberos Clients

$
0
0

The following Kerberos clients/runtimes have been tested with SQL Anywhere 16

 

  • Windows (32-bit)
    • MIT Kerberos for Windows 2.6.5 (Kerberos V5 Release 1.3.5)
    • MIT Kerberos for Windows 3.2.2 (Kerberos V5 Release 1.6.3)
    • CyberSafe TrustBroker Application Security Runtime Library 3.1.1
    • Microsoft SSPI, which is built into Windows. Security Support Provider Interface (SSPI) can be used with the Active Directory Kerberos Key Distribution Center (KDC) by SQL Anywhere clients, but not SQL Anywhere servers or other KDCs

 

  • Windows (64-bit)
    • MIT Kerberos for Windows 3.2.2 (Kerberos V5 Release 1.6.3, 64-bit version distributed by Secure Endpoints)
    • CyberSafe TrustBroker Application Security Runtime Library 4.2.4 (x86_64)
    • Microsoft SSPI, which is built into Windows. Security Support Provider Interface (SSPI) can be used with the Active Directory Kerberos Key Distribution Center (KDC) by SQL Anywhere clients, but not SQL Anywhere servers or other KDCs

 

 

  • Solaris, HP-UX and IBM AIX
    • MIT Kerberos 5 versions 1.4 and 1.8.3 Kerberos clients
    • Note: Other properly configured GSS-API Kerberos clients may work, but are not tested or officially supported

 

 

SQL Anywhere does not support Kerberos on Windows Mobile.

SAP SQL Anywhere Supported Kerberos Clients

Relay Server Supported Web Servers for SAP SQL Anywhere

$
0
0

The following table lists the platforms that support the Relay Server in SAP SQL Anywhere.

 

SQL Anywhere 16

Relay Server

Windows

x86

Windows

x64

Linux

x86

Linux

x64

Microsoft Internet Information Services (IIS) 6.0, 7.0, 7.5 and 8.0

X

Apache 2.2.x

X
Apache 2.4.xX

 

SQL Anywhere 12

Relay Server

Windows

x86

Windows

x64

Linux

x86

Linux

x64

Microsoft Internet Information Services (IIS) 6.0, 7.0 and 7.5

XX

Apache 2.2.x

XX1

 

1 Relay Server on SQL Anywhere 12.0.0 requires the use of EBF #2611 or higher.

 

The following Web servers have been tested with the Relay Server.

 

Relay ServerWeb ServerOperating System
ISAPIMicrosoft IIS 6.0 on 32-bit OSWindows Server 2003 R2
Microsoft IIS 6.0 on 64-bit OSWindows Server 2003 Enterprise x64 Service Pack 2
Microsoft IIS 7.0 and 7.5 on 32-bit OSWindows Server 2008 R2
Microsoft IIS 7.0 and 7.5 on 64-bit OSWindows Server 2008 R2
Microsoft IIS 8.0 on 64-bit OSWindows Server 2012
ApacheApache 2.2.8 on 32-bit OS32-bit Linux RedHat Enterprise 5 (Kernel 2.6.18-8.el5)
Apache 2.2.15 on 32-bit OS32-bit Linux RedHat Enterprise 5 (Kernel 2.6.18-8.el5)
Apache 2.2.15 on 64-bit OS64-bit Linux RedHat Enterprise 5 (Kernel 2.6.18-92.1.1.el5)
Apache 2.2.21 on 64-bit OS64-bit Linux RedHat Enterprise 6 (Kernel 2.6.32-71.el6)
Apache 2.4.2 on 64-bit OS64-bit Linux RedHat Enterprise 6 (Kernel 2.6.32-71.el6)

SAP SQL Anywhere 16.0 Components by Platforms

$
0
0

The following tables list components that are available across each platform supported by SAP SQL Anywhere. Note that, with a few exceptions, components that are available in all supported platforms are not listed. For ease of reading, the platforms are grouped by operating system vendor, operating system name and processor architecture.

 

Information about support for a specific operating system version is located at SAP SQL Anywhere Supported Platforms and Engineering Support Status.

 

The following tables are available:

 

  1. Databases
  2. Synchronization, Messaging and Replication
  1. Administration Tools
  2. Documentation

 

 

 


 

 

 

Databases

 

SQL Anywhere

 

Note: SQL Anywhere 16 database servers support connections from client applications using software from version 6.0.0 or later. Version 5 and earlier clients cannot connect to a version 16 database server.

Components

Microsoft WindowsLinuxSun SolarisApple OS XIBM AIXHP-UX
x86x64Mobilex86x64ARMSPARCx64x86x64PPCIA64
Personal database serverXXXXXXXXXX26
Network database serverXXXXXXXXXXX26
Remote data accessXXXXXXX
External stored proceduresXX2XXXXXXX
Dynamic cache sizingXXXXXXXXXX
C++ development toolsXXXXXXXXX
5.0 Compatibility DLLsX
International Resource Deployment KitXX
Accessibility enablementX
SamplesXXXXXXXXXXX
Sun JRE 1.7XXXXX
RSA Encrypted Client-Server CommunicationsXXXXXXXXXXX
Java in the databaseXXXXXXXXX
Kerberos clients 32XXXXXXX
LDAP authenticationXXXXXXXX
OData componentsXXXX
ComponentsMicrosoft WindowsLinuxSun SolarisApple OS XIBM AIXHP-UX
x86x64Mobilex86x64ARMSPARCx64x86x64PPCIA64
Interfaces
ODBC 3XXXXX23XX23X23XXX23X23
OLE DBXXX
ADO.NETXXX
Embedded SQLXXXXX23XX23X23XXX23X23
Open ClientXXXX23XX23
SQL Anywhere JDBC 5XXXX23XX23XXXX23X23
jConnectXXXX23X23XXX23X23
PHPXXX
Perl DBDXXXXXXXXXX
Database toolsXXXXX23XX23X23XX23X23
Database utilities
Histogram (dbhist)XX
Language (dblang)XX
Service creation (dbsvc)XXXXX
All other utilitiesXXXXXXXXXX
ComponentsMicrosoft WindowsLinuxSun SolarisApple OS XIBM AIXHP-UX
x86x64Mobilex86x64ARMSPARCx64x86x64PPCIA64
Separately licensed components
FIPS Approved Encrypted Client-Server CommunicationsXXXX
High availabilityXXXXXXXXX
Read-only scale-outXXXXXXXXX

UltraLite

 

ComponentsMicrosoft WindowsRIMGoogleApple
x86/x64MobilePPC 2003BlackBerryAndroidiOSOS XJava ME/SELinux x64 24Linux ARM
UltraLite databasesXXXXXXX
UltraLite engineXXXX
UltraLiteJXX33XX
Runtime APIs
UL embedded SQLXXXXX
UL C++ componentXXXXXXX
UltraLite.NETXX10X10
Synchronization
TCP/IPXXXXXX
HTTP or HTTPSXXXXXXXXX
ActiveSync 8XX
RSA Encrypted MobiLink CommunicationsXXXXXXX
Separately licensed components
FIPS Approved Encrypted MobiLink CommunicationsXX

Synchronization, Messaging and Replication

 

MobiLink

 

ComponentsMicrosoft WindowsLinuxSun SolarisApple OS XIBM AIXHP-UX
x86x64Mobilex86x64ARMSPARCx64x86x64PPCIA64
MobiLink Server
MobiLink synchronization serverXX15XX27,34XX
.NET synchronization logicXX15
Java synchronization logicXX15XXXX18

Notifier 28

XX15XXXX18
RSA Encrypted MobiLink CommunicationsXX15XXXX
Samples
SamplesXXXXX
Relay Server
Relay ServerXX
MobiLink Profiler
MobiLink ProfilerXXXXXX
MobiLink Client
MobiLink client for SQL AnywhereXXXXXXXX

Listener

XX4X

MobiLink ActiveSync provider 22

X
RSA Encrypted MobiLink CommunicationsXXXXXXXXX
Separately licensed components
FIPS Approved Encrypted MobiLink CommunicationsX

X15

XX

X15

 

For a list of platforms that can run the Relay Server and a list operating systems that it was tested on, please refer to this document.

 

The MobiLink server communicates with the consolidated databases through an ODBC driver. The ODBC driver may not be available for some consolidated databases on some platforms. The consolidated database and MobiLink server are not required to run on the same platform. Provided the consolidated database is running on a supported platform as specified by the database vendor, and the MobiLink server is communicating with the consolidated database using a supported ODBC driver, this is considered a supported MobiLink server configuration. The following table lists the platforms that can run the MobiLink server for supported consolidated databases.

 

For more details about the ODBC drivers, please refer to the document Recommended ODBC Drivers for MobiLink.

 

Consolidated databasesMicrosoft WindowsLinuxSun SolarisApple OS XIBM AIXHP-UX
x86x64Mobilex86x64SPARCx64x86x64PPCIA64
SAP SQL Anywhere 12.0.1 and 16.0XX15XXXX
SAP HANA

X15

X
SAP Adaptive Server Enterprise 15.5 and 15.7X15X
SAP IQ 15.4X15X
Oracle 10g and 11gXX15XXX
Microsoft SQL Server 2008 and 2012XX15
IBM DB2 UDB LUW 9.7 and 10.1X15X
MySQL 5.1.3 and 5.5.16X15X

SQL Remote for SQL Anywhere

 

ComponentsMicrosoft WindowsLinuxSun SolarisApple OS XIBM AIXHP-UX
x86x64Mobilex86x64SPARCx64x86x64PPCIA64
SQL Anywhere Message Agent (dbremote)XXXXX4XX4
SQL Anywhere extraction utility (dbxtract)XXXX4XX4
File sharing message systemXXXXX4XX4
FTP message system 17XXXXX4XX4
SMTP/POP message system 17XXXXX4XX4
HTTP/HTTPS message system 17XXXXX4XX4
SA encoding (dbencod)XXXX4XX4

Administration Tools

 

ComponentsMicrosoft WindowsLinuxSun SolarisApple OS XIBM AIXHP-UX
x86x64Mobilex86x64ARMSPARCx64x86x64PPCIA64
Administration Tools
Sybase CentralXXX21XXX16
Interactive SQLXXX21XX7XX7X16X7X7
Database network server connections monitor (dbconsole) 30XXX21XXX16
Database and synchronization server monitor (Web-based SQL Anywhere Monitor) 1XXX21X
PowerDesignerX

 

Compatibility with existing Sybase Central software

 

  • Full support - The SQL Anywhere plug-in for Sybase Central fully supports any database created by version 11 or later software running on a version 11 or later server. For example, version 11 databases running on version 11, 12, or 16 servers; version 12 databases running on version 12 or 16 database servers; and version 16 databases running on a version 16 database server.
  • Unload/reload-only support - For databases created by version 5, 6, 7, 8, 9, or 10 software running on a version 6, 7, 8, 9, or 10 database server, you can connect to the database from the SQL Anywhere plug-in temporarily to do one of the following tasks:
    • Unload the database into a reload file.
    • Unload and reload the database into a new version 16 database.
    • Unload and reload the database into an existing version 16 database.

The files for the database being unloaded must be located on the local computer.

  • No support - There is no support in the SQL Anywhere plug-in for databases created by version 4 or earlier software running on a version 5 or earlier server.


SQL Anywhere Monitor Supported Versions

 

You can use the Monitor to collect metrics about the following versions of SQL Anywhere databases, MobiLink servers, MobiLink server farms, and Relay Server farms:

 

  • SQL Anywhere  11.0.0, 11.0.1, 12.0.0, 12.0.1, 16.0
  • MobiLink 11.0.0 with at least the first EBF applied, 11.0.1, 12.0.0, 12.0.1, 16.0
  • Relay Server 12.0.0, 12.0.1, 16.0

 

Documentation

 

The complete SQL Anywhere documentation is available in four formats:

  • DocCommentXchange DocCommentXchange is a community for accessing and discussing SQL Anywhere documentation on the web. To access the documentation, go to http://dcx.sap.com.
  • HTML Help On Windows platforms, the HTML Help contains the complete SQL Anywhere documentation, including the books and the context-sensitive help for SQL Anywhere tools. To access the documentation, choose Start » Programs » SQL Anywhere » Documentation » HTML Help (English).
  • PDF The complete set of SQL Anywhere books is provided as a set of Portable Document Format (PDF) files. You must have a PDF reader to view information.

 

To access the PDF documentation on Windows operating systems, choose Start » Programs » SQL Anywhere » Documentation » PDF (English).

 

To access the PDF documentation on Linux, Unix and OS X operating systems, use a web browser to open /documentation/en/pdf/index.html under the SQL Anywhere installation directory.

 

 

 


 

 

 

Footnotes

 

1 The SQL Anywhere Monitor can be installed under Windows and Linux. The Web-based interface can be accessed on any platform with a JavaScript-enabled browser and the latest version of Adobe Flash Player.

2 The older interface to external stored procedures is available only in 32-bit software.

3 ODBC driver manager may not be available. May have to link directly to ODBC driver.

4 32-bit software.

5 Requires JRE 1.6 or higher.

7 Does not include certain features, compared to the admin tools provided on other operating systems.

8 Requires Microsoft Windows Mobile Device Center or ActiveSync 3.1 or higher.

10 Requires .NET Compact Framework version 2.0 or 3.5.

12 Requires Windows Mobile 5 or later.

15 Only 64-bit MobiLink server components are supported on 64-bit operating systems.

16 You must install Java if you want to use this component.  It is available from http://www.oracle.com/technetwork/java/index.html.

17 For all systems other than the file sharing system, you must have purchased and installed the appropriate message system software for SQL Remote to function over this system. SQL Remote does not include the underlying message system software.

18 Set LIBPATH to include the directory containing an installed JRE.

21 Only 64-bit administration tools supported on 64-bit Linux.

22 Requires Microsoft Windows Mobile Center or ActiveSync 3.5 or higher.

23 32-bit and 64-bit clients.

24 Tested on the following platform:

  • Ubuntu 12.04, kernel 3.2.0-23-generic, glibc 2.15

26 Requires HP Transport Optional Upgrade Release (TOUR) 3.1 or higher, available from http://software.hp.com.

28 Requires JRE 1.7 or higher

30 For Windows CE, Solaris x64, AIX, HP-UX, and Linux Itanium: On these platforms you can use the connection, database, and server properties to obtain information or you can monitor your server from a computer running an operating system that supports the SQL Anywhere Console (such as Windows XP/200x, OS X, or Linux).

32 A list of Kerberos clients tested with SQL Anywhere is available here: http://scn.sap.com/docs/DOC-35935.

33 BlackBerry OS 4.1 or higher (except BB10).

34 64-bit Solaris SPARC only.

dbisql command line options

$
0
0

Hi all,

 

I've just added a HANA client to my computer and came across a few details when trying to connect to HANA using interactive SQL.

1. (this is not precisely HANA related, but came to my attention in this context) There are command line options to advise dbisql to connect to a HANA (-hana), IQ (-iq) or UltraLite (-ul) database, but I didn't find any for SQL Anywhere or Generic ODBC. When starting dbisql without parameters, the connect dialog box is preset with the database type I had picked the last time. I think additional options for these two types would be systematic.

2. When connecting to HANA using an ODBC data source, the ODBC style connection parameters UID and PWD are not recognized. "user" and "password" are expected instead.

dbisql -hana -c "dsn=VolkerOnMonsoon;uid=Volker;pwd=Ger0nimo" doesn't recognize the userid / user name and prompts for missing connection parameters.

dbisql -c "dsn=VolkerOnMonsoon;uid=Volker;pwd=Ger0nimo" works, but gets me a generic ODBC connection.

dbisql -hana -c "dsn=VolkerOnMonsoon;user=Volker;password=Ger0nimo" works and gets me a qualified HANA connection.

dbisql -datasource VolkerOnMonsoon -c "user=Volker;password=Ger0nimo" dto.

dbisql -datasource VolkerOnMonsoon -c "uid=Volker;pwd=Ger0nimo" brings me to a SAP HANA connect dialog without user name or password preset.

(of course Ger0nimo is not the real password)

What I would consider consistent: At least when connecting using an ODBC data source name, ODBC connection parameters should be recognized, regardless of database type. If dbisql recognizes that the data source is one of the explicitly supported systems, all the better.

 

What do you think about my ideas?

 

Thanks & regards

 

Volker

HTTPS:\\ webserive call without passing certificate string

$
0
0

We are using HTTPS:\\ web service call from our one of the procedure.

When I did research, I found that, we can't call HTTPS:\\ web service without passing certificate.

 

My question is, how should I take care for situation where certificate got expired and need to replace certification.

 

I need some alternate way, where there is no need to pass certificate or no need to pass file path as well...

Replication from SQL Anywhere to Microsoft SQL Server

$
0
0

SQL Anywhere Community,

 

I have a customer who wants to replicated their Replication from SQL Anywhere to Microsoft SQL Server Data Warehouse.  Are there any whitepapers on this or qualified consultants that could deliver?

 

Regards,

 

Joseph Shaffner | Vice President, SAP Solutions | Bradmark Technologies, Inc.

  T: 1-301-535-2537 | Joseph.Shaffner@bradmark.com

SQL Anywhere Monitoring Tool

$
0
0

Hi, what is the difference between "Monitoring Tool (Development and testing)"

and "Monitoring Tool (Deployment)"? I cannot find it enywhere.

thanks

Viewing all 647 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>