John,
I wanted to test some stuff out, was checking whether its a good practise since by any chance if they transported over it would be a problem\ right.
John,
I wanted to test some stuff out, was checking whether its a good practise since by any chance if they transported over it would be a problem\ right.
Hi,
you should use a sum function in expression. For examle: SUM(6.286*AF_ENGINE_SPEED*AF_WHEEL_BVSPD)
Good luck!
--
WBR, Sergey
Dear Vasanth,
Many many thanks to you.
Please share your mail ID.
Thanks
Amit
Hi there,
instead of
call "_SYS_BIC"."POS/TEST_SP_I" (10, "_SYS_BIC"."POS/TEST_SP_I/tabletype/tt_table");
do this:
call "_SYS_BIC"."POS/TEST_SP_I" (10, ? );
The SQL console will find out that there is a parameter variable going to be filled here and display the returned table once the procedure finished.
Cheers, Lars
And what about this is unclear?
The report states "the size check is already in progress".
The status also indicates that the processes are working on it.
So in fact, yes, you are able to run the report.
Why don't you just check if those work processes are still active?
Hi g gopal,
I took a look on your posts and it they are very short with poor information for a answer.
Please do the homework and search before post a thread and when do it give more background information.
Regards, Fernando Da Rós
Hi,
don't know whether this problem is still existing. We experienced error 3584 as well and found out that the statistic server did not have enough memory. We increased the parameter allocationlimit in statisticserver.ini from 5% to 20% and this helped
Dear Lars,
can u give us an example of scripted calc views to accomplish that? can scripted calc views accept alias or table field as an input parameter? how to do that?
Thanks
Hi,
Actually "ZTESWT_SUMEET" is a schema and TEST1 is a table name.
BR
Sumeet
Just like Mohan Kumar above
my st.setString does not work at the moment
my code
var output = {};
output.data = [];
var conn = $.db.getConnection();
conn.prepareStatement("SET SCHEMA \"SYSTEM\"").execute();
var st = "INSERT INTO \"PEOPLE\" values(?,?,?,?,?,?,?,?)";
st.setString(1,idResult);
st.setString(2,NAME);
st.setString(3,ADDRESS);
st.setString(4,FRIENDSLEVEL);
st.setString(5,VALUE);
st.setString(6,COLABORATE);
st.setString(7,DATE);
st.setString(8,CONTACT_TYPE);
st.execute();
Error Msg
Found the following errors:
===========================
TypeError: st.setString is not a function (line 74 position 0 in /TFOLDER/insert.xsjs)
That's because st is just a sting with the SQL statement in it. You need to use setString on a prepared statement object. This is an Update example but basically the same as insert for the general demonstration purpose.
query = "UPDATE \"sap.hana.democontent.epmNext.data::EPM.Purchase.Header\" set LIFECYCLESTATUS = 'X' where PURCHASEORDERID = ?"; | ||
pstmt = conn.prepareStatement(query); | ||
pstmt.setString(1, purchaseOrderID); | ||
var iRows = pstmt.executeUpdate(); | ||
pstmt.close(); | ||
conn.commit(); |
OK, Thanks Thomas, I just checked it out again and it works just as expected
Hi Dzianis,
Understood your strategy and agre with what you are doing.
1)
You can try the old move to SQL from SP7 with below hint. BTW: This is not the current SP8 behavior and probably will be disabled soon:
select * from _sys_bic."pack/view"
(placeholder."$$CE_INTERNAL_RELATIONAL_OPTIMIZATION$$" => '1')
1 is the instruction to convert to SQL (it can be a big big monster) like it was default on SP7 when flagged enforceSQL=true.
As this is just for internal "move to SQL engine" you will not see the SQL unless you provoke a runtime error and borrow the SQL from indextrace.
This case of one "source" serving these projections can provoke:
- loss of filter push downs
- materialization of MainView (if choose CE)
- high CPU (if choose SQL)
2)
The great news is that HANA DEV continue to improve performance on each version. I've notice another gain on rev82 and there are rumors that things will be even better on SP9 (time for enhancements).
What I particular like to do is investigate, isolate the undesired behavior and reproduce it in a simplified way and create a ticket to SAP so they have a chance to analyze and improve performance.
You can't count with such enhancements for your current project, but they will be analyzed and improved in some time. Just a sample some tickets I created around rev73 will be realeased for SP9.
3)
Try this out on most recent version you can. Maybe what you have as problem was already solved.
There are some things like that that is not a problem anymore (double checked on planViz)
Best regards, Fernando Da Rós
Hi Fernardo,
we tried on 83 and got 10-50% improvement without changing the code
Hi , I'm researching about performance of system replication.
I can't understand about log ship timing from some of docs.
About sync replication mode , It works like following ?
So it means "Sync mode need x2 transaction time + network delay" .... I doubt this .
Another idea , It works like following ?
Which is close current HANA work ? Just I want to know Sync mode need x2 transaction time (from single node) or not .
Regards,
JT
And How about ASYNC ? Does anyone measure one transaction performance on single environment and replication environment?
Hi All,
We are in the process of archiving table data and would like to know how much disk space each table consumed. With M_CS_TABLES I can get how much main memory each table is consuming but not the disk space.
Is there any table/way to get the disk space consumed by all tables?
I appreciate your help.
Thanks,
Bharath
You could use something like this:
SELECT DISK_SIZE from
M_TABLE_PERSISTENCE_STATISTICS
WHERE schema_name = ? and table_name = ?
- Lars
Hi Lars,
Thanks for the quick response. It helped.
SELECT A.SCHEMA_NAME,
A.TABLE_NAME,DISK_SIZE/1000000000 AS DISK_SIZE_GB ,
MEMORY_SIZE_IN_TOTAL/1000000000 AS MEMORY_SIZE_IN_TOTAL_IN_GB,
MEMORY_SIZE_IN_MAIN/1000000000 AS MEMORY_SIZE_IN_MAIN_IN_GB,
RECORD_COUNT
from
M_TABLE_PERSISTENCE_STATISTICS A
INNER JOIN m_cs_tables B
ON A.SCHEMA_NAME =B.SCHEMA_NAME AND A.TABLE_NAME =B.TABLE_NAME
ORDER BY 3 DESC;
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.
Hi Lars,
One more question, Why SELECT SUM(MEMORY_SIZE_IN_TOTAL) FROM M_CS_TABLES is not matching with Used memory in the System Monitor?
SELECT SUM(MEMORY_SIZE_IN_TOTAL) FROM M_CS_TABLES showing 141 GB where as Used memory in the System Monitor showing 519 GB.
Am I comparing 2 different values?
Thanks,
Bharath