Good day everyone.
I'm trying to start learning about HANA, is there a way to get the package to install it on premise on my own lab server?
Thanks in advance.
Good day everyone.
I'm trying to start learning about HANA, is there a way to get the package to install it on premise on my own lab server?
Thanks in advance.
Hi All. We need to test some changes that we will be rolling out. The changes are for performance and the data that is output should not change. To verify this, the plan was to create a before snapshot table by selecting all records from the graphical view, roll out the changes, and then verify the records returned from the same graphical view didn't change. Note: The data in the base tables is static.
As a POC, I created a snapshot table using
CREATE TABLE schema.snapshottable AS (SELECT * FROM "PUBLIC"."GRAPHICAL_VW") WITH DATA;
and then compared it back to the graphical view using different techniques.
Using Minus/Except
select * from GRAPHICAL_VW
minus (tried except as well)
select * from schema.snapshottable
Expected no rows returned
Received numerous rows
Using Union
select count(*) from
(
select * from GRAPHICAL_VW --300k records
union
select * from schema.snapshottable --300k records
)
Expected Since the table was filled with all records from the view, I expected the union to distinct all records and return a count equal to the table row count (300k)
Received ~408k or so. I manually checked some of the duplicate rows and they looked to match exactly, as expected, so I don't understand why they didn't reduce down to one row.
Other Attempts without success
Created table A and table B one after another with the same create statement from the same view. Similar Results
Created row tables instead of column tables.
Question
Can anyone explain what I missing here?
Any suggestions on how to compare two data sets for equality, i.e. the before and after snapshot are identical? Is there a table checksum type feature?
Thanks in advance for the help.
All,
About two days ago, two of our HANA instances mysteriously started getting the following error when attempting to access the Catalog through HANA Studio:
SAP DBTech JDBC: [3584]: distributed SQL error: [2617] executor: plan operation execution failed with exception failed with an exception
I connected to the HANA box and checked the logs...but there's nothing to see there it seems. When I go into the system detail tabs like "landscape", "alerts" etc I get the following error:
- SAP DBTech JDBC: [3584]: distributed SQL error: [2617] executor: plan operation execution failed with an exception (com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [3584]: distributed SQL error: [2617] executor: plan operation execution failed with an exception)
I clicked on the performance tab and saw the following:
- SAP DBTech JDBC: [3587]: invalid protocol or indexserver (statisticsserver) shutdown during distributed query execution: [2613] executor: communication problem (com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [3587]: invalid protocol or indexserver (statisticsserver) shutdown during distributed query execution: [2613] executor: communication problem)
Any ideas? We were happily in-memory computing along and the next day we were hosed. I've created a new AWS HANA instance and connected from the same network/laptop/HANA Studio software and all is well...so it's not me
Help?!!? Please...
Thanks all...
Tim
Has anyone successfully implemented analytic privilege on a parent/child hierarchy?
I currently have an analytical view off of the GL Detail tables FAGLFLEXA, BSEG, and BKPF and have the profit center hierarchy being consumed through Analysis Office toolset.
Using Hana Studio how do I open a .sql file and have it connected to a specific databse/schema?
Normally I create a new SQL Console window and start running queries. When I'm done I save that script to a file. The next time I come into Hana Studio I want to be able to open that file and automatically (or manually) connect it to the same schema I was using before.
I can't run "set schema..." because the SQL Console window is not connected to a system. And the connection info at the top of the window (Connection Profile) doesn't list my Hana system, just other stuff like DB2, Postgres, etc.
There must be a way to "attach" the current SQL Console window to a system/database/schema.
Thanks,
Tim
Hi,
I'm new to HANA/XS. I'm trying to create a test Hana application. I have eclipse luna 4.4.1 installed. I have installed Hana plugin from https://tools.hana.ondemand.com/luna (screen shot below):
I have connected to a HANA system, created repository, packages etc. Basically all the necessary things to create a test HANA XS project.
But, when I create .xsapp and .xsaccess I get the following error whenever I try to activate those files:
Unsupported encoding Cp1252, only UTF-8 encoding is supported
Am I missing something? I tried finding similar error in the forum, but I was not successful. Kindly try to help me.
Thanks & Regards,
Lohit
Hi All,
Have you ever archived HANA data into other databases? such as Hadoop or Oracle 12c?
Could you share your experiene and the Pros and cons of archiving HANA data into other databases?
Thanks,
Bharath.
Message was edited by: Tom Flanagan
Dear Sir or Madame,
where can I download or get the HANA cloud connector for windows if I have no account for the SAP market place?
I was wondering if I can get somehow the HANA cloud connector for windows.
Best regards,
Dirk Lehmann
Hi,
We built calculation (main) view based on some custom calculation & HANA live. While executing the main view is taking 5 min to display 5000 record.
How to find out performance of this view ?
Which join is taking is long time ?
Please suggest.
Regards,
Kamruz
Note: All are calculation view only..Calculation done in Projection..
When I start a back up (whether file or backint) I am getting the following error in HANA Studio:
SAVE DATA finished with error: [447] backup could not be completed, [1000013] Inconsistent SSFS!
I also get a failure when attempting a backup from the portal.
There is apparently a discussion on this subject in " SAP Note 2097613" but I can not seem to access it with my scn credentials
Thank you
Bob
We are facing issues with the point-in-time recovery for SAP-HANA SPS08 REV82 systems.
We needed to know the below details for the point-in-time recovery.
Consider we have taken the full backup on SAP-HANA system at around 10:00 and backup is completed at 10:10 hrs, then do we need the log backups generated between 10:00 to 10:10 hrs for the point-in-time recovery
we are getting these error for the same
Backup /backup/log/<SID>/log_backup_3_0_4066106368_4066193856.1431338580258 does not exist
Backup /backup/log/<SID>/log_backup_4_0_7961187072_7961521024.1431377581666 does not exist
Hello, I'm preparing a migration from MSSQL to Hana DB with the DMO procedure. During this process can I install the application server into Hana Appliance (Hana&Abap on one server). ? Regards
Hi All,
Our applications runs on dynamic query ( selected columns , and inner join table will be varying depending upon the user selection).
I am creating HANA store procedure to get the previous, previous ..previous change columns ( history - based on the columns) of the row for the columns specified by the user ( no. of columns will be again depend on the user selection and comparison type could be 'AND' , 'OR' or both AND & OR).
To achieve this functionality I am creating a stored procedure in HANA and I am very new to HANA DB.
Can some one tell me how can I achieve the below functionality in HANA Stored Procedure.
1. NVARCHAR(MAX) in HANA , because my dynamic sql script is really very big and I cannot use the BLOB data type since I need to dynamically add some columns into query to achieve my functionality.
2. How to get the result from the Stored procedure within the store procedure ( I cannot create a temporary table in this case , because my select columns will vary ) , so that I can start processing my result set to achieve the desired output
SAMPLE SCRIPT
CREATE PROCEDURE ChangeResultSql(IN QUERY NVARCHAR(50000),IN ChangeRequestPaarameter NVARCHAR(5000),IN ChangeRequestOperator VARCHAR(100)) LANGUAGE SQLSCRIPT AS
BEGIN
DECLARE sqlquery VARCHAR(50000);
DECLARE userId VARCHAR(100);
sqlquery := 'WITH Sample AS (' || QUERY || '),Sample1 As (SELECT *, CostCenterLabel || '','' || EvenReasonIcode AS COMPARISON_COLUMN , ROW_NUMBER() OVER (PARTITION BY UserSysID ORDER BY EffectiveStartDate DESC ) AS RowNUM from Sample ORDER BY UserSysID
,EffectiveStartDate DESC) Select * from Sample1 ';
--Select * from :sqlquery;
output_table = CALL "AMWAY_TRAD_2_1505_ROTS_04052015"."CHANGERESULT"(:sqlquery);
BEGIN
DECLARE CURSOR user_cursor FOR SELECT UserSysID From output_table group by UserSysID ORDER BY UserSysID;
OPEN user_cursor;
FETCH user_cursor into userId;
CLOSE user_cursor;
END;
END
Thanks,
Hemapriya
Hi all,
I am getting "no data found exception: no data found: [1299] " in SAP HANA procedure, even if data for the corresponding plant and material is present in the respective tables.
Can any-one suggest why I am getting this and what would be the resolution of the same.
Regards
dhinesh.
Hi,
I saw "SAP HANA Platf. Edit. 1.0 SPS09 Rev. 94" was released yesterday on SMP and the Revision 93 has been taken down.
Is this meant the revision 93 should no longer be used anymore ?
We are in the midst of implmentation project based on Revision 93 ... Shall I proceed with revision 93
Thanks..
Best Regards,
Ken
Hi,
My previous plan was to build all necessary attribute views first then graphic calculation views,
however I realized that it is quicker to build only one script based calculation view and do a big select within it.
So the sql script in my script based calview would be like the following
var_out = select a.xx,
a.xx,
b.xx,
b.xx,
c.xx,
..
from a join b join c...
where xxx
group by xxxx
And all attributes would be directly be posted the output even there is no attribute views involved.
And the input parameter can directly reference to db table.
So my question is : is it necessary to build attribute views for script based calculation views? If so, any benefits?
Hi Experts,
i study the new technology of SAP HANA and i am a little bit confused. I hope you can help me, following problem:
In my old SAP BW on Oracle i have transformations like:
Table 1 | Table 2 |
---|---|
01 | Germany |
02 | England |
So in table one you see the city is a number and in table two the city is a string. In SAP BW on Oracle i wrote an ABAP Routine to harmonize the data.
How to do that in SAP BW on HANA?
I hope you can give me an idea for this example.
Thanks so much!
Kind regard,
Steffi
Hi,
I've this discussion concerning DB hints and the effect after a HANA migration.
It's obvious that DB hints (in casu Oracle hits) with ABAP are ignored when the database is migrated to HANA.
The point of discussion is what happens with the sorting order of the result set when the DB hints are omitted. My feeling is that sort order can only be determined by the order by and not by the DB hints. Thus when an order by is absent, the sort order is the one of the DB and not the index pointed to in the BD hints. Is my feeling correct about this?
The result is of course that after migrating to HANA, the sort order of the result set in unreliable, unless one specifies an order by or sort it afterwards.
The whole point of discussion is whether or not the sort order of the result is influenced by the fact that the DB hint is ignored or the lack of having an order by. I wonder why DB hints are only considered as a priority 2 problem within the ATC.
Cheers
Eddy
Dear All,
Are there any commands or way to recover the deleted temporary table in hana apart from backup.We are planning to build a script which would delete the created objects in the prodcuction read only user.But if someone has created some important table for some purpose.Can we recover it.Looking forward for replies.
Hi All,
With SP9 we have the EIM bringing in SDI and SDQ with many BODS like features for ETL.
Can someone please shed some light on whether these are capable of replacing the logic we apply in our regular views (Attr, Analytical, and calc)?
Are these flowgraphs the next best practice for data modeling in HANA?
If not yet, what are there limitations in terms of development and transport,
Please let me know.
Thanks,
Shyam