Hi there,
I am searching for experts, because I can't find anything about my problem in the internet.
I have a sequence of UPDATE commands which I send to the HANA database via linux_ODBC.
In most cases (not always) I get the following error after the second UPDATE command:
DBD::ODBC::st execute failed: [SAP AG][LIBODBCHDB SO][HDBODBC] Connection not open;-10807 System call 'recv' failed, rc=104:Connection reset by peer (SQL-08003)
If I execute the UPDATE in HANA Studio there is no problem.. but it lasts more than 5 minutes which is ok for me but maybe not for the ODBC driver?
Is it possible that there is a time out problem with linux_odbc?
If yes, do you know, where I can change the time out parameter?
If it's not a time out problem, what else could be the reason, that the connection gets a reset..
Following one of the problematic commands:
UPDATE table1 SET tparam=substr_regexpr('.*?s(.+)\s' IN entry_id GROUP 1)
WHERE entry_id NOT LIKE_REGEXPR '^<.+>'
I know the regexp will slow it down, but faster string functions are not an alternative because the table is still growing fast and I will be faced the timeout again in some time. And besides that those Update Commands can be executed in the night and run much longer than 5 min
Thank you and best regards,
Tobias