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

SAP HANA Calc View analytical previlege

$
0
0

Hello Experts,

 

  We have created graphical calculation view of type CUBE and then created analytical privilege to restrict data by country.  Users are getting errors as not authorized for view.  But we don't restrict by country then it works fine for the same user.  Just to prove the concept we created analytical view with same tables and created analytical privilege to restrict by country it works perfect.

 

  We are using HANA SPS 97.  Any help would be appreciated.

 

Thanks

Mohan


Workload Management in HANA

$
0
0

Hello Everybody,

 

I want to test this functionaltiy in SAP HANA with two applications SAP Lumira and Tableau .So i need to create workload classes and workload mapping for these two application.But i dont know how to do this .I have these documentation for my reference .

 

Create a Workload Class

Creates a workload class called MRP with the following resource properties (you can set all resource properties or only a subset):

● statement_priority = execution priority for a statement.

● statement_memory _limit = max #of memory allocated per statement

● statement_thread_limit = max #of parallel threads to execute a statement

 

Creates a workload mapping based on client context information (‘ClientInfo object’ sent by the SAP HANA application):

● Client = client number (usually applied by SAP ABAP applications, like SAP Business Suite / BW)

● Application Name = name of the application

● Application User Name = name of the application user (usually the user logged into the application)

● User Name = name of the database user (the SAP HANA user, where the application is connected with)

 

http://help.sap.com/hana/SAP_HANA_Administration_Guide_en.pdf

http://help.sap.com/hana/SAP_HANA_Developer_Guide_for_SAP_HANA_Studio_en.pdf

 

but we need to Set SessionSpecific Client Information . Based on this information the client is classified and mapped to a workload class

 

Anybody has experience in it.??

Go from Multi tennant to single

$
0
0

Hi all,

 

There are plenty of procedures for converting HANA from a single database to multi-tenant but not the other way around.

 

What would be the procedure for going from multi-tenant back to single system?

 

Can you restore the backup of a tenant database into a single system?

 

Regards,

Sander

Using external variables in HANA Analytical views via MDX/HDODBC

$
0
0

We are trying to pass "VAR_DATA_SERIES_ID" from Excel, Access or SQLServer in following query:
SELECT "DATA_SERIES_ID",

"PRODUCT_GROUP",
"DATE",

min("MIN_VALUE") AS "MIN_VALUE"
FROM
"_SYS_BIC"."SANDBOX/AN_TMP_PRAMOD_SEGMENT"
('PLACEHOLDER' = (
'$$VAR_DATA_SERIES_ID$$', 'S10_ALL'))
WHERE
("DATA_SERIES_ID" IN ('S10_ALL'))
GROUP BY "DATA_SERIES_ID",
"PRODUCT_GROUP"
,"DATE"
=> Is this possible?
I am following the same logic that I would in SQLServer proc. For Example:
<......Declarations ..>
....
..
WHERE DATA_SERIES_ID = @SEGMENT  ---(SEGMENT is the variable passed from excel cell 'Sheet1'!A3 or Column value in Access or SQL server.
<..................>

 


Is it possible that I say =:X and receive X from external source?

 

Any help will greatly be appreciated.
Thanks
Pramod

Getting alerts in solution manager "Pool/PersistenceManager/PersistentSpace(0)/DefaultLPA/Page : size in GB: 95"

$
0
0

Hi,

 

We are getting some alerts in the solution manager technical monitoring regarding our HANA database. The alert message is "hananode<nn>Pool/PersistenceManager/PersistentSpace(0)/DefaultLPA/Page : size in GB: 95"

Can somebody tell me what this alert message indicates and how to rectify it?

 

Thanks,

Arindam

HCP SAP HANA Configuration for JDBC Templates using Spring

$
0
0

Hi Colleagues,

is there anybody who has already some experiences in using Java Spring framework and JDBC templates to run on HCP with HANA DB connection?

Thank you for any feedback

Issue with Scheduling SAP HANA Database Backups in Linux

$
0
0

Dear Experts,


 

We want to schedule database backups of SAP HANA Database including

bakup of the database configuration files using the Linux cron daemon or

other scheduling tools. We have followed steps mentioned in SAP Note :

1651055.

 

But After following all the steps we are getting error :

 

Invalid Username or Password SQLSTATE : 28000(As per attached

screenshot).

 

We are able to schedule the backup script successfully in other systems

but we are getting error in one system.


Kindly help us to resolve this issue.

 

With Regards,

Tejas Dave


_SYS_BIC: SAP DBTech JDBC: [258]: insufficient privilege: Not authorized

$
0
0

Hi,

 

We run BW on HANA and i want to create a HANA model using BW tables.

I have tried to create a Calc. view and Analytical view using a DSO Table. I can validate and activate the model without a problem but i cannon see the Data preview. The following error is occured :

error.png

_SYS_REPO has all the privileges to access my Schema.

 

With the statement : SELECT * from "_SYS_BIC"."ehg-test/EHG_DSO_CALC" i don't have sufficient privileges.

 

When i create a Calc. view with a script i can see the Data:

  select  rt_asort, count(distinct rt_locatio)as filial
  from "SAPBW3"."/BIC/AAAAD_CLT00"
  group by  rt_asort
  ;

 

Has anyboby faced something like that? which privileges are required for this operation?

 

Thanks in advance,

Vjola Dule


How long does a HANA instance startup take?

$
0
0

In a previous thread Lars Breddemann wrote:

 

Data stored in row-store tables will be loaded into the main memory immediately on instance startup.

Data stored in column-store tables will be loaded upon first access, except when it has been specified that the table should also be loaded during startup.

 

 

Even if the persistent storage is located on SSDs, doesn't that take a really long time to start a large HANA database?

Is there already some rule of thumb about how long it takes in real life to start a large HANA database?

Or can you simply say that HANA doesn't impose a bottleneck (or other significant delays) but startup primarily depends on reading the data from persistent storage and thats it.

 

In my imagination, many HANA customers would want to load almost eveything from column storage during instance startup. So imagine a 1 TB HANA database reading 1 TB from SSDs and also creating indexes for column storage during instance startup. What is the order of magnitude for instance startup: Seconds, minutes or hours?

 

Regards,

 

Mark

Rollback transaction table showing large number of records

$
0
0

Hi,

 

Currently I ran into the issue where indexserver was not starting. After coming across the following thread:

http://scn.sap.com/message/16382753#16382753

 

I increased the stack size in global.ini and then could start the indexserver but the content of tableRollback Transaction Table (RTT) is showing count 131135.

select count(*) from sys.m_dev_rollback_transaction_table;

How do I make the count 0 in this table? Just waiting without doing any operations does not help.


I tried posting this on other group but no response.

 

Thanks,

Nikhil

SAP HANA backup error 110026 using Netbackup

$
0
0

Hi all,

Would anyone know what causes the below error.

 

My backup script executes this backup command..

hdbsql -I 00 -n r3hana-s04 -u SYSTEM -p xxxxxxxx 'backup data using backint('''COMPLETE_DATA_BACKUP_20150922_08_57_27''')'

 

This is the error I receive...

447:backup could not be completed [110026] The state 'ManagerCommandRunning' of the BackupManager does not allow the requested operation

SQLSTATE: HY000 + RETURN_STATUS=191 + exit 191 SQLSTATE:HY000

 

I thought it might mean another process is running but I cannot find anything and have tried restarting HANA but still get the same error.

 

Thanks for any insights,

Craig

Decrease HANA memory on the fly

$
0
0

We are able to increase the memory allocated to the index server on the fly with the following command (alter system alter configuration ('indexserver.ini','DATABASE') set ('memorymanager','allocationlimit') = '300000') with reconfigure  , just wanted to check if it was also possible to decrease memory allocation on the fly .

 

 

Also can 'with reconfigure' be used with global_allocation_limit

 

ALTER SYSTEM ALTER CONFIGURATION ('global.ini', 'HOST', 'hanahost') SET ('memorymanager', 'global_allocation_limit') = '980000'

 

Thank you

Jonu Joy

Facing issue while trying to connect to HANA Database

$
0
0

Hello guys ,

 

I was performing a enhancement pack upgrade using SUM tool on HANA DB ,where I got error in the phase

MAIN_SHDCRE/SUBMOD_SHDDBCLONE/DBCLONE!

The system stopped  responding ,It was not allowing to login through GUI ,so I stopped the System and when try to start it again it is not starting .

The database connection is failing 

 

When I did a r3trans it gave the following output

2EETW169 no connect possible: "DBMS = HDB                              ---  SERVER = '' PORT = ''"

 

This is the log of the Retrans file

 

Try to connect via secure store (DEFAULT) on connection 0 ...            244  0.198376

4 ETW000  [dbhdbsql.cpp,00000]  *** ERROR => Connect to database failed, rc=1, rcSQL=591              594399  0.792775

4 ETW000  [     dev trc,00000]  SQLCODE    : 591                                                         145  0.792920

4 ETW000  [     dev trc,00000]  SQLERRTEXT : internal error:                                              50  0.792970

 

Kindly help in identifying why I am not able to connect to the database

 

In the dev_w* file I got the following error there

ERROR => ThInit: db_connect (step TH_INIT, thRc ERROR-DB-CONNECT_ERROR, action STOP_WP, level 1) [thxxhead.c   2158]

 

Kindly let me know if anyone has faced such issue .

Any help is appreciable.

 

Thanks and regards

Sandip Jain

Which ports are needed for SAP HANA Studio HANA DB communication?

$
0
0

I want to connect SAP HANA Studio to a HANA instance. The HANA instance number is 40.

The SAP note 1592925 states that the ports 5$$13/5$$14 and 3$$15 should be open to allow communication between the HANA Studio and the HANA database. I even see the instance in the HANA Studio, but I cannot administrate it and the HANA studio gives this general "I don't want you to know what the error actually is" message:

 

!ENTRY com.sap.ndb.studio.navigator 4 1 2012-01-16 14:01:40.627
!MESSAGE [HDB hostname 40 (SYSTEM)] Error on refreshing system
!SUBENTRY 1 com.sap.ndb.studio.navigator 4 0 2012-01-16 14:01:40.627
!MESSAGE SAPControl request failed
!STACK 0
com.sap.ndb.studio.sapcontrol.SAPControlException: SAPControl request failed     at com.sap.ndb.studio.sapcontrol.operations.SAPControlOperation.execute(SAPControlOperation.java:118)     at com.sap.ndb.studio.sapcontrol.SAPControl.getInstanceProperties(SAPControl.java:439)     at com.sap.ndb.studio.sapcontrol.SAPControl.collectProperties(SAPControl.java:466)     at com.sap.ndb.studio.sapcontrol.SAPControl.open(SAPControl.java:297)     at com.sap.ndb.studio.sapcontrol.SAPControlManager.getSAPControl(SAPControlManager.java:108)     at com.sap.ndb.studio.sapcontrol.SAPControlManager.getSAPControl(SAPControlManager.java:81)     at com.sap.ndb.studio.sapcontrol.SAPControlManager.needCredentials(SAPControlManager.java:57)     at com.sap.ndb.studio.navigator.operations.SAPSystemObjectUpdate.executeTrySAPControl(SAPSystemObjectUpdate.java:102)     at com.sap.ndb.studio.navigator.operations.SAPSystemObjectUpdate.execute(SAPSystemObjectUpdate.java:63)     at com.sap.ndb.studio.navigator.operations.UpdateSAPSystemOperation.execute(UpdateSAPSystemOperation.java:75)     at com.sap.ndb.studio.datamodel.controler.DataModelOperation.execute(DataModelOperation.java:67)     at com.sap.ndb.studio.datamodel.controler.DataModelOperationQueue$DataModelOperationThread.run(DataModelOperationQueue.java:99)
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed     at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(Unknown Source)     at com.sap.ndb.studio.sapcontrol.operations.SAPControlOperation.execute(SAPControlOperation.java:94)     ... 11 more
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed     at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(Unknown Source)     ... 13 more
Caused by: java.net.ConnectException: Connection refused: connect     at java.net.PlainSocketImpl.socketConnect(Native Method)     at java.net.PlainSocketImpl.doConnect(Unknown Source)     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)     at java.net.PlainSocketImpl.connect(Unknown Source)     at java.net.SocksSocketImpl.connect(Unknown Source)     at java.net.Socket.connect(Unknown Source)     at java.net.Socket.connect(Unknown Source)     at sun.net.NetworkClient.doConnect(Unknown Source)     at sun.net.www.http.HttpClient.openServer(Unknown Source)     at sun.net.www.http.HttpClient.openServer(Unknown Source)     at sun.net.www.http.HttpClient.<init>(Unknown Source)     at sun.net.www.http.HttpClient.New(Unknown Source)     at sun.net.www.http.HttpClient.New(Unknown Source)     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)     at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)     at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)     ... 14 more

 

Do I need to open any other ports to make HANA Studio work with HANA DB?

 

Regards,

 

Mark

Grant Object Privileges (without ownership of schema) to users

$
0
0

Hi everyone, I need to grant object privileges to a user but I'm not the owner of the schema. I've tried doing it with the System user but I can't either. My long shot was using the Sys user (other than System) but it is deactivated and there is no way I'll be able to activate it with my user.

Is there any way I grant that privilege to a user? I can't ask the owner of the schema to do that because she resigned today... and I don't wanna change the pwd of her DB user.

I know that at some point I'll need to create a new DBAdmin user and create a backup of those schemas because when the SAP user of my colleague be deleted, it'll delete the Hana user and the DB user with all of the objects, roles and privileges created and granted with it.

I'm totally new at this... I have only a basic knowledge of SQL security. This is gonna be my responsibility and from now I want to get the things done in the right way, so any further help that you can give me will be well taken.


Thanks in advance.


How to shrink or reorganize the table in HANA.

$
0
0

Dear Experts,

After removing most of the records from the table, I need to release HWM.

What tools in HANA  can do it?

For example, in oracle I can use reorganization via brtools or use command "ALTER TABLE <table_name> SHRINK SPACE [COMPACT] [CASCADE];"

Thanks for your attention, I look forward to your comments.

 

 

Best Regards

Services History Tracking

$
0
0

Hi Experts,

 

I want to know how to enable and track the history of Memory and CPU usages of all services other than index server.

As per "HANA_LoadHistory_Services_Rev90+" file in SAP Note 1969700, only index server is considered for M_LOAD_HISTORY_SERVICE table.

Is there any other table or option by which we can get the information of all other services.

 

 

Best Regards,

Deepak Varandani

HANA Live Filter Question

$
0
0

Hey Guys,

 

I have a HANA Live question. I will give a simple scenario.

 

For example, there is a HANA Live calculation view that I want to use. Let's call this HANA Live Calc View CALC1.

 

CALC1 consumes another HANA Live view CALC2, and CAL2 consumes CALC3. So it's like CALC1 <-- CALC2 <-- CALC3.

 

Now, I am created a new calculation view called NewView, and I will consume CALC1. I put a filter for company code in my view NewView, let's say company code = 100. Let's say company code table is consumed in CALC3.

 

When I execute my view, will all the data come to my view and then the company code filter will be enforced

OR

When I execute my view, HANA is smart enough to enforce the company code filter in the node where the table is being consumed?

 

Thanks,

Mic

Date generation based on reoccurance parameters

$
0
0

Hi Community,

 

We have a use case where we want to create reoccurrence of events based on date parameters. The easiest way to think of this is scheduling a meeting in Outlook with a reoccurring pattern. We want to generate a list of dates based on parameters and my question is does such a procedure exist already or do we need to create it?

 

For example, say I want a list of dates for an event that occurs every Thursday for 15 weeks starting on date X. Again, very similar to the Outlook example but I want this list of dates returned to my application. I am familiar with the Generate Time Data procedure used for occasional generation of calendar data based on parameters stored in some NW tables. I'm looking for a similar procedure that we can call from an AMDP or another HANA procedure. Again, the Outlook reoccurrence model is very similar to what we want to do but what the list of days returned to another procedure.

 

Thanks in advance, George

In depth differences between different views

$
0
0

Hi Experts,

 

    Can anyone please explain me what is the exact difference between the 3 view(attribute ,analytic and calculation ) in SAP HANA. In few SCN links i saw the explanation as attribute view is just like master data in BW, analytic view is similar to cube and the calculation view is the area where we can combine all types of view and tables for a specific output.

But my doubt is the master data activity done in attribute view can be done in analytic view also and the join function in calculation view can be done in analytic view.

It will be a great help if explained with example ,the functions of different views which can be done only in a particular view.

Viewing all 5653 articles
Browse latest View live


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