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

After upgrade to Revision 55 some of query getting out of memory issues

$
0
0

Hi All,

 

Hi,

 

We are getting error at the time of execution bellow  Select  Query 

But it’s not creating an error log

 

Query :

select............................................................

....................................

From PV_BOOKINGS_MEASURE_TS1

PV_BOOKINGS_CHANNEL_MEASURE_TS1

PV_PARTNER_HIERARCHY

 

query dont have unions, and 2 or 3 joins only

 

i am getting this Error message :

 

 

Could not execute 'select BV_FISCAL_DAY_TO_YEAR.DV_FISCAL_QUARTER_ID, BV_FISCAL_DAY_TO_YEAR.FISCAL_YEAR_MONTH_INT, ...' in 8:49.211 minutes .

SAP DBTech JDBC: [2048]: column store error: search table error:  [9] Memory allocation faile

 

 

But when I check  using this query

 

SELECT * FROM M_EXPENSIVE_STATEMENTS WHERE START_TIME > add_days (now(),-1) AND ERROR_CODE <> '0'ORDERBY ERROR_TEXT

0 rows

 

It doesn't show any result(non of the query get fail) 

 

And more over till yesterday(before upgrade to rev55) this was working really fine

And it’s not even giving a count on this query

 

can any one help me to find out what is wrong

 

Thanks

 

Regards

Ravindar


HANA: export table as csv file

$
0
0

Hello experts:

 

I am trying to export table data as .csv file from HANA Studio. I have 'Export as CSV', include dependencies and 'Export to local folder' selected.. The export succeeds, however, the 'exported' directory does not contain a data.csv file. There is a 'data' file, but it's not in csv format.

This previously used to work and the data.csv file used to be created in the local export directory under an 'index' folder. Now the 'index' folder is missing.

Wonder if there's some setting change on HANA Studio that's resulting in this change?

 

Thanks in advance for your help!

Calling procedure with input parameters in sap hana

$
0
0

Hi All,

 

I have written below procedure in HANA and trying to call.

 

CREATE PROCEDURE "PRICING"."TXN_03_STATS" LANGUAGE SQLSCRIPT AS

vDate_Beg date := '';

VDate_end date := '';

 

BEGIN

INSERT INTO SEGMENT_STATS ( SEGMENT_ID ,

     REVENUE ,

     PRICE_MEAN ,

     PRICE_STDDEV ,

     TRANSACTION_COUNT,

     CUSTOMER_COUNT ,

     PRODUCT_COUNT )

 

SELECT

 

     SEGMENT_NUM ,

     SUM( VLISTPRICE * (1 - DISCOUNT_PCT) * VQUANTITY),

     AVG( VLISTPRICE * (1 - DISCOUNT_PCT) ),

     STDDEV(VLISTPRICE * (1 - DISCOUNT_PCT) ),

     COUNT( 1 ) ,

     COUNT( DISTINCT SOLDTO ) ,

     COUNT( DISTINCT MATERIALSKU)

 

FROM TXN

 

WHERE VDATE >= :vDate_Beg

AND VDATE <= :vDate_End

AND IS_LIST_PRICE = 'Y'

GROUP BY SEGMENT_NUM;

 

END;

 

I tried to execute below statements without luck.

 

call "PRICING"."TXN_03_STATS" ('2010-01-01','2013-03-31');

 

call "PRICING"."TXN_03_STATS" (?,?);

 

can anyone help me.

 

Regards,

Venkat

Upgrade to 53, 54 or 55

$
0
0

Hi folks,

 

In order to fix a couple of issues we are having we have been told we need to upgrade from 48 to version 53.  But we can see that 54 and 55 is now available.  My question is if any of you other folks are on any of these newer releases and if you've had any problems?  I'm trying to read everything I can and discuss before making a decision on which version to upgrade to.

 

Thanks,

-Patrick

XSODataservice - Data not reflecting on html

$
0
0

Hi,

 

I created a xsodataservice for a HANA table. I can see the data if access the .xsodata service directly. But when i am calling this service from html page,

its showing blank page. In Chrome, i see two times its calling messagebundle_en.properties. Once time its successfully, other time it see it as 404 not found error. But i can see this file in navigator.

 

Capture.JPG

 

 

And below is the html code i am using...

Capture1.JPG

 

Please let me know what i am missing.

 

Thanks,

Naresh

Catching DB exceptions in XSJS

$
0
0

Hi, How can i catch DB exceptions like Unique Constraint errors in XSJS and put it in response object? Thanks, Naresh

Error in Data Preview For Analytical View in Studio

$
0
0

Hi,

 

while trying to preview data using the 'Data Preview' option in HANA Studio, I get the following error messages -

 

Cannot iterate over result set rows: SAP DBTech JDBC: [2048]: column store error: search table error:  [1000002] Error executing physical plan: exception 1000002:

ltt/impl/memory.cpp:67

Out of memory ; $size$=262144; $name$=itab; $type$=pool; $inuse_count$=191267; $allocated_size$=50636728986

,in executor::Executor in cube: _SYS_BIC:sap.bw/Package_Name/olap

 

 

Am able to view the data by writing an SQL script on the view.

 

What could be the reason. Pl assist. Thanks.

Need help with creating a new user/analytic privilege

$
0
0

Hi,

I was trying to create an analytic privilege for a new user I created on the 'hanacloud' '00' system. The analytic privilege is over a calculation view restricting certain shop IDs.

I followed Anooj's recomendation in this thread http://scn.sap.com/thread/3212315 to set the authorizations.

 

But the problem is, if I add the _SYS_BI_CP_ALL along with the privilege that I created then all values in the calculation view are displayed. If I remove it and leave only the AP that I created then I am getting the following error during data preview.

 

"ERROR EXEXUTING THE QUERY

Cannot iterate over result set rows: SAP DBTech JDBC: [2048]: column store error: search table error:  [2950] user is not authorized"

 

 

Thanks,

Benedict


Error While opening an Analytic View (Imported View)

$
0
0

Dear Colleagues,

 

Procedure Followed as:

 

I exported (through Developer mode) an analytic view named with "abc" from a system called "123"  to my local system. From my local machine I   imported the view into another system called "456", these two processes are successful.

 

Issue:

When we are trying to open the imported model ("abc") from "456" system it is through following error.

 

5-2-2013 12-08-21 PM.png

 

Regards,

Sharath 

HANA views support in BODS

$
0
0

Hi - Does BODS supports SAP HANA views as a data source in the latest releases? I'm trying to use SAP HANA views as part of BODS data models. Any ideas will be help.

 

Thanks,

Suresh

HANA db case sensitivity with SQL text searches

$
0
0

Hi folks,

 

We have a HANA view that users are consuming via Microstrategy.  All fields such as PLANT (WERKS) are case sensitive.  For example if the plant is named 'XYZ1' then the following SQL is NOT returning any results;

 

select * from TABLENAME where WERKS = 'xyz1'

 

Now my microstrategy developer is saying that other databases he consumes are not case sensitive and this setting is configured typically at the database level.  So my question is twofold;

 

1) Is there a database level setting in HANA for case sensitivity?

2) If this option is available does it really make sense to turn this sensitivity off?

 

Thanks,

-Patrick

Unable to connect PHP to HANA DB on Windows 64 bit-machine

$
0
0

Hi All,

 

Anybody knows that how to make a db connection to HANA DB using python on windows 64 bit- machine, with DSN or without DSN ?

 

I scanned the discussion n blogs, but still not able to make connection.

 

Please help me out.

FileLoader - unable to see uploaded file

$
0
0


Hi, I've created an XS project to use the sap.ui.commons.FileLoader API to upload a file to the XS server. I've included the sap.ui.demokit.FileUploadIntrospector so that I can check if the file has uploaded successfully. Everything looks good but when I test I'm unable to see the file in the Introspector window after I do the upload. The uploadComplete event fires successfully. I verified this by adding in an alert.

 

FileLoader

 

  createContent : function(oController)

      {

            jQuery.sap.require("jquery.sap.resources");

        

              var oPanel = new sap.ui.commons.Panel().setText("File Uploader Test 4");

        

              var oFileUploader = new sap.ui.commons.FileUploader("MyFileLoader");             

              oFileUploader.setUploadUrl("../upload_dir");         

              oFileUploader.setUploadOnChange(true); 

              oFileUploader.attachUploadComplete(oController.doFileLoadComplete);       

              oPanel.addContent(oFileUploader);

  

              var oButton = new sap.ui.commons.Button({

                    id : this.createId("MyButton"), 

                    text : "Upload"

            });

        

              oButton.attachPress(function(){oFileUploader.upload();});         

              oPanel.addContent(oButton);

 

            return oPanel;

 

      }

      

 

FileUploadIntrospector

 

 

<script>

                    var oFileList = new sap.ui.demokit.FileUploadIntrospector({

                          uploadUrl : "../upload_dir-check",

                          autoRefreshInterval : 2000, /* ms */

                          height: '12em',

                          width: '95%'

                    });

                    oFileList.placeAt("upload-check");

              </script>

                  

                                              

 

      </head>

      <bodyclass="sapUiBody"role="application">

              <divid="content"></div>

          

              <h3>Upload Check</h3>

 

                          <p>To verify the results of the upload, check the following file list. It displays all

                          files in the upload area (server side) of this application and is updated automatically.</p>

                          <br><br>

                          <divid="upload-check"></div>

          

                  

          

      </body>

 

 

 

 

After upload I should see the file appear in the introspector window below

 

fileloadertest.JPG

 

 

Any ideas why the file does not show up? Is there any other way to check if the upload worked?

 

To note: I created the folder "upload_dir" in my project as the destination folder for the upload. Is there anything special that I need to set up for this?

 

project.JPG

 

Any advice would be appreciated.

Thanks

Peter

SAP HANA - How system understands the columnar data relation?

$
0
0

Hi All,

 

SAP HANA database stores the data in columnar format. So from row based table perspective, each column will be treated as an individual table with distinct values.

   

How HANA database maintains the relationship of each row so the user gets correct data? In other words, how HANA database internally process the column based records?

 

Regards,

Mandar

GRC Training and Certification.

$
0
0

Hello all,

 

I would like to know if there is anyone who is working in SAP GRC/Learning SAP GRC and preparing for the certification. I would like to know about your preparation and would like to interact more on SAP GRC.

 

Nagarajan Viswanathan


sap hana user management

$
0
0

Dear mentors when i created a user in sap hana database ( lets say TESTSAPHANA as we known the default schema will be created ) instead of that all the schema will be added to the newly created user I’d like to here 4m our mentors

thanks in Advance

keerthi

Ha100 Coll 97 sps4 vs sps5

$
0
0

Hi All,

 

I've course material for SAP HANA certification HA100 sps4 coll 97 and HA300 sps4 coll97 and currently preparing for certification.

 

I heard latest is SPS5, could you pls advise whats  new in sps5 vs sps4.

 

Because I'm planning to use sps4 as a course material and wanted to learn new content on my own.But I don't know what has been added.

 

Pls help.

 

Thanks

Rubane

Is SAP HANA a Hybrid Database?

$
0
0

Hi all,

I'm currently trying to find a thesis question about SAP HANA!
From my understanding SAP HANA is a Hybrid database, having a Column-based store and a Row-based store.

Therefore, I thought we have a duplication of data in 2 (or more) different databases one being Column-based (Or mix) and a Row-based (Or different mix).

Then I found out about HYRISE (Rodent-store: http://ares.epic.hpi.uni-potsdam.de/apps/static/papers/hyrise_hybrid_engine.pdf),

how does HYRISE fit in SAP HANA?

Does SAP HANA follows some HYRISE principals?

 

Thank you guys in advance for the help!

 

Marouan

How to find out which users are logged on to sap hana last week

$
0
0

Dear Friends,

 

This is one of the certification question in SAP HANA. Could anyone please help if you know the answer?

 

You need to find out which users are logged on to sap hana last week (1 right answer)

               a.       Audit log

               b.      The name server_history.trc file

               c.       The index server_alert.trc file

               d.      Entries in M_connection

 

Thanks in advance,

 

Best Regards,

 

KV

Index on a column store table

$
0
0

In a case where performance of particular selects on a specif table is not as good as we may expect, we understand that it could be possible that the creation of an index on a single column of that table, may bring about improved performance.

Before we do this, it would be extremely helpful to know whether it is possible to determine whether that index has been used during query execution. Is this information recorded in the trace files and if so, in which ones?

If not, how should one go about determining whether the addition of the index was successful...other than simply measuring the time taken and making an assumption?

I've searched through copious documentation, blogs, etc, etc but so far I've been unsuccessful in discovering an answer.

Kind regards,

Keith

Viewing all 5653 articles
Browse latest View live


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