Quantcast
Channel: SCN : Blog List - SAP MaxDB
Viewing all 48 articles
Browse latest View live

SAP MaxDB Online Training: Kernel - IO Concept

$
0
0


Hi folks,

 

in May we will offer again a SAP MaxDB Expert Session with focus on the SAP MaxDB database kernel.

This session is free of charge burt registration is necessary.

 

 

In this expert session the architecture of the I/O concept is explained. Some aspects will become clearer when the concept which
had been introduced with version 7.7 is shown in comparison with the former I/O processing. With the possibility to send I/O request to different queues a
prioritization can be achieved. You will learn which database parameters can be set to influence the behaviour and how I/O can be surveyed by using the
database console x_cons.

2014  13.05.2014 , 10:00 h - 11:00 h CET

 

 

Registration S-Users: https://websmp105.sap-ag.de/~sapidb/011000358700000191362014E

Registration NON-S-Users: 2014_05_13_SAP MaxDB: Introduction_10CET_EN - Adobe Connect

 

These session will be recorded as well.

We are looking forward to teaching you.


Heike Gursch & Christiane Hienger


Content Server Training Material download available

$
0
0

Hi folks,

 

we had 3 expert sessions related to the SAP Content Server.

You can download the recording and slides of these sessions for free:

 

Session 23: SAP MaxDB & SAP Content Server Architecture

 

Recording: http://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Content_Server_Architecture.mp4

 

Slides: http://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Content_Server_Architecture.pdf

 

 

Session 24: SAP MaxDB & SAP Content Server Housekeeping

 

Recording: http://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Content_Server_Housekeeping.mp4

 

Slides: http://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Content_Server_Housekeeping.pdf

 

 

Session 25: SAP MaxDB & SAP Content Server ODBC

Recording: http://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Content_Server_ODBC.mp4

 

Slides: http://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Content_Server_ODBC.pdf

Regards, Christiane

SAP MaxDB Expert Session - IO Concept

$
0
0


Hi folks,

 

next week we will have the next SAP MaxDB Expert Session - the session is as always free

of charge but registration is necessary.

SAP MaxDB: Introduction into I/O concept - May, 13 2014 10:00 - 11:00  CET

Registration: https://websmp109.sap-ag.de/~sapidb/011000358700000191362014E

Non-S-Users: 2014_05_13_SAP MaxDB: Introduction_10CET_EN - Adobe Connect

 

Please notice registration ends on friday, 9th of may.

 

As precondition for this session please train yourself with the recordings/slides of Expert Session no 18.

Session 18: SAP MaxDB Architecture.

You can download the material using the following links:

 

Recording: http://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Architecture.mp4

Slides: http: http://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Architecture.pdf

 

We are looking forward to teaching you.

 

Regards, Christiane

MaxDB: Transaction DBACockpit executes now update statistics in parallel

$
0
0

Hi folks,

 

do you have long runtime of update statistics in your SAP MaxDB database e.g. after system copy, huge data import etc., huge delete jobs?
Then i have good news - update statistics can run  now in parallel fully integrated into transaction DBACOCKPIT for SAP customer.

 

Update Statistics in parallel in a SAP System:

 


Precondition: As of the following SAP-Releases in combination with SAP MaxDB Versions the update Statistics is now started in parallel.
SAP Release 7.02 SP16
SAP Release 7.30 SP12
SAP Release 7.31 SP13
SAP Release 7.40 SP08
SAP Release 7.41 SP00

 

AND
SAP MaxDB Version 7.8.02 >= 40 or 7.9.08.22 are necessary to run this new feature.

 

What's different?
As of these SAP Releases/ MaxDB version combination  the DBSL Interface is not used anymore to log tables relevant for update statistics and trigger the update statistic via only one work process (sequentially).

 

How does it work?
This new feature now uses a DBprocedure SYSCHECKSTATISTICS to  ensure that all tables which need new optimizer statistics are stored in system table SYSUPDSTATWANTED. Note: table DBSTATC is not used anymore.

 

Actions to run update Statistics:
You can decide if you want to mark all tables for update statistics whithout any checks if the update statistics is really necessary

 

Action to choose: Update all Optimizer Statistics (UPDALLSTAT) - the new dbprocedure inserts all tables into MaxDB system table SYSUPDTSTATWANTED and creates new optimizer Statistics via command  update Statistics as per system table which is executed in parallel for all tables.

 

==> the performance improvement depends on the number of data volumes and the number of CPUs.

 

You can also decide to do the update staitsitcs in 2 steps.
1. Step:

 

Action: Select Tables for Update Statistics (PredUPDStat) checks all tables if new optimizer statistics are necessary. This check is done as well with the new dbprocedure, tables which are detected as relevant for new optimizer statistics are inserted into System table SYSUPDSTATWANTED.
Please notice statistic relevant tables are not stored anymore in SAP table DBSTATC. Systemtable DBSTATC is not relevant anymore for MaxDB update statistics.

 

2. Step:
Action: Update Statistics for Selected Tables (UPDSTATS) executes the update statistics in parallel via the command update statistics as per system table.

 

We are interrested in your feedback.

 

Regards, Christiane

 

Recording: Expert Session MaxDB I/O Concept is avaialbe for download

SAP MaxDB 7.9 - Upgrade to 7.9.08.23 recommended

$
0
0

Hi Folks,

 

Because of a potential MaxDB issue in MaxDB versions 7.9.08.18 - 7.9.08.22 an upgrade to 7.9.08.23 is recommended.

Other versions are not affected.

Symptom:

You create an index (CREATE INDEX) for a subsequently added table column that has been given a
default value (SQL statement ALTER TABLE ADD). This index may contain incorrect  values.

 

If you are using version 7.9.08.18 - 7.9.08.22 SAP strongly recommends to do a MaxDB upgrade to version 7.9.08.23.

Please check SAP note for further detailes:
https://service.sap.com/sap/support/notes/2032541

 

 

Regards, Christiane


SAP MaxDB Online Training - Cooperative Multitasking in September 2014

$
0
0

Hi Folks,

 

 

we will offer the next SAP MaxDB expert session

 

SAP MaxDB: Cooperative Multitasking- September, 2 2014 10:00 - 11:00  CEST

 

- this session is free of charge but registration is necessary

 

In this expert session the architecture of the SAP MaxDB cooperative multitasking is explained. The SAP MaxDB kernel process structure
is presented. Based on detailed information about the thread concept and parameter settings for MaxUserTasks, MaxCPUs, UseableCPUs
and Taskcluster* you will understand the MaxDB cooperative multitasking.
You will learn how to set the parameters best in your environment and how to monitor systems.

Registration for SAP customers/employees/partners: https://websmp202.sap-ag.de/~sapidb/012002523100010510762014E

 


Registration NON-S-Users: 2014_09_02_SAP MaxDB: Cooperative_11CET_EN -          Adobe Connect


Please notice registration ends on Monay, 1st of september

 

As preparation we recommend to have a look into the following session:

 


We are looking forward to teaching you.

 

Regards, Christiane

New OEM for SAP MaxDB

$
0
0

7P Infolytics AG and SAP SE have concluded an Original Equipment Manufacturer agreement. The agreement entitles Infolytics to provide the SAP database SAP MaxDB as OEM product outside the SAP world. Cologne-based software house Infolytics offers the SAP database bundled with its own software Mobile DB Monitor. This offer opens a new perspective for the MaxDB users who developed non-SAP applications based on the SAP MaxDB Community Edition and who demand controlled support.

More information about Infolytics’ SAP MaxDB offering can be checked following this link (German):  Infolytics AG (Deutsch)


Jörg Hoffmeister
Product Manager SAP HANA and SAP MaxDB


MaxDB: index queueing during system copy

$
0
0

Hello MaxDB specialists,

 

may be you are familiar with the index queueing feature while using R3load methode for migration / system copy.

Sometimes this sequential methode is not really performant when the needed data is not in the data cache anymore.

 

During migration / system copy you are facing the following scenario:

So you just see one last R3load process of a package (before SAPVIEW package) during import which is taking a lot of time looking like this:

R3load -i SWWLOGHIST__DTP.cmd -dbcodepage 1100 -k <MIGkey> -l SWWLOGHIST__DTP.log -nolog -c 50000 -force_repeat -loadprocedure dbsl

 

The name of the package is not relevant because it is choosen randomly. But is every time a DTP package.

 

  1. But you want to know how long it will take to finish.
  2. You want to know how many indexes are still queued.
  3. May be you want to speed up the procedure and skip this index creation. Just to finish the import and create the missing indexes in your postprocedure.

 

 

First about the index queueing ( 1464560 - FAQ: R3load in MaxDB  ):

 

Q: Why are the indexes created after loading?

 

A: The MaxDB has an optimized "internal parallel create index" procedure, which is much faster than maintaining the indexes during loading. You also cannot use the fast loader if indexes already exist in the table.

 

 

Q: What is index queueing in the R3load for MaxDB?

 

A: The optimized "internal parallel create Index" can be used by a user task of the database. Other create indexes in a user task are created serially in the slow create index mode.

 

Exactly one R3load uses exactly one user task of the database, which means that parallel R3loads cannot use the "internal parallel create index" simultaneously.

For MaxDB, therefore, an index queueing via the table "/MAXDB/INDEXSTATEMENTS" is used so that only one R3load "create index" executes.

 

 

Q: What is the importance of the R3load option "-para_cnt <count>"?

 

A: The option R3load "-para_cnt <count>" specifies how many R3load processes the user has started and affects the index queueing.

 

R3load does not use the "internal parallel create index" during Create Index for all tables in which indexes are to be created and that use less space in the database than the nth part of the data cache (where n = count).

R3load creates these indexes serially as create index mode. For these tables, you can assume that the data records are still in the data cache during the create index.

In this case, it is useful to avoid the "internal parallel create index" for the entire runtime of the import because the serial mode is only marginally slower than the "internal parallel create index" if the data records are in the cache.

 

So all big indexes won't be created in an own package even if there is a seperate DTP package (package without load data, create table and create primary index) created via omit option (DTPIV). They will be queued in the table /MAXDB/INDEXSTATEMENTS.

short explanation about the omit option (Source: Migration Monitor documentation):

 

-o D : omit data; do not load data

-o T: omit tables; do not create tables

-o P: omit primary keys; do not create primary keys

-o I: omit indexes; do not create indexes

-o V: omit views; do not create views

Only in case of HANA database:

-o M: omit merge; do not merge

-o U: omit unload; do not unload table

 

 

 

So when a index is choosen for index queueing methode you will read this in the log of the affected package:

JEST__DTP.log:(DB) INFO: JEST~I created later with other R3load process#20141108094527

JEST__DTP.log:(DB) INFO: JEST~Z01 created later with other R3load process#20141108094527

 

If you want to know the current content of the queue you can use sqlcli

 

sqlcli -d <DBSID> -u <SchemaUser>,<PW>
sqlcli <SID>=> \dc /MAXDB/INDEXSTATEMENTS

Table "<SCHEMA>./MAXDB/INDEXSTATEMENTS"

| Column Name | Type          | Length | Nullable | KEYPOS |

| ----------- | ------------- | ------ | -------- | ------ |

| TABLESIZE   | FIXED         | 18     | NO       | 1      |

| TABLENAME   | VARCHAR ASCII | 40     | NO       | 2      |

| INDEXNAME   | VARCHAR ASCII | 40     | NO       | 3      |

| SESSION     | FIXED         | 10     | YES      |        |

| THISNODE    | VARCHAR ASCII | 64     | YES      |        |

| STMT        | CLOB ASCII    | -      | YES      |        |

 

 

sqlcli <SID>=>select * from /MAXDB/INDEXSTATEMENTS
TablesizeTablenameIndexnameSessionThisnode
-1## this row locks parallel create index###247<hostname.DOMAIN>
227353JESTJEST~Z01??
487161SWW_CONTOBSWW_CONTOB~A??
487161SWW_CONTOBSWW_CONTOB~ZZ1??
2709569COEJCOEJ~1??
2892158COEPCOEP~4??
2892158COEPCOEP~Z1??
2892158COEPCOEP~Z2??

 

 

But there is no estimate how long one or all indexes are take to finish its work. You just can refer to the tablesize and compare with other index creation runtimes.

 

 

If you want to skip this, just kill the R3load process, delete/truncate or drop the table /MAXDB/INDEXSTATEMENTS. Check the TSK file (if used) of the aborted DTP package to "ok" or "ign" if any "err" status.

Set status of the DTP package in import_monitor_cmd to "+" and restart the import monitor and the procedure will continue with the last package SAPVIEW.

You can create the missing indexes with a mass create action in DB02/SE14

 

or

 

if you want still to use R3load index queueing feature than you mustn't drop or delete the entries in /MAXDB/INDEXSTATEMENTS.

Just skip the DTP Package and wait until SAPVIEW package, because if any error during index creation occur the package will also abort.

Check the following tables:

          /MAXDB/INDEXSTATE

          /MAXDB/INDEXSTMTS

          /MAXDB/INDEXSTMTS_NEW

          /MAXDB/INDEXSTATEMENTS

If they have entries => backup them to temp tables, because the tables will be dropped in postprocedure from SWPM. Just copy the table back after the sapinst has completed its work.

Afterwards start R3load (with import environment) with option "-create_queued_indexes". This will process the queue again.

At the end of the day just drop the /MAXDB/INDEX* tables to avoid issues regarding unknown DDIC objects. (780043 - Additional "/MAXDB/INDEX*" tables exist in the system)

 

I hope I could help you to understand the feature and optimize/speed up your import procedure.

 

 

If you have any further questions, don't hestate to comment the blog or contact me or one of my colleagues at Q-Partners ( info_at_qpcm_dot_de )

 

 

 

Best Regards,

Jens Gleichmann

 

Technology Consultant at Q-Partners (www.qpcm.eu )</p>

SAP MaxDB Expert Sessions: News 2015

$
0
0


Hi Folks,

 

you know the SAP MaxDB online Training sessions - so called Expert Sessions - for SAP MaxDB Experts and Administrators?

 

The Session information can be downloaded for free.
You find the recording and slides of the past Expert Sessions here -> http://maxdb.sap.com/training/

Now the SAP MaxDB Development team delivered new information about most of the Expert Sessions in addiotnal slides News_2015

 

News are avaialable for :

  • Session 2: Basic Administration with Database Studio
  • Session 3: CCMS Integration into the SAP System
  • Session 4: Performance Optimization with SAP MaxDB
  • Session 5: SAP MaxDB Data Integrity
  • Session 7: SAP MaxDB Software Update Basics
  • Session 8: New Features in SAP MaxDB Version 7.8
  • Session 10: SAP MaxDB Logging
  • Session 12: Analysis of SQL Locking Situations
  • Session 13: Third-Party Backup Tools
  • Session 14: SAP MaxDB Tracing
  • Session 19: SAP MaxDB Database Parameters
  • Session 20: SAP MaxDB Remote SQL Server
  • Session 21: SAP MaxDB DBM Server
  • Session 22: SAP MaxDB Database Analyzer

 

Please use these new slides in combination with the session related slides and recordings to be up to date.

Regards, Christiane

Expert-Sessions: SAP MaxDB 7.9 & Content Server 6.50 - News 2015

$
0
0

Hi Folks,

 

you know the SAP MaxDB online Training sessions - so called Expert Sessions - for SAP MaxDB Experts and Administrators?

 

The Session information can be downloaded for free.
You find the recording and slides of the past Expert Sessions here -> http://maxdb.sap.com/training/

Now the SAP MaxDB Development team delivered new information about most of the Expert Sessions in additional slides News_2015 which are stored in the training area as well for download.

 

For Content Server 6.50 there are additional slides (News_2015 - pdf-Files) with current information about changes on SAP MaxDB Database Level available:

 

  • Session 23: SAP MaxDB & SAP Content Server Architecture

    Highlights: under Unix (only) documents > 2 Gbyte can be stored
  • Session 24: SAP MaxDB & SAP Content Server Housekeeping

    Please pay attention to information about the Database Configuration limit for data volumes - you will find information how to change configuration smoothly if you are affected to reach the limit soon.
  • Session 25: SAP MaxDB & SAP Content Server ODBC

    Now ODBC driver version 7.9 is in use

 

 

Please use these new slides in combination with the recorded session and the session related slides.

 

Regards,
Christiane

installation error sap netweaver

$
0
0

any one know solution about this error? if yes can you help me please?

Feature list for SAP MaxDB 7.9.08.32

$
0
0

Since MaxDB 7.9.08.32 is finally available for download via SAP Store, here is the updated Feature list starting with 7.9.08.27 (taken from SAP note 1444241):

SP 8 Patch 32 (7.9.08.32) (July 13, 2015) (14 Features, 21 Patches)

Kernel

    • default value for database parameter UseAlterTableAddColOptimization changed to YES (PTS 1253928).
    • Database parameter change of RequestTimeout now becomes active immediately (although the timeout of existing locks remains unchanged) (PTS 1253460).
    • New system table PROCEDUREPRIVILEGES showing privileges on database functions and database procedures (PTS 1253682).
    • New option ORDERED for database parameter EnableStarJoinOptimization, which executes all 'star'-joins in the sequence given by the FROM clause (PTS 1253834).
    • New database parameter SavepointDeadlockDetection introduced (allowed settings are OFF, DIAGNOSTICS, ABORT) (PTS 1253856).
    • Problem fixed that the database would not start with more than 245 volumes defined (PTS 1253823).
    • Bug fix for possible deadlock when dropping an index (can only occur if the database has a very small data cache size configured leading to data cache overflows) (PTS 1253779).
    • Fix for possible performance problem in combination with database parameter EnableDelayedRootPageCreation set toe YES in OLTP systems (PTS 1253773).
    • Fix for potential crash when creating a snapshot in operational state ADMIN and a database version recovered from a backup of 7.8 or older (PTS1 253677).
    • Functional enhancements to support SAP kernel 7.50 (PTS 1253849; PTS 1253729; PTS 1253732; PTS 1253781; PTS 1253828; PTS 1253942; PTS 1253908; PTS 1253889; PTS 1253879; PTS 1253802; PTS 1253700; PTS 1253553)

  Tools 

    • Database Analyzer: new columns added to DBAN_SAVEPOINTS.csv (TenantSvpPhase3Flushtime, TenantSvpPhase3IOCalls, TenantSvpPhase3WrittenPg) (PTS 1253800).
    • Database Analyzer: a warning message is displayed if SAP MaxDB data area size 16 TB is nearly reached. For 32 TB compatibility with SAP MaxDB 7.9 see SAP note 2179510) (PTS1253916).
    • The DBM command recover_config now reverts any changes to the paramter file in case of an error. During restore a temporary file ist used (PTS 1253905).
    • fix for DBM command recover_config with error last block is smaller in case the parameter file stored in the backup exceeds a size of 40960 Bytes (=5 pages) (SAP note 2183492) (PTS 1253877).
    • fix for DBM command recover_check abort (RTE header size xxx instead of yyy bytes) if block size in backup template was larger than the DataIOClusterSize the backup was performed with (PTS 1253844).
    • Loader: bug fix for complex catalog functions not exported in correct order (PTS 1253610).
    • PROTCONV command generates wrong output if input file contains one of the following encoding characters: &amp; &quot; &gt; &lt; /apos (PTS 1253748).

SP 8 Patch 31 (7.9.08.31) (May 6, 2015) (5 Features, 13 Patches) 

Kernel

    • roll back time of huge undo files improved by using read ahead functionality; read ahead usage is monitored via system table <database_system_administrator>.MONITOR and long running undo operations are logged in the KnlMsg file (internal PTS 1253445).
    • error fixed that backups taken while a check data on snapshot was executed might be damaged beyond repair (PTS 1252309).
    • fix for possible database crash on SQL update using the query-rewrite feature (PTS 1252433).
    • support added for open SQL SAP_INT8 and SAP_UINT8 functions (PTS 1253665).
    • SAP MaxDB ROUND function improved to work with INT4 values (PTS 1253669).
    • allow LIMIT and OFFSET functions to work with a maximum of unsigned INT8 rows (PTS 1253621).
    • fix for possible wrong result at 'outer join'-select if at least 3 tables and predicates evaluate to 'false' (PTS 1253657).
    • fix for error -8006, data types must be compatible at CREATE TABLE statement with VARCHAR data type or numeric literal in select list (PTS 1253625).
    • improved error output for tasking queue elements in 'global freelist' by including the call back function in call stack (internal PTS 1253567).
    • fix for move error during update on table with foreign key condition, if table is both referencing and referenced in a foreign key definition (PTS 1253544).
    • lower limit for database parameter TransactionLockManagementStripes set to 1 (SAP note 2092116) (PTS 1253494). 

  Interfaces 

    • SQLDBC: fix for problem introduced with 7.9.08.30 (binary incompatible version) (PTS 1253546).
    • SQLDBC: fix for possible error -602 system error: unexpected error...when executing an SQL statement (PTS 1253471).

  Tools 

    • Loader: Fix for possible crash loading data with key length above 1024 bytes (PTS 1253630).
    • DBM Server: fix for param_gethistory / param_gethistorynext commands stuck in endless loop if parameter history file (<database_name>.pah) contains corrupted lines with a length of more than 549 characters (PTS 1253638).
    • DBM Server: param_restore command now creates a copy with timestamp of the original file to have a backup available in case the param_restore needs to be reverted (PTS 1253575).

SP 8 Patch 30 (7.9.08.30) (March 20, 2015) (5 Features, 10 Patches) 

Kernel

    • new database parameter EnableLogRestoreCompleteIndex introduced (default=NO); if enabled, all indexes will be created during log recovery (use with caution - this increases the log recovery downtime) (PTS 1252395).
    • new database parameter ForceSchemaSpecification (default=NO) added to enforce schema usage in database procedures, database triggers and database functions (PTS 1253447).
    • support for table functions added (can be used instead of tables in the FROM-part of queries) (PTS 1253039).
    • fix for SAP MaxDB 7.9.08.27-29, CHECK TABLE with release unused long space-option in some cases deleting too much data (PTS 1253410) (SAP note 2075823).
    • Introducing new database parameter UseConverterStripesLockYielding (default=YES) to prevent a possible performance problem during backup start on large database systems (PTS 1253358).
    • correction for error -1113, too many nested function calls at SQL statement with CASE expression and many database functions (PTS 1253360).
    • fix for error -7021, view column derived from function not allowed during CREATE VIEW statement (PTS 1253399).
    • fix for potential kernel crash by miscalculated LogQueue value, if database parameter MaxCPUs is increased in operational state ONLINE (PTS 1244262).
    • additional trace output in case of rare crash with old_fileversion error during UNDO of a DROP LOB value (PTS 1253324).
    • fix for data types VARCHAR2 and NUMBER failing with error when using database functions in SQL mode ORACLE (PTS 1253478).
    • Value specification TRANSACTION can now be used as default value in SQL mode ORACLE (PTS 1253469).  

  Tools 

    • Loader: Fix for rare error -3999 invalid parameter or -8000 SERVERDB must be restarted for fast loader in conjunction with simultaneously used communication package (PTS 1253312).
    • DBM Server: minor fix for failing Hot Standby commands hss_copyfile and hss_addstandby if executed with additional parameter database=<database_name> (PTS 1253457).
    • DBM Server: Fix for crash in user event dispatcher if automatic email sending for special database events is enabled (PTS 1253223).

 

SP 8 Patch 29 (7.9.08.29) (March 2, 2015) (0 Features, 2 Patches) 

 

Kernel

    • Some crashes fixed caused by wrong memory allocation possibly affecting parallel create index, shared SQL and other areas (internal PTS 1252911).

SP 8 Patch 28 (7.9.08.28) (February 12, 2015) (6 Features, 11 Patches)

Kernel

    • A looping/blocked savepoint is now logged in file knlmsg with following messages:
      Savepoint: Flush during prep
      are running for $DURATION$ minutes
      Savepoint: Flush during prepare blocked by task(s) $TASK_ID$ for $DURATION$ minutes (PTS 1252789).
    • SAP MaxDB allows now 256 nested functions in one statement (PTS 1253201). 
    • UPSERT command is now permitted in trigger (PTS 1253257).
    • Fix for wrong optimizer decision at SELECT statement with ORDER BY if alias name is used for order column (PTS 1250471).
    • Fix for error -9042 ...BD Append not allowed at complexSELECT INTO statement (PTS 1253091).
    • Fix for error -9400 ...AK Cachedirectory full with possible kernel crash due to overwritten/destroyed AK cache when using many/large SQL constraints (PTS 1253210).
    • Fix for error -4023 ... Unknown function name during ALTER TABLE ADD LOB COLUMN or ALTER TABLE ADD PRIMARY KEY occuring in combination with a trigger using Oracle specific SQL functions on affected table (PTS 1253225).
    • Fix for possible crash during insert into internal system table SYSUPDSTATWANTED (PTS 1253263).
    • Fix for rare crash during CLEAR LOG command in combination with AutoLogBackupSize above 131071 and previous DBM command db_restartinfo returning an error (PTS 1253294).
    • Fix for a rare performance problem when changing table rows in parallel. This was caused by wrong SQL locks generated for referenced tables (if a referring column was added with ALTER TABLE ADD DEFAULT statement) (PTS 1253059).
    • Fix for crash in database restart phase after upgrade to 7.9 and automatic catalog migration, if support password was not correctly initialized (PTS 1253264).
    • Fix for database internal time deviating from system time by disabling the high resolution timer calibration (PTS 1253138).

Interfaces 

    • Overflow for fixed functions SAP_UINT, SAP_UINT1 and SAP_UINT2 now returning the expected errors 0-4294967295, 0-255 and 0-65635 (PTS 1253079).

Tools

    • Database Analyzer: Bug fix for UsableCPUs warning now checking against physical CPU cores instead of previously incorrect check against physical CPUs only (PTS 1253187).
    • x_cons: new option uptime introduced to display the database uptime (PTS 1253154).
    • DBM Server: fix for internal event dispatcher not stopped when setting the database to operational state OFFLINE (which results in a hanging situation during ByDesign upgrade) (PTS 1253157).
    • DBM Server: fix for DBM command db_restartinfo incorrectly returning restartable 1 even after an obviously incomplete recovery (PTS 1231697).

SP 8 Patch 27 (7.9.08.27) (December 8, 2014) (10 Features, 12 Patches)

Kernel

    • New database parameter UseReadAheadUndoRedo introduced to improve database restart time after unexpected shutdown by making use of read ahead functionality when processing undo files (PTS 1252905).
    • Possible wrong result at JOIN SELECT with index access on altered columns with default value using a version between 7.9.08.18 and 7.9.08.26 and with database parameter UseAlterTableAddColOptimization
    • After DBM command recover_configload_systabdb_restart
    • Fix for error -8017, column must be group column during certain SQL statements using GROUP BY and HAVING clauses (PTS 125994).
    • New timer functions implemented to allow for faster system time calls and adding microsecond support for Microsoft Windows platforms (PTS 1252862).
    • Runtime on Linux PPC and AIX: faster run-queue search operations (PTS 1253002).
    • Microsoft Windows: fix for database kernel service hanging in state starting, if started via Microsoft Windows Service Manager or Microsoft Cluster Manager (PTS 1252868).

Interfaces 

    • SQLDBC: ...trace stop on error command now stops the kernel trace even when no SQLDBC trace is active (PTS 1252941).
    • SQLDBC: fix for failing communication to SAP CCMS via DBPROVIDER-connect(successor of DBMRFC connect) when passwords lengths above 9 characters were used (PTS 1243667).
    • ODBC: the SQLExecute/SQLExecDirect call should return SQL_NO_DATA_FOUND on a non positional UPDATE or DELETE statement instead of returning SQL_SUCCESS_WITH_INFO and message Cursor operation conflict (PTS 1253012).

Tools 

    • Database Analyzer: new warning added, if database contains unreferenced short column files (bug fixed via PTS 1252758 in 7.9.08.26). These short column files can be removed via note 2075823, but using at least SAP MaxDB version 7.9.08.30 is mandatory to prevent possible loss of data (PTS 1252756, PTS 1252879, PTS 1253410).
    • Loader: bug fix for syntax error when calling the Loader using -n and the -U switch (PTS 1252858).
    • Hot Standby (with shared log area): redesign and several changes implemented to make it usable for SAP MaxDB 7.9, for details see notes (2097837 and 2098447) (PTS 1252969, PTS 1252999, PTS 1252890).
    • XCONS: fix for dequeue-counter displayed by show queue possibly showing an incorrect value (PTS 1252977).
    • DBM Server: Re-registering a database with db_reg after db_unreg fails in case of password length of more than 9 characters with error user authorization failed (PTS 1252961).

SAP MaxDB Expert Session - Easy detect and qualify corrupted data pages

$
0
0

 

 

 

 

What we are talking about in this session?
Tool supported detection of database corruptions

 

What does this mean?
Database Corruptions e.g. caused by hardware problems are serious problems which must be recognized and find as soon as possible. SAP MaxDB delivers a new tool which helps database administrators to find those corruptions in a comfortable way. We will do a presentation of this new SAP MaxDB Tool and will have time to answer your questions.

 

 

Date: 19 November 2015
Time: 4:30 - 5:30 pm CET

 

This session is free of charge - only registration is necessary using the following link

 

 

 

We are looking forward to teaching you.

 

Thiago Luttig & Christiane Hienger

 

SAP MaxDB Support Team

SAP MaxDB Expert Session - Tool to detect and qualify corruptions in the database

$
0
0

Hi Folks,

 

last week we had an online training

Expert Session number 28 about the new SAP MaxDB Tool, which allows you to easily detect and qualify database corruptions.

 

The recording, the slides and the tool itself can be downloaded from: http://maxdb.sap.com/training

 

Feel free to post us your feedback.

 

Regards, Christiane


Collection of all SAP MaxDB log files, their meaning and further documentation

$
0
0

Hi Folks,

 

I want to inform you about a newly created section in SCN wiki

 

 

http://wiki.scn.sap.com/wiki/display/MaxDB/SAP+MaxDB+Log+Files+7.9

 

Now you'll find at a central location in SCN a collection of all SAP MaxDB log files (up to Version 7.9). The collection contains a short description what the specific log file is used for, in which directory you'll find them and  if necessary how to convert them. Additionally you'll find links to further relevant documentation.

 

This could be the starting point for error analysis of any SAP MaxDB database problems.

 

Feel free to give feedback if you are missing information.

 

Regards, Christiane

Understand what happens during Restart into Admin and Online mode

$
0
0

Hi Folks,

 

There is a new section in SCN which explains in detail what happens during the restart of a SAP MaxDB database based on Version 7.9 into admin and online mode.

 

http://wiki.scn.sap.com/wiki/x/n4s8Gg

 

 

Checking this section you will understand the information in KnlMsg file related to the restart.

 

Starting the database into Admin mode starts the so called Runtime environment first, reading parameters, creating the kernel process structure ....

This section in KnlMsg is never overwritten. This section is used to find out which was the parameter setting the database was started with, the memory configuration, the Kernel OS limits, .....

 

 

The section start into Admin mode ends with the message ServerDB is ready.

 

After the database is in admin mode the restart goes on - Attaching the volumes, restart the file directory, doing the Redo undo .....
This section in the KnlMsg end with the message Kernel state: 'ONLINE' reached.
This section will be overwritten with connect, status and error messages while the database is in online mode.

 

This information about the restart can help to find the reason for failing restarts.

 

Helpful here as well is the recommended Expert Session 18 about SAP MaxDB Architecture. (Link available in the section)

 

Regards, Christiane

How to solve Log Full Situation / How to solve Database Full Situation

$
0
0

Hi Folks,

 

there is a new SCN Section which tells you

 

1. how to solve a log full situation.
Please keep in mind that a log full situation will never be solved with an Add of a new log volume !

 

Log full situations can only be solved creating aMaxDB log backup. Details and how to prevent Log full situations can be found in the following section.

 

 

http://wiki.scn.sap.com/wiki/display/MaxDB/SAP+MaxDB+Log+Area+FullMaxDB

 

Please keep in mind that a precondition for a sucessful Log backup is a data backup done before with DatabaseStudio or DBMCLI. (Save data). If such a backup is missing in the backup history neither save log nor autosave log will solve the situation.Then a save data has to be executed first.

 

 

 

2. Data area full ( DB FULL)
can be easily solved by adding a new Data Volume using DBMCLI or DatabaseStudio which is possible in online mode. You don't need to stop the database to add a new volume. Details can be found in the folowing link.

 

http://wiki.scn.sap.com/wiki/display/MaxDB/SAP+MaxDB+Data+Area+Full

 

Please keep in mind that the Add volume does not check if there is enough free space in the file system for the new data volume. Please check it before the ADD command is executed.

 

What should you do if even when everything seems to be fine the ADD volume failed:

 

If you got problems during ADD Data Volume (if it failed e.g. because of file system full)  please never change manually the parameter file by dropping data volume parameters from the parameter file.

Depending on when the add data volume failed the new volume configuration is already part of volume sequence on the data volumes.

 

If you need help to get out of this situation please do nothing than open an SAP ticket ( for SAP customers) or post your problem here.

 

 

Hope these sections will prevent such stand still situations in the future.

 

Regards, Christiane

How to analyze database Crashes in detail using SAP MaxDB Log files

$
0
0

Hi Folks,

 

the following new SCN section describes how to get as much as possible information about a database crash out of the log files KnlMsg, rtedump; RTEMemory_chunk and AK.stm.

 

http://wiki.scn.sap.com/wiki/x/zwRQGg

 

This information allows you to get as close as possible to the reason for a database Crash in OLTP,BW and liveCache Systems.
You'll find as well a link to the WebPTS where all known crashes are stored. If it is a known crash you'll get the information as of which SAP MaxDB Version the crash reason is solved.

 

Regards, Christiane

10.March 2016: Next SAP MaxDB online training session - IO Concept

$
0
0

Hi Folks,

 

 

today I can announce the next SAP MaxDB online training for SAP Partners and customers.

The session is free of charge but registration is necessary.
The session will be recorded as well.

 

Expert Session 29: SAP MaxDB - Improvement in I/O Handling 7.9 and Prefetch Mechanism

Date: 10.03. 2016 13:00 - 14: 00 CET

 

 

Registration link:

 

https://psd.sap-ag.de/psd-registration/index.html#/event/847c8d9037562edef798927fdc80f20467477a057d2e793ce5eff1fcd8849c45dbd8eab60ac5ef545e293f96c6734cacf0776f2f1874d83b4a94479b812b536b/19659

 

We are looking forward to teaching you,

 

Christiane & Heike

Viewing all 48 articles
Browse latest View live


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