Quantcast
Channel: SCN : All Content - SAP Applications on SAP Adaptive Server Enterprise (SAP ASE)
Viewing all 956 articles
Browse latest View live

SAP ASE Data Cache setup

$
0
0

We are using ECC6 (ehp7) with SAP ASE 15.7.

I am new in BASIS . Can any one help me to set ASE parameters.

How to set  following parameters of ASE as per SAP recommendation?

 

Parameter

Description

Current Value

Recommendation

default data cache (16K)

Default Data Cache ( MB ) -> Recc 80% Available Memory

400

6144

wash area (16K)

Wash Area for 16K Default Data Cache ( MB ) - > Recc 10%

N/A

614

default data cache (128K)

Default Data Cache ( MB ) -> 128K

N/A

1500

wash area (128K)

Wash Area for 128K Default Data Cache ( MB ) - > Recc 10%

N/A

150


sap database procedure proxy call on ASE

$
0
0

We are using ECC6 (ehp7) + SAP ASE 15.7.

 

Can we use sap database procedure proxy call on ASE Database ?

ASE SQL422 ON BW

$
0
0

dear All

i have a problem with BW on ASE.

My BW is 731 on ASE 15.7.100

I receive an error SQL422 too many nested exception.

I have found the note 2018715. but the suggested hints does not work.

It reminds on a KBA 2209638 but it's not released.

Someone can send me some hint?

is it necessary to upgrade to ASE 16?

Where to download Sybase Open Client from ?

$
0
0

I was assigned with the task of installing Sybase Open Client on a new server. They told me I could find the installation files on

 

 

SAP website and I did found it there, the weird thing is that the SAP website link (http://www.sap.com/corporate-en/about/our-

 

 

company/policies/sybase/third-party-legal.html) for Sybase Open Client only redirects to a blank pdf file.. Do you know where I can find the

 

 

installation files to download?

How to do Application Tracing in ASE

$
0
0

If ASE server was been disable MDA monitoring, you hit a query issue frequently and hard to identify the exact query being run by the user at the point in time. You want to capture submitted SQL using application tracing.  

Following is steps of Application Tracing:

  1. Use sp_who to find the spid of the slow query in application.
  2. set tracefile 'pathname' for spid
  3. Enable desired options
    dbcc traceon(3604)
    set show_sqltext on
    set statistics time, io on
    ...
  4. Check tracing (sp_helpapptrace)
  5. (run test in application)
  6. set tracefile off for spid

       For example, during the slow query being run:

      -------------------------

      isql -Usa -P<pwd> -S<servername>

      1> sp_who                                   --find spid of the slow uery, e.g. spid 12

      2> go

      1> set tracefile '/tmp/spid12_20150825.out' for 12

      2> go

      1> dbcc traceon(3604)

      2> go

      1> set show_sqltext on                 --'set' commands apply to session 12 from now on

      2> go

      1> set statistics time, io on

      2> go

          <Waiting for the query (session:12) to finish>

      1> set tracefile off                      -- disable tracing

      2> go

      1> set tracefile off for 12

      2> go

      You could find trace output in tracefile: '/tmp/spid12_20150825.out'.
      -------------------------

Application Tracing in ASE 15.0.2 and above:

  • Capture executing SQL in another session
  • Capture diagnostics output from that another session into a file
  • Set options in another session than yourself 
          set showplan, set statistics...
  • All fully transparent to the session being traced

Please note:

  • set tracefile {'pathname' | off } [for spid]
    1. Saves all SQL text to a flat file until turned off
    2. Session tracing is enabled for the spid/session being traced.
        It is not the perspective that the sa session is tracing a spid, but rather that a spid is being traced
    3. You can also trace yourself -- for example from a login trigger
       
    Restrictions
    1. You cannot save the SQL text for system tasks (housekeeper, checkpoint process, etc.).
    2. You must have the sa or sso roles, or be granted set tracing permission
    3. set tracefile is not allowed to open an existing file as a tracefile.
    4. During an SA or SSO session, if you enable set tracfile for a specific spid, all subsequent tracing commands executed take effect on that spid, not the SA or SSO spid.
    5. You cannot trace more than one session at a time from a single sa or sso session.
    6. You cannot trace the same session from multiple sa or sso sessions.

           Notes
           1. The file storing the trace output is closed when the session being traced quits or when you disable tracing.
           2. Before you allocate resources for tracing, keep in mind that each tracing requires one file descriptor per engine.

  • sp_helpapptrace
    System proc reporting sessions being traced, and those doing the tracing.
      
  • Set options that affect tracing
    set show_sqltext [on | off]   (requires trace flag 3604 to be on)
    set showplan [on | off]
    set statistics io [on | off]
    set statistics time [on | off]
    set statistics plancost [on | off]
    set option show [normal | brief | long | on | off]
    set option show_ …. (etc)  
      
  • Tracing a session

    Once you have enabled tracing for a session, any further set commands associated with QP debugging take effect for the session being traced vs. the session issuing the commands.

Sybase log

$
0
0

Dear Team,

 

We are new to Sybase database, while installing SAP ECC system we have created 2 logs as saplog_1 and saplog_2 each of 40gb

in dbacockpit we can find database details options set as Truncate log on checkpoint = Yes

 

But when we check transaction log usage the log used is mostly 0 MB attached file for reference

 

But system is a development and continuously used by development/Functional team and logs are not generated

 

Usually comparing to oracle archive logs fills up timely many a time but not seeing such actions in sybase

is there a configuration issue or Sybase works like this kindly advice

 

Thanks and Regards,

Praveen

Sybase ASE space management

$
0
0

Dear Friends,

 

Does anyone have the SQL statement which I can use it to get the complete DB sizes. I have a script but I'm getting the below NULL Value and not sure where is the mistake ?

 

output.JPG

 

Thanks and Regards,

Vimal

Adaptive Server requires encryption of the login password on the network

$
0
0

Hi experts,

 

I have installed a distributed configuration of BO BI 4.1 SP5 on Linux RH 6.5 with Sybase ASE 15.7 SP 131 :

 

SAP ASE 15.7 SP131 on one server & CMS on an other server.

 

Everything works well.


Now, I would like to activate "net password encryption reqd" on my Sybase server.

 

But when this parameter is activated, CMS server doesn't start anymore :

 

more error_boe_cmsd6400.log

 

33007   SAP BusinessObjects BI platform CMS: Unable to connect to the CMS system database ""<SID>"". Reason: Adaptive Server requires encryption of

the login password on the network.

35101   The root server reported an error Initialization Failure. (Reason: SAP BusinessObjects BI platform CMS: Unable to connect to the CMS syst

em database ""<SID>"". Reason: Adaptive Server requires encryption of the login password on the network. SAP BusinessObjects BI platform CMS: Unabl

e to connect to the CMS system database ""<SID>"". Reason: Adaptive Server requires encryption of the login password on the network.  CDatabase::Op

en failure. ).

 

Can someone help me?

What kind of connection mechanism is used by CMS server to access CMS DB Repository?

 

Regards


ASE support for AIX 7.2

Re: Automatic monitoring of Sybase ASE

Java NW74 SP2 Virtual hostname install error in SAP ASE database hostname resolution

$
0
0

Hello

 

When install sap central system for WAS JAVA based on NW74 SP2, SAPINST return error message in the definition parameters for SAP AE database, Unable to resolve local host vxx-xxx-xx

.

This is an installation using vistual hostname or logical hostname.

OS Linux RHEL6u7 x86_64 sapinst start with parameter SAPINST_USE_HOSTNAME=vxx-xxx-xx

 

OS Network setting

/etc/hosts
127.0.0.1   localhost localhost.localdomain

xxx.xxx.xxx.xxx hostname
xxx.xxx.xxx.xxx virtualhost

 

 

Thanks for your support

 

Eric

sybase problem

$
0
0

SELECT DISTINCT acc_main_code.main_code,  

         acc_main_code.main_name,  

         acc_sub_code.sub_code,  

         acc_sub_code.sub_name  

    FROM acc_main_code,  

         acc_sub_code  

   WHERE ( acc_sub_code.co_code = acc_main_code.co_code ) and  

         ( acc_sub_code.main_code = acc_main_code.main_code )   

 

 

 

 

 

 

 

didn't work and the server hanging

sap_oltp vs allorows_mix

$
0
0

Hi,

 

from few day I see that check parameters in DBACOCKPIT show some strage errors:

 

KKK_36 2016-01-30 17.47.jpg

 

Can I ignore this messages? ... it is a box with NetWeaver 7.02 (BW usage) on ASE 15.7.136 on Windows but I see same situazion on a ECC 6.05 on ASE 15.7.131

 

Number of network task should be one on Windows... and optmization goal shoould be allrows_mix... is it true?

Can I ignore this status?

 

Thank you.

ASE 16K Page Size

$
0
0

Hi

 

Building a new ASE 15.7 server to migrate from 2K to 16K page size. Few questions, would like advise on.

 

1) The configuration required removing all buffer pools lower than 16K as it was throwing error on log otherwise. Is this as expected?

2) The create database command appears to create the log size differently to that specified. For instance 'create database test on dev01='60M' log on devlog01=15' creates the database as 72Mb (60Mb data, 12Mb log). Is this as expected.

3) How should cache pools be defined in caches for 16K?

4) Are there known real case issues with use of 16K page migrations?

 

Thanks

Jay

IDES EHP7 Installation error SAP SYBSQL_SID service can not be started code 1067 & 1053

$
0
0

Hi,

 

 

I am trying to install SAP IDES EHP7 system using Windows 2012 & ASE Sybase 16.

 

Currently I am stuck at installation phase "Configure Database Components" where SAP has attempted to restart Sybase DB service but it has failed and until DB service will be up installation can not be progress further.

 

Following are my observations w.r.t SAP SYBSQL_ID1 service

 

Installation is trying to restart Sybase DB service

service is stopped & not getting started

trying to start it manually

service failed with error 1067 : The process terminated unexpectedly (When service has local user credentials i.e. ".\sybid1" )

In the Windows Event log, I am getting below messages

After that I used one domain A/c to start the service i.e. "domainXYZ\sybid1"

then I am getting error 1053: Service did not respond to the start or control request in a timely. fashion.

 

In the event log I am getting time out error, I tried to increase time out value to 24 hrs.(https://support.microsoft.com/en-us/kb/884495) but its still failing & running for only 30-40 seconds, however event log shows new value of time out i.e. 86400000 so changes are reflected but service is not getting started.

 

 

As this is Windows service issue, I am not getting any logs anywhere else (not in sapinst_instdir as well).

 

Kindly suggest is there anyway to forcefully start Sybase database or Is it possible to recreate service as stated in link Error 1053: The service did not respond plz

 

If I am going for recreation of service manually then will there be any impact on installation which is halted now w.r.t. any registry changes.

 

Thanks for your response.

 

Best Regards,

Kiraang.


ase isql login error (CT-LIBRARY error)

$
0
0

Dear Ase Gurus,

 

When i try to login to "isql -Usa -SSBD , after Password.

Error : CT-LIBRARY error: ct_connect(): directory service layer: internal directory control layer. error: Requested server name not found.

 

After this , i tried to unlock SA user, "isql -Usasso -SSBD after Password :  error is same !

Error :  CT-LIBRARY error: ct_connect(): directory service layer: internal directory control layer. error: Requested server name not found.


Remote Desktop : 192.168.xxxx - User : Sybsbd

 

What could be the problem ?

 

Best Regards

Database Space Usage

$
0
0

Hi

 

Is there a query/sp that can check each database on server and report by total space usage by segment. The databases have user defined segments.

 

Thanks

SAP Distributed Installation (Database server with several DB instances with Sybase ASE DB)

$
0
0

Hello,

 

I´m with some doubts regarding the installation of Sybase ASE database in a SAP distributed installation. I have to servers, one server for the SAP application instances (ASCS/SCS and PAS instances) and other server for all databases instances (two database instances). This database host should have two database instances, for two SAP systems, to the future Solution Manager (SolMan) and Process Integration (PI) systems.

 

In past I already installed a SAP system on a Sybase ASE database, but it was in a standard installation, this is, all the instances (SAP instances and database instance) were installed in the same server. But now, in a distributed installation, which I want to install two database instances on a Sybase ASE database, what I have to do?... I mean... howshould I installthe Sybase ASE database? In a standard installation the installation of Sybase ASE database is performing during the SAP installation (using the SWPM). In this specific case, using the distributed installation option, the binaries of Sybase ASE DB are installedfirst/before or this is part of the SAP installation...!?


Can you clarify me please?... because in SAP installation guide, in section "Distributed System Installation" I don´t see anything about this...!



Thank you,

João Dimas

ASE_CORE expiry date - grace period

$
0
0

HI,

 

I have recently migrated a BO box running on Windows 2008 from SQL Anywhere to Sybase ASE.

 

when i check sp_lmconfig, i get below result-

 

  • ASE_CORE 9999.12310 1 graced Feb 17 2016 6:16PM null          . Detail output attached a png file.       

 

00:0000:00000:00000:2016/01/25 09:28:22.15 kernel  Allocating a shared memory segment of size 1388707840 bytes.

00:0000:00000:00000:2016/01/25 09:28:22.16 kernel  WARNING: shared memory segment is being held by another application

00:0000:00000:00000:2016/01/25 09:28:22.18 kernel  FATAL: shared memory region is being held at 1360003072 bytes but 1388707840 bytes are required

00:0000:00000:00000:2016/01/25 09:28:22.18 kernel  kbcreate: couldn't create kernel region.

00:0000:00000:00000:2016/01/25 09:28:22.18 kernel  kistartup: could not create shared memory

00:0000:00000:00000:2016/01/25 09:29:59.21 kernel  SySAM: Using licenses from: E:\Sybase\\SYSAM-2_0\licenses\SYBASE.lic;E:\Sybase\\SYSAM-2_0\licenses\SYBASE_ASE_DE.lic

00:0000:00000:00000:2016/01/25 09:29:59.80 kernel  SySAM: Checked out graced license for 8 ASE_CORE (9999.12310/permanent/0D95 899E D903 187C) will expire Wed Feb 17 18:16:09 2016.

00:0000:00000:00000:2016/01/25 09:29:59.80 kernel  SySAM: Failed to obtain license(s) for ASE_CORE feature from license file(s) or server(s).

00:0000:00000:00000:2016/01/25 09:29:59.80 kernel  SySAM: Insufficient ASE_CORE CPU licenses. ASE requires 8 ASE_CORE ("DT") CPU licenses for use on this machine but only 1 could be obtained. Check whether additional licenses are available at the Sybase Product Download Center.

00:0000:00000:00000:2016/01/25 09:29:59.80 kernel  SySAM: License feature name:  ASE_CORE

00:0000:00000:00000:2016/01/25 09:29:59.80 kernel  SySAM: License search path:   E:\Sybase\\SYSAM-2_0\licenses\SYBASE.lic;E:\Sybase\\SYSAM-2_0\licenses\SYBASE_ASE_DE.lic;

00:0000:00000:00000:2016/01/25 09:29:59.80 kernel  SySAM: FLEXnet Licensing error:-73,125

00:0000:00000:00000:2016/01/25 09:29:59.80 kernel  SySAM: For further information, refer to the Sybase Software Asset Management website at http://www.sybase.com/sysam

 

 

Anyone seen this error.

Thanks for Help.

 

BR,

DK

SAP ASE Remote Back up

$
0
0

Hi Experts,

 

I Want to Back up my SAP ASE DB to Remote server location , How to point Remote server during DUMP and Load,

can we Dump DB at Multiple Location, Please help me

 

 

Regards

SROY

Viewing all 956 articles
Browse latest View live


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