Quantcast
Channel: SCN: Message List - SAP MaxDB
Viewing all 2539 articles
Browse latest View live

Re: Error "-9400 AK Cachedirectory full"

$
0
0

Hi again,

 

More useful information: we had today again a few db crashes and they all seemed to be related to one specific table where we could insert data, but trying to update any row failed with an "AK Cachedirectory full" error. In an attempt to find a solution, we temporarily disabled one "update" db trigger on that table, and this has immediately solved the problem. We reactivated the trigger to see if this was not a coincidence, and the problem immediately reappeared (although this time we got an "[-9206]: System error: AK Duplicate catalog information" error which quickly lead to a "Restart required" error). De-activating the trigger again solved the problem. Note that this trigger usually works without any problem, so it's also unclear why it suddenly lead to that problem.

 

Actually we also noticed in the past that adding or removing a constraint on that particular table could lead to suddenly having some "AK" errors. Also adding or dropping columns, or adding/removing foreign keys seemed to sometimes make that table "unstable".

 

Maybe that's a silly question, but is there a way we could check if the internal "structure" of a table is somehow corrupted? For example we also get a strange error that when a constraint is violated, the exception usually reports the wrong constraint, having an offset of 1 with the real constraint (I don't remember if it reports the previous or next constraint instead of the right one).

 

Any idea or hint about a possible problem?

 

Thanks,

Christophe


Re: Xuser fatal error when trying to create an entry

$
0
0

Hi Burkhard,

 

I have done some digging in old documentation and it look like I need to add annonymous authentication to Directory Security. However, the naming conventions and controls are all changed/different in IIS version 8.5.

 

Please could you advise as to what documentation I should be looking at. I have already applied the SAP notes for the missing IIS roles and we have modified the local windows firewall to allow access on ports 1095 and 1090 for the domain, so there are no restrictions there.

 

Many thanks Maria

Re: Xuser fatal error when trying to create an entry

$
0
0

Hello Maria,

I do not know any documentation since I am not IIS expert. I would only like to answer your Xuser question and the connectivity from IIS to MaxDB where ODBC is used.

 

Hope some other of the forum could help you.

 

Sorry

Burkhard

Max DB

$
0
0

Max DB backup taking more time to completion..How to check backup completion in percentage and what are the basic logs need to check for troubleshooting  in Max DB.

 

Regards,

Prajith Ev

Dumps getting cancelled

$
0
0

Hello Everyone,

 

In one of our production maxdb system, I noticed the below error on the xserver_<hostname>_<port>.prt file:

 

1610 73440 ERR  11934 XSERVER  Connect request: server rejected connection

  1711 73440 ERR  11934 XSERVER  Connect request: server rejected connection

 

There were abap dumps occurring , the dumps were getting cancelled.

 

My normal reaction was to check for x_server; but that was running.

The load at this time taken was :

top - 21:19:56 up 14 days, 18:16,  6 users,  load average: 0.21, 0.47, 0.49

Tasks: 251 total,   1 running, 250 sleeping,   0 stopped,   0 zombie

Cpu(s):  2.9%us,  1.2%sy,  0.0%ni, 95.7%id,  0.0%wa,  0.0%hi,  0.2%si,  0.1%st

Mem:     32783M total,    32433M used,      350M free,      248M buffers

Swap:    20479M total,        0M used,    20479M free,    17944M cached

 

This is a 8 core 32 GB system.

 

Also I checked for the cachememorysize

It was initially around 2098048 KB which then went down to 1258897 KB

 

 

 

Any suggestion on what could be the reason for the error?

 

Regards,

Vinay

Re: Max DB

$
0
0

Hi  Prajith,

 

if you have access to the SAP Note System you can use the following sapnote 1676903 which tells how to analyze and optimize the backups.http://service.sap.com/sap/support/notes/1676903

 

 

You do the analysis with the help of Database Analyzer Expert files.

 

 

My experience is that in most cases I could optimize backups by using a parallel medium instead of a single medium.

Regards, Christiane

Re: Dumps getting cancelled

$
0
0

Hello Vinay,

 

the reason for this kind of problem has to be analyzed directly on the database server.
For me it sounds like you should open an BCP Incident and provide LOGON data to the System which was affected from the problem.

 

DB-Analyzer should provide more information about the situation when no connection to the database was possible anymore.

 

Regards, Christiane

Re: Is it possible to install MaxDB on Windows 8?

$
0
0

Hi,

 

generally yes - Windows 8 is supported with SAP MaxDB 7.9.08.

So it should be possible to use the  maxdb_all_win_64bit_x86_64_7_9_08_26 package and install it on Windows 8.

 

Regards, Christiane


Re: Max DB

$
0
0

Hi Christiane,

 

Thanks for the update but i'm not able to find any Database analyzer option under performance in DBACOCKPIT T-Code. Please suggest how to monitor MAXDB from SAP level.

 

 

Regards,

Prajith...

Re: Max DB

Re: MaxDB UpdAllStats - missing optimizer statistics for one name space

$
0
0

Hi again,

 

well it seems to be more of a visualisation problem I guess.

 

We figured out that in MaxDB Database Studio you can see the optimizier statistics but not in the SAP system itself.

 

We'll keep you up to date.

 

Best

Marie

 

Edit: it was really just a visualisation problem... DB Studio rhows the right values

MaxDB I/Os on Windows

$
0
0

Hello,

 

I'm looking for some hints, which can help me to analyse the disk acitvity for a single "Left Outer Join" SQL statement. Unfortunately, the business is not able to enter an additional Where - clause.

 

Our database (version: 7.9.08.14 / OLTP)  is running on a virtual Windows 2008 R2 Server (ESXi 5.1.0). All datavolumes (50 pieces) are on a single LUN.

 

If I use the "x_cons <DB> show active 1 25", I get this reponse from, where T128 is my ID. During the whole runtime of the statement, there is no high cpu (Task Manager) or high disk activity (Resource Monitor of Windows). If I copy a file (3,5 GB) on the LUN, the performance is OK.

 

SERVERDB: xxx

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T128  11 0x13DC User      1240* IO Wait (R)             0     27        39077695(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T54    9 0x1A60 User      6884* IO Wait (R)             0     15        121292233(s)

T128  11 0x13DC User      1240* IO Wait (R)             0     24        39077820(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T35    8 0x1770 User      1812* IO Wait (R)             0     26        32578072(s)

T54    9 0x1A60 User      6884* IO Wait (R)             0     47        121292754(s)

T128  11 0x13DC User      1240* IO Wait (R)             0      9        39078040(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T54    9 0x1A60 User      6884* IO Wait (R)             0     20        121292947(s)

T128  11 0x13DC User      1240* IO Wait (R)             0     26        39078296(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T128  11 0x13DC User      1240* IO Wait (R)             0     29        39078437(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T128  11 0x13DC User      1240* IO Wait (R)             0     13        39078563(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T128  11 0x13DC User      1240* IO Wait (R)             0      4        39078667(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T128  11 0x13DC User      1240* IO Wait (R)             0     20        39078759(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T128  11 0x13DC User      1240* IO Wait (R)             0      8        39078856(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T128  11 0x13DC User      1240* IO Wait (R)             0      3        39079019(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T128  11 0x13DC User      1240* IO Wait (R)             0     37        39079176(s)

 

ID   UKT  Win   TASK       APPL Current        Timeout/ Region     Wait

          tid   type        pid state          Priority cnt try    item

T128  11 0x13DC User      1240* IO Wait (R)             0     11        39079282(s)

 

 

I know there are many components, but maybe with some hints I'm able to exclude a one or more component(s). I already check the good scripts from http://maxdb.sap.com/traning, but unfortunately without success.

 

 

Thank you!

 

best regards

Lukas Meusburger

Re: MaxDB I/Os on Windows

$
0
0

Hello Lukas,

 

you know the Task which is runing the command which has to do the IO - it is T128 -

The database console program has additional optionen to get detailed information about what is task T128 doing in detail related to runtime environment.

you can run x_cons <DBNAME> show T_C T128

 

Option T_C means task details.

May be is should be better to reset all x_cons counters before you start the Join statement again:

x_cons <DBNAME> reset_all

 

Here you get more information about IO and times.

 

Additionally you can switch on the command monitor in version 7.9.08.14 you'll get detailed information how many IOs have to be done exactly for this command.

Please start command monitor BEFORE you run the SQL Statement.

 

Regards, Christiane

Re: Is it possible to install MaxDB on Windows 8?

$
0
0

I needed to copy C:\Windows\System32\drivers\etc to syswow64 and installation succeeded.

Re: Can't install MaxDB on Windows 8

$
0
0

I needed to copy C:\Windows\System32\drivers\etc to syswow64 and installation succeeded.


Database Studio not starting

$
0
0

I've installed maxdb_studio_win_64bit_x86_64_7_9_08_18 on windows 8 Pro Version 6.2.9200. The Java runtime is 32bit jre1.8.0_25. Database studion doesn't run - there is no error message. The xServer services are all running. I've verified the installation using the installation manager.

 

Is there any way to diagnose what's wrong - any log or trace file I could look at?

Re: MaxDB I/Os on Windows

$
0
0

Hello Christiane,

 

I used the commands x_cons <DB> dev_io and x_cons <DB> T_C xxx, but for me the output isn't really clear.

 

1) DEV_IO - Command

1.1) What does the AvgRead-Time in ms means?

E.g first row: Readed pages = 4 and AvgReadTime / Page about 7 millisec. True or False?

Is this a more or less good value or more bad?

 

show_dev_io.png

 

 

2) T_C - Command

2.1) Which parameter is most important or most meaningful? And which DB-parameter can impacted this?

 

show_C_T.png

 

 

Unfortunately the command monitor doesn't works correctly. I didn't find the statement in the table, although I activated the monitor before starting the query. I have to check this too.

 

Thanks.

 

best regards,

Lukas

Re: MaxDB I/Os on Windows

$
0
0

Hello Lukas,

 

the x_cons output show Dev_IO gives information about the asynchronous IO statistics.
MaxDB is oding asynchronous IO means that the User Task which is executing the SQL command does not do the IO by itself but forward the IO request to the Dev_THreads . They are responsible for the IO forwarding to the IO subsystem.

 

You have several IO Threads or IO worker Threads  per Data Volume therefore you have several entries for the same Data volume. The statistics shows how many worker threads were active since the last reset of the console or restart of the database.And you get information about the average read /write time per read and write via the Dev-threads. So it does not look so bad on your system.

 

The Task Details give us more detailed information about what ressources the Task is consuming.
In Your example Task T128 has Application PID 1240, has executed 32 SQL commands since reset of the console. You'll get the dispatch count of the internal tasking and you'll see the reads were done on DISKD0041 more than 830.000 read IO were executed and per read IO 1 Page was read. And you get the time for read Io - the relative and abs dev read time are fine - we do not have a gap here, emans additional wait time.

 

The command monitor only loggs SQL commands which are related to the thresholds when you started the Command monitor. If the statement does not fulfill the threadsholds it is not logged.
The you must use the SAP transaction ST05 SQL Trace to log the Commands. Here you can execute the EXPLAIN plan of the long running statement. May be you have to optimize this statement with additional indexes.

 

So you'll see this is a very complex analysis which cannot be done in detail via SDN. If you are a SAP customer I recommend to open an incident and request performance analysis of your statement.

 

Regards, Christiane

Re: MaxDB I/Os on Windows

$
0
0

Hello Christiane,

 

Thank you for helping.

I'll close this thread and open an incident on the SAP SupportPortal.

 

 

best regards,

Lukas

Re: Error "-9400 AK Cachedirectory full"

$
0
0

Hello,

 

You can check SAP note 1334850 and get more information.

A second work around option which you can try is to set the

USEVARIABLEINPUT = YES (SAP Note No. 1001257).

 

Regards,

David

Viewing all 2539 articles
Browse latest View live


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