Académique Documents
Professionnel Documents
Culture Documents
TABLE OF CONTENTS
Introduction ................................................................................................................................................. 3
Introducing ASE 15.7 SP100 ...................................................................................................................... 4
VLDB Performance ..................................................................................................................................... 4
Query Performance ..................................................................................................................................... 6
Operational scalability ................................................................................................................................ 6
Storage Optimization and Recovery ......................................................................................................... 8
Integrated DR solution for Planned Downtime ........................................................................................ 9
Monitoring and Diagnostics ..................................................................................................................... 11
SAP Control Center (SCC) ASEMAP Enhancements ............................................................................ 13
Other Useful Functionality ....................................................................................................................... 14
Summary .................................................................................................................................................... 15
Introduction
In todays fast-paced and fluctuating economy, organizations are striving to provide customers with better
products and services, optimize their operations and fit in the need to act fast within an ever-shortening
maintenance and decision window. Success is measured in the form of better performance combined with
providing the right information at the right time with the right degree of accuracy.
SAP offers a versatile high performance enterprise-class relational database management system that is
well suited for mission-critical, data-intensive environments. It ensures highest operational efficiency and
throughput on a broad range of platforms offering the lowest cost of ownership (TCO) of enterprise-class systems.
Adaptive Server Enterprise from SAP has made tremendous strides forward in improving operational efficiency,
increasing security, exploiting parallelism to provide significant performance gains including enhancements to
provide significant storage optimization and allowing ease of monitoring and development helping not only
database administrators in efficiently managing their database servers but also the CIOs in delivering business
insights and value cost-effectively.
. ASE 15.7 ESD2 had introduced functionality that would help address customer needs including VLDB
performance, security and monitoring:
VLDB Performance
o
Online Utilities
Expanded DB Size
Async DB initialization
Security
o
Predicated Privileges
SAP Adaptive Server Enterprise 15.7 SP100 is focused on operational scalability along with providing
critical functionality that will enhance the performance and improve monitoring.
Improved monitoring
VLDB Performance
Create Index Performance Enhancement
It is now possible to issue a create index statement to be executed in a parallel manner resulting in
shorter index creation time. This enhanced parallel create index is disabled by default and is part of the enable
functionality group.
In order to make use of the parallel feature of create index, the following will have to be executed:
1) sp_configure enable functionality group, 1
2) sp_dboption <database_name>, select into, true
And then the following ASE configuration parameters have to be set according to hardware environment:
1) number of worker processes to set to the maximum number of concurrently executing parallel
threads used by all users
2) max parallel degree to be set to the maximum parallel degree used for an individual user but not
higher than number of worker processes
3) max online engines SAP recommends configuring sufficient number of engines when configuring
parallel threads depending on the hardware availability and other workloads. number of worker
processes is typically set higher than number of engines
The basic requirements for ASE to select an enhanced parallel query plan are:
1) The table where the index is created uses a data-only-locked format and is not partitioned or empty.
2) The index is not a non-clustered index
3) The leading column of the index has at least two distinct values.
Query Performance
Enhance star joins
Adaptive Server 15.7 SP100 introduces a new query plan optimization feature called the bloom filter,
which is used to improve join performance. A bloom filter provides early filtering of non-joinable rows before they
would reach the join operator. Bloom filter is only considered when one child of the join operator has to
materialize its derived table before the other child is opened. Bloom filter provides a low-cost approach to
eliminate rows before they participate in a full join algorithm.
In Adaptive Server, bloom filter is implemented for hash join, sort merge join and reformatting based
nested loop join. The bloom filter is only enabled when optimization criteria statement join_bloom_filter is ON.
Optimizer decides to use bloom filter in the final plan if the usage of the bloom filter is estimated to reduce the
total cost of the join.
Operational scalability
Incremental Reorg
In the database world, maintenance windows are very critical to ensure operational scalability. Typically
reorg utility helps in defragmenting the data and improves access performance. Adaptive Server 15.7 SP100
adds a parameter defrag to the reorg command, allowing the user to schedule and resume reorganization while
also allowing concurrent reads or writes on the data being reorganized.
This feature is focused on improving the capabilities of reorg online where reorg could be done without
blocking regular operations. Reorg defrag now splits the reorganization event into multiple transactions one
right after the other compared with the traditional reorg which reorganizes the entire table in a single transaction.
This allows the user to specify a time interval to reorganize the data and resume the process at a later time until
completion. The advantage to this is the ability to keep the maintenance window small and improve productivity
thereby increasing data availability and reducing data disruption to business operations. Here is an example of
using the defrag command where we will be performing incremental reorg for 3 minutes
reorg DEFRAG demotable with TIME=00:03
go
Insert-Select Performance
Performance has played a very important role for ASE in comparison with competition. The performance
improvements that has been addressed in ASE 15.7 SP100 with regards to massive data insert during the loading
process has solidified the fact that ASE is continuously improving in the area of performance. InsertSelect
performance is improved by applying bulk insert mode. ASE 15.7 SP100 introduces a new optimizer criteria
INS_BY_BULK to the bulk insert mode and this can be applied at a system, session and individual query level.
One of the advantages of using this approach is that the user applications do not have to be changed in order to
use this feature. An additional benefit that comes for free as part of this enhancement is the improvement to
performance of statements like Select Into and worktable population. Thus, this optimization helps to improve
performance during massive loads into a table.
Query execution
Sorting
Query compilation
SCC now supports the functionality of taking incremental database dumps as well as loading
these incremental dumps into a database.
SCC is now being fortified with more enhancements to the dump and load commands.
It is possible to generate the DDLs required to create a target database based on the
information of the source database. This is obtained from the dump history file that gets
recorded when dump database and dump tran commands are executed.
As an extension, SCC can also generate the statements for loading a database which is
done by reading the dump history file and generate the load sequence.
Yet another enhancement is the ability to perform load database from a point in time. SCC
also allows users to use multiple stripes when dump and load a database.
Shrink Database
o SCC users can now determine if it is indeed necessary to execute the shrink database
command based on the space utilization information for the database.
Incremental Reorg
o SCC now provides the ability to execute reorg operations on a table, index and partitions.
Using a wizard, it is possible to run reorg from the context menu of a database. These
wizards covers all the reorg options available in ASE to perform defragmentation.
Summary
Sybase ASE 15.7 SP100 is a recent addition to SAP ASE 15.7 with significant improvements to VLDB performance,
Operational Scalability, reliability using HA/DR solution and monitoring and diagnostics.
In the database world, increased data volume translates into various issues like operational scalability, decreased
performance and crunch in storage. SAP Sybase ASE 15.7 SP100 has introduced several key features which help
solve the issues that surround the increased data volume in an organization. From redistributing data for
maintaining partitioned data effectively to improving data availability during maintenance windows in a production
environment, ASE 15.7 SP100 has successfully enhanced the operational scalability experience for customers. In
the query processing area, ASE 15.7 SP100 introduces creation of index online, support for parallel index updates
and tremendous improvement in the area of insert-select performance supporting the load of massive data into
tables. Shrinkdb which is a storage saving feature and HA/DR for planned downtime in terms of reliability would
be well received by both new and current customers alike. Great enhancements made in the area of monitoring
and diagnostics would be very helpful for customers to monitor and communicate diagnostics information with
SAP.
SAP ASE 15.7 SP100 is available to customers as of May 2013.
www.sap.com