Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all 8968 articles
Browse latest View live

Re: Delta Merge Duration

$
0
0

Hi Mahesh,

 

In general, for larger tables Delta merge in system generally utilizes more resources and creates a heavy load on the system. Let me try to explain how it calculates.

 

1. It is generally based on number of merge tokens

 

2. Each merge token uses one CPU

 

3. load balancing cost function (load_balancing_func) determines the actual number of available merge     tokens

 

4. The number of token that needs to be will be calculated by system.

 

5. By default, there will be two tokens available for each tale.

 

Coming to your case, You can try start troubleshooting in this way

 

** TRY IN DEV/QUALITY SYSTEM BEFORE TRYING IN PRODUCTION **

 

1. Try to perform manual delta merge and check if it is taking the same time.

 

2. Change the value of default value of token_per_table to 1 and check if it is helping.

 

3. Try reducing number of parallel threads in system and perform manual merge for the same table and check if those are help full.

 

4. You can activate some trace on that and see if there is an issue with the table.

 

Regards,

Pavan Gunda


Re: Query slow performance sys_databases.m_backup_catalog

$
0
0

It took only 1.35 sec for me to fetch these details. Yes, I belive there should be some issue with the system. Hopefully, you will get the result in ms in your new hardware

Re: User info stored in SQL data tables

$
0
0

Hello Deniz,

 

You can use below sql scripts in SQL Console;

 

select MANDT, BNAME, BCODE, PASSCODE, PWDSALTEDHASH, UFLAG from [SID].[sid].USR02 where BNAME IN('<Username Password known>', <User name password unknown>)

 

update [SID].[sid].USR02

set PWDSALTEDHASH = (SELECT PWDSALTEDHASH FROM [SID].[sid].USR02  WHERE BNAME = '<Username Password known>' AND MANDT ='000')

where BNAME ='<User name password unknown>' AND MANDT = '100'

 

update [SID].[sid].USR02

set PASSCODE = (SELECT PASSCODE FROM [SID].[sid].USR02 WHERE BNAME = '<Username Password known>' AND MANDT ='000')

where BNAME ='<User name password unknown>' AND MANDT = '100'

 

update [SID].[sid].USR02

set BCODE = (SELECT BCODE FROM [SID].[sid].USR02 WHERE BNAME =  = '<Username Password known>' AND MANDT ='000')

where BNAME ='<User name password unknown>' AND MANDT = '100'

 

 

Regards,

Yuksel AKCINAR

Re: Query slow performance sys_databases.m_backup_catalog

$
0
0

Looks like this might actually turn out to be an issue with the version we were on. The VM's that were built we used an early version SPS 11.  Basis guys patched yesterday afternoon and so far no change in performance.

 

I will have to get the patch details but will update this thread with that information if it solves the problem.

 

Thanks for all the responses

Re: Roles not grantable with Studio but grantable with WebIDE

$
0
0

Hello,

 

Have you tried using Studio 2.1.9?

 

BR

 

Michael

Re: Vora and Amazon S/3

Re: Vora with Amazon EMR

Re: Transforming an ISO 8601 timestamp in HANA

$
0
0

Lucas,

 

I've tested on both the ETL (BODS) and HANA side; the HANA version does not recognize the additional "T" and "Z" characters in the format pattern, while in BODS those are accepted and produce the desired results.  It would be nice if there was a notation ("[..]"?) to indicate an optional part of the format when converting input, but I've worked around that.

 

I have another thread tracking the NULL issue (in the BODS section), which has a couple of interesting wrinkles since the functions there treat nulls differently than other characters.

 

Thanks,

  Donn


Re: Transforming an ISO 8601 timestamp in HANA

$
0
0

Lucas,  p.s.:

 

The to_timestamp() on HANA does convert an ISO 8601 timestamp properly only if the format string is not provided; however it does not accept the "T" and "Z" as part of an otherwise valid format (e.g. to_timestamp('2016-01-19T23:45:22.678Z', 'YYYY-MM-DDTHH24:MI:SS.FF3Z') ). 

This action seems counterintuitive to me, leading to the results I am seeing.

 

Donn

Problem with SAP SQL debugger

$
0
0

Hi,

 

I am using the Web IDE workbench

I have a problem when trying to execute the following code in the SQL code:

call HCP.HCP_GRANT_ROLE_TO_USER('{{PACKAGE_NAME}}::helloworld_user','{{USER_NAME}}')

 

I get this error

12:39:59 PM (SQL Debugger) Error in Main WebSocket Connection to backend for SQL debugging...

12:39:59 PM (SQL Debugger) The Main WebSocket Connection for SQL debugging was closed...

12:39:59 PM (Content Persistence) Could not restore tab since editor was not restorable.

12:42:06 PM (SQL Editor) Could not execute 'call HCP.HCP_GRANT_ROLE_TO_USER('{{PACKAGE_NAME}}::helloworld_user','{{USER_NAME}}')'
Error: (dberror) 328 - invalid name of function or procedure: HCP_GRANT_ROLE_TO_USER: line 1 col 9 (at pos 9)

Re: Error configuring SAP HANA Rules Framework SP07

$
0
0

Dear experts,

 

we finally found the root cause of our issue in the HANA trace files. It was an unintentional space in the URL:

%20configuration.png

Now everything works perfectly.

 

Best regards

 

Frank

Error creating HANA Rules Framework Rule Service

$
0
0

Dear HANA Rules Framework experts,

 

we have been following Noam Gilady's excellent HANA Rules Framework blog with its respective references.

 

With that, we got everything working including a Vocabulary and Rule.

 

However, when trying to create a Rule Service, we get an 258 - insufficient privilege: Not authorized error. It looks as if the HRF framework tries to create a procedure in the SAP_HRF schema:

CREATE PROCEDURE.png

When executing this code from the SQL Console it fails

DBTech.png

with an

 

SAP DBTech JDBC: [411]: invalid table type: Cannot find table type SAP_HRF.bat::Aggregation.OUTPUT.TYPE: line 4 col 30 (at pos 134)

 

Has anyone come across this before?

 

Many thanks in advance

 

Frank

Re: Mass User Change

$
0
0

The ALTER statements cannot be run directly from within SQLScript.

To do that, you need to use dynamic SQL ( EXEC/EXECUTE IMMEDIATE).

BoH HANA - DBCON/DBACOCKPIT Connection to External Oracle Database

$
0
0

Dear Experts,

We have migrated ECC  system from Oracle to HANA.

We are troubleshooting a database connection in HANA DBCON/DBACOCKPIT to our external Oracle database.  We had the external database connection working before migration, but in HANA does not seem to connect to the external database.  Details below.

 

We are able to connect to the remote database with tnsping from the HANA server following command, but going through SAP results in 12154 Error.

 

> tnsping WTKTST

 

TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on 13-FEB-2016 17:16:31

 

Copyright (c) 1997, 2011, Oracle.  All rights reserved.

 

Used parameter files:

/sapmnt/DD1/profile/oracle/sqlnet.ora

 

 

Used TNSNAMES adapter to resolve the alias

Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = lrlupsaptax1.sap.entergy.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = WTKTST.WORLD)))

OK (10 msec)

===========================================

 

Testing from ADBC_TEST_CONNECTION:

 

Testing a Database Connection Defined in DBCON

 

 

Could not open connection TAXDB                          .

sql error     12,154  occured:

con=1(WTKTST): ORA-12154: TNS:could not resolve the connect identifier specified.

 

=========================================

 

more dev_w21

 

Sat Feb 13 16:55:00 2016

B  Library '/usr/sap/DD1/DVEBMGS00/exe/dboraslib.so' loaded

B  Version of '/usr/sap/DD1/DVEBMGS00/exe/dboraslib.so' is "742.06", patchlevel (0.314)

B  Connect to TAXDB as SMSAP_OPER with WTKTST

C  dbs/ora/array_buf_size = 130000

C  dbs/ora/stmt_cache_size = 250

C  Register application info.

C  Oracle client version: 11.2.0.3.0, V1, default build, (dbsl 742 301115, UNICODE[2])

C  Installed Oracle client patches:

C  # Patch  13508485     : Created on 21 Dec 2011, 13:23:38 hrs PST8PDT

C  # Patch Description: Created on  3 Jan 2012, 02:50:27 hrs PST8PDT

C  # Patch  11742262     : Created on  7 Mar 2012, 12:22:41 hrs CET

C  Connecting as SMSAP_OPER/<pwd>@WTKTST on connection 1 (nls 0) ... (dbsl 742 301115, UNICODE[2])

C  OCIHandleAlloc(con=1): Service svc=84d8a58 created, rc=0

C     OCIServerAttach(OCI_DEFAULT) failed with SQL error 12154:

C     ORA-12154: TNS:could not resolve the connect identifier specified

C  OCIServerAttach(con=1, svc=84d8a58): Error 12154 attaching new srv=84d9a70 to 'WTKTST'

C  OCIHandleFree(con=1): Server handle srv=84d9a70 freed.

C  OCIHandleFree(con=1): Service svc=84d8a58 freed (i=0).

C  rc=12154 -> Trying to reattach to server 'WTKTST'

C  OCIHandleAlloc(con=1): Service svc=84d8a58 created, rc=0

C     OCIServerAttach(OCI_DEFAULT) failed with SQL error 12154:

C     ORA-12154: TNS:could not resolve the connect identifier specified

C  OCIServerAttach(con=1, svc=84d8a58): Error 12154 attaching new srv=84d9a70 to 'WTKTST'

C  OCIHandleFree(con=1): Server handle srv=84d9a70 freed.

C  OCIHandleFree(con=1): Service svc=84d8a58 freed (i=1).

C  *** ERROR => CONNECT failed with SQL error '12154'

[dbsloci.c    16088]

C  {root-id=005056AA0C991EE5B4D480022BFD7EAF}_{conn-id=00000000000000000000000000000000}_0

B  ***LOG BY2=> sql error 12154 performing CON [dbds         971]

B  ***LOG BY0=> con=1(WTKTST): ORA-12154: TNS:could not resolve the connect identifier specified [dbds         971]

 

Regards,

Mani

Re: Calculated column in analytic view - To get the value for power of a variable that is (Variable) to the power of (1/x)

$
0
0

Hi Thiru, Muthuram, Ganapathy,

 

After an analysis with few customers data with SALES_0 and SALES_3 (Excel), it is observed the suggestion provided before is working as per the requirement (Thanks all!) i.e., the operator ^ and **, but I should make use of decimal part of 1/x. Example: 0.25 of 1/4.

 

The error screenshot which I shared before is due to specific case only as shown in the screenshot.

 

Error for Negative CAGR root.JPG

 

And the details are as shown below:

 

Final Analyze.JPG

 

 

When the SALES_3 is negative then the power of 0.25 is giving an error, as a basic mathematics issue that is root of any negative number is an imaginary. This was causing an error!!

 

So, I am thinking to restrict SALES_0 and SALES_3 greater than zero then perform the CAGR operation, else mark it as Zero.

 

Thanks Everyone.. It helped a lot!!

 

Regards,

Nachappa S


Re: BoH HANA - DBCON/DBACOCKPIT Connection to External Oracle Database

$
0
0

Hello Mani,

 

I think you should test command tnsping WTKTST in application server and check if it succeeds or not, Oracle client and library should be installed in application server.

 

Regards,

Ning Tong

Re: Same Tables in Different Schemas

$
0
0

Murray, Basically apart from standard system schemas, there are few schema matching with Logon User IDs. Like there is one for my logon id.

 

And almost all the tables like VBAK, VBAP, MARA etc, they all are in my schema and in other schemas as well, so in short almost all the schemas have similar tables.

Re: BoH HANA - DBCON/DBACOCKPIT Connection to External Oracle Database

$
0
0

Hello Ning,

The Oracle client and library are installed in application server, the. tnsping WTKTST was tested working OK from the application server( I wrongly mentioned as HANA server, actually CI  sever connected to HANA  DB).


In debugging ABAP Database Connectivity (ADBC_TEST_CONNECTION), it fails at

SAP kernel calls CALL   'C_DB_FUNCTION'  with sql-code errror 12154.

 

Thanks

Mani

DATAFLOW:Data flow is terminated due to error .

$
0
0

Hi experts,

 

We have a job in HCI which would create a file in some folder location.

 

The Project has 2 tasks which will generate 2 files respectively. The first file generation is working fine and the task is terminating softly.

But the second file is not generating and is ending with the below error.

 

       (6696:6864)          READER:Waiting for 10 seconds before downloading data for reader XYZ. Retry 1 of 10.

       (6696:6864)          READER:Waiting for 10 seconds before downloading data for reader XYZ. Retry 2 of 10.

       (6696:6864)          READER:Waiting for 10 seconds before downloading data for reader XYZ. Retry 3 of 10.

       (6696:6864)          READER:Waiting for 10 seconds before downloading data for reader XYZ. Retry 4 of 10.

       (6696:6864)          READER:Waiting for 10 seconds before downloading data for reader XYZ. Retry 5 of 10.

       (6696:6864)          READER:Waiting for 10 seconds before downloading data for reader XYZ. Retry 6 of 10.

       (6696:6864)          READER:Waiting for 10 seconds before downloading data for reader XYZ. Retry 7 of 10.

       (6696:6864)          READER:Waiting for 10 seconds before downloading data for readerXYZ. Retry 9 of 10.

       (6696:6864)          READER:Waiting for 10 seconds before downloading data for reader XYZ. Retry 10 of 10.

       (6696:5824)        DATAFLOW:Data flow <data_flow_name> is terminated due to error <50011>.

       (6696:5824)        DATAFLOW:Process to execute data flow <data_flow_name> is completed.

       (6884:7144)             JOB:Job <job_name> is terminated due to error <50011>.

 

 

Can someone give me better insight about this problem, On the error code 50011 and about the issue. I can share more details.

 

Thanks in Advance

Anil

Re: Same Tables in Different Schemas

$
0
0

Hi Narinder,

 

For every user created on a HANA system, a schema is created with that of the user name. Data can be loaded in to this Schema through different Data Provisioning techniques. These tables might have been loaded through Data Services or SLT (Here you have loading and replication).

 

Each of these tables in these different scehmas are separate instances and a table in ECC can be loaded in to different schemas under the same name but have to be in different schema. If trying to load in to the same schema the records will be appended or the table can be overwritten.


Different users are using the same server that you are using and each one is loading or replicating these tables for their own practice purposes.

Viewing all 8968 articles
Browse latest View live


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