Skip to Content
Author's profile photo Andrew Melkonyan

ASE 16: SAP (SYBASE?) BRAND NEW RELEASE…

So, SAP has finally release its first single-brand named version:  SAP 16.  Whoever has been used to running the GUI installation of the product might have noticed one of the first changes:  there is no longer any reference made to the Sybase brand.  It is SAP 16 version, with the traditional SAP white/yellow/blue interface:

ase16-install-shield

I do confess that I had a bluish feeling of nostalgia.  Although SAP 16 release is not THAT much different from the ASE 15.7, it’s installation interfaces is.

Well, that’s nonsense.  ASE is ASE.  Let’s put nostalgia aside.  ASE 15.7 has seen in the last year almost a monthly EBF/ESD/SP release flurry, with the code-line split into pro-SAP / pro-??? versions (and the confusion the customers were led to as to which version to use & which release to select).  We will see if the SAP ASE 16 code-line will be more clean (less bug fixes) and clear (less confusion over releases).  SAP 16 is still GA.  It is a new page in SAP/Sybase chronology.  Let’s think positive:  if ASE 15.7 has been waaaay better than its previous 15.x releases, there should be no reason to doubt that SAP 16 will show the maturity and stability that Sybase customers have been long accustomed to taken to a new level.

The official SAP 16 release white paper summarizes the changes introduced in SAP 16 in 20 pages.  The four “S” motto is:  Speed/Scale/Security/Simplicity.


Speed section lists Index Compression & Optimizer Enhancements (the former reduces disk IO, the latter introduces more parallelism in various optimizer operations, new join algorithms & change in query resource allocation).


Scale section lists Logging Enhancement (introducing a queue between ULC and TL to release the bottleneck of writing to DB log), an improved and more efficient way of working with Metadata Cache (DES cache), Improved Locking/Latching mechanism (larger ELC, less locks where possible, less spinlock contention/less latches for cross-database operations, per-partition optimizations, less contention on procedure cache).


Security section lists Full Database Encryption option (an online zero-downtime encryption option), Tighter cleanup procedure for dropped DB objects, Full-Text auditing.


Simplicity section talks about SCC enhancements (pre-defined templates), Trigger Orchestration, Synchronous Replication, Create or Replace syntax.

There are quite a few goodies in the SAP 16 release.  As to me, the most curious are those aimed at minimizing spinlock contention issues.    DES cache scavenging and PC cache contention has been an issue for quite a long time.  I do wonder how the new release (post GA, to be sure) will handle situations where the old ones were a bit shaky.  I look forward to the first non-GA release to start testing this in real-life situation (in particular in the environment that has moved technologically from the hosts with 64 to hosts with 1024 executive threads and from 512 GB to over 2 TB of available memory, with IMDB servicing client request with, indeed, an unprecedented speed).

All that in the (close) future.  For now, we will have to wait patiently.

Few more notes on the release.  The official documentation is pretty minimalist.   Apart from Install Guide, New Features Guide, Utility Guide and Security Admin Guide, most of the documentation has been copied from the 15.7 release.  I guess, there are quite a few of “undocumented” changes sneaked in.

For example, if we look at the new release from the MDA perspective, we have ~160 more columns added to an already impressive MDA window into ASE’s internals.  These include 8 new MDA tables (5 of which in the RA section – incidentally, the official documentation specifies the addition of 2 MDAs only, specifying only one by name – the monThresholdEvent – but his may be due to the fact that ASE 15.7 has seen a lot of releases over the last year):


monHADRMembers:    Provides information about various HADR members, their groupname, IP address, hostanme, HADR mode and HADR state.

monRepCoordinator:  Provides information on Rep Agent Coordinator tasks.

monRepSchemaCache:  Provides information on Rep Agent Schema cache usage.

monRepStreamStatistics:  Provides information on Rep Agent Component Interface Stream Statistics.

monRepSyncTaskStatistics:  Provides information on Rep Agent Component Interface Sync Task Activity

monRepTruncationPoint:  Provides information on Rep Agent Component Interface truncation point manager activity.

monThresholdEvent:  Provide information about threshold event.

monSysExecutionTime:  Provide information about query categories execution time.

In the changed MDA section:


monCachedProcedures has added an Active counter to monitor whether the plan is active or not.

monCachedStatment added metrics to list overall CPU/Elapsed/LIO/PIO information.

monOpenObject/PartitionActivity added Insert/Update/Delete/Scan statistics.

There was an interesting move to copy per SPID metrics from the monObjectActivity to a general ASE monState MDA (new DML statistics & performance statistics).

monProcess has added the ClientDriverVersion metrics.

RA MDAs have a few more columns added.

From the MDA point of view, it seems that there has been quite a lot of work done around the RA (or the visibility of its operations).   The appearance of the  monThresholdEvent probably points to the work been done in the self-management field.

160 new metrics is not few.  Release notes list is pretty short, though, which is somewhat surprising.

To round up this a bit chaotic post, ASE 16 is out and kicking.  For DBAs (or consultants) busy with ASE 15.7 environment there are a few more things to test and get familiarized with.  Scale & Speed sections are most prominent performance-wise.  Are there any (good) news in the ASE spinlock activity (the only MDA change here was adding the Spinlock Slot ID column)?  Will SAP ASE 16 indeed scale better than Sybase ASE 15.7 without incurring the penalty of stumbling over spinlock contention in particular situations (like LWP/DES reuse)?  Will the logging bottleneck be eased as well (for those writing zillions of transaction without possibility to miss a single one)?  Simplicity section is also quite a field to explore.  I remember stumbling and getting finally frustrated over the SCC interface – even in the versions shipped with ASE 15.7.  It is good – but still not very user-friendly. If you compare it with what Microsoft, for example, has to offer – it still lags way behind in many areas (I am not a Microsoft fan).  I’d like to see SAP ASE, which has a very strong potential for a good management & monitoring tool from its vendor, to shine in this area – the area it has traditionally failed to satisfy customer needs.  Security section is there to test as well.  ASE has a very strong security integration.  ASE 15.7, in my opinion, has taken DB security to a level unmatched by its competitors (making the third-party security mechanisms largely unnecessary).  The performance impact of the general (page-level) DB encryption needs to be tested too.

In general, SAP ASE 16 provided a lot of space for new research – and this is good.  Since Sybase has been integrated into SAP, the product has seen a lot of work being done.  A lot of patches is a nuisance, on the one hand, but it is also a sign of the steam coming out of the engineers stables.  The more steam – the merrier.  The list of CRs and FRs for the past year is indeed long and impressive.  There are a lot of features in SAP ASA/IQ code lines which ASE code line may benefit from, for example.  With enough resources available, ASE will evolve into even stronger product with time.  So far we have no visible reason to question SAP ASE future – years ahead.  Even though one may argue that the legacy non-SAP market share has been slightly misrepresented as SAP acquired of Sybase, the non-SAP community, I think, still benefits quite a lot from the resources poured into the product.

Sybase ASE is dead – long live Sybase ASE…

Hm…  SAP Sybase ASE, I meant…

SAP ASE…

🙂

A.T.M.

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hello Andrew,

      Appreciate the article, is there any way we can have a Comparison Chart between SAP Sybase ASE 15.7 SP122 and ASE 16.0 ???

      If there is already such a Chart on the Internet kindly do share it with me.

      Have a nice day.

      Regards

      Umar

      Author's profile photo Former Member
      Former Member

      Hi Umar,

      haven't found a comparison chart between 15.7 and 16.0 yet either.

      I'm interested to know whether any environment running 15.7 can easily run 16.0 or whether any directory structures, processes, backup methods or (Linux) OS dependencies have changed.

      In the MaxDB area SAP used to be pretty good in releasing SAP notes with information about upcoming patch levels beforehand so one could prepare accordingly.

      Recently though I had to create support calls a number of times just to get the notes

      updated with information about patches already available for download (too much staff cutting?). Creating a support call might be your best option here.

      I've just done some test installations of SAP on the latest Sybase ASE 15.7.131 and got the impression it's quite immature in the the SAP world:

      We had issues with R3load, disappearing directories removed by SWPM and what's that for a database that in 2014 cant even create archivelogs automatically and requires additional scripting/scheduling to create them and avoid the online log running full.   

         

      Understand ASE might appeal to MS SQL Server customers due to similar concepts and Sybase IQ has it's place in the cold/warm/hot SAP HANA space.

      Personally though for all non-HANA SAP databases I'm quite happy to stay on MaxDB on Linux whose DB and GUI concepts can also be found in SAP HANA.

      Author's profile photo Former Member
      Former Member

      Good Morning

      I was able to successfully install Sybase ASE 16.0 for my PRD System, my DEV/QA System is on Sybase Sybase ASE 15.7 SP 121, for me the feel is more or less the same, file structure of the DB is same as well.

      I will be honest with everyone, I have worked with Oracle and DB2, but I am unable to accept Sybase as a goto DB, the concepts [Logical Database, Devices, Segments and Fragmentation] and configurations are way too complex.

      The Options in the DBA Cockpit are limited as well, too many parameters are required to be set in RZ10.

      Maybe it is just me, maybe someone else out there likes Sybase ASE 🙂

      Cheers

      Regards

      Umar

      Author's profile photo Andrew Melkonyan
      Andrew Melkonyan
      Blog Post Author

      Umar,

      Sybase has always been very straightforward product.  I am sure there will be a slight learning curve for anyone jumping onto it - but it is pretty modest one.  I have been using ASE for more than a decade as a production database for pretty large financial/retail/banking/surveillance companies.  Can you recover Oracle database from complete nothing (all devices corrupted) to fully operational server?  With ASE you do it in less than 10 steps & less than 1 hour (depending on the size of your database to be sure).  SAP has named simplicity as top priority.  ASE 16 release is pretty much on the right track from that perspective - at least for those familiar with the product.

      Just do a minimal effort to study the product - it will pay well in return.

      Cheers,

      Andrew