我可以长时间打开数据库隧道吗?

时间:2022-06-11 16:54:22

Is it possible to keep a database tunnel active for more than 1 hour when opening it in a background process?

在后台进程中打开数据库隧道时,是否可以将数据库隧道保持活动状态超过1小时?

1 个解决方案

#1


The database tunnel that you create using HCP console app (neo open-db-tunnel) is meant for development and will timeout after some time. Even if run it foreground it will time out after some time. https://help.hana.ondemand.com/help/frameset.htm?9e3f90f2ead74229ac5c8848ed5bf292.html

您使用HCP控制台应用程序(neo open-db-tunnel)创建的数据库隧道用于开发,并将在一段时间后超时。即使运行它前景,它也会在一段时间后超时。 https://help.hana.ondemand.com/help/frameset.htm?9e3f90f2ead74229ac5c8848ed5bf292.html

For production applications use the SAP cloud connector that allows odbc and jdbc connections to HCP. https://help.hana.ondemand.com/help/frameset.htm?64d6a510e98941d28dbff2fc8179f175.html

对于生产应用程序,请使用允许与HCP建立odbc和jdbc连接的SAP云连接器。 https://help.hana.ondemand.com/help/frameset.htm?64d6a510e98941d28dbff2fc8179f175.html

What application are you connecting to HCP that you need to manually open a tunnel ?

您需要手动打开隧道连接到HCP的应用程序是什么?

Edit: Added more information as the commenter requested.

编辑:按照评论者的要求添加了更多信息。

#1


The database tunnel that you create using HCP console app (neo open-db-tunnel) is meant for development and will timeout after some time. Even if run it foreground it will time out after some time. https://help.hana.ondemand.com/help/frameset.htm?9e3f90f2ead74229ac5c8848ed5bf292.html

您使用HCP控制台应用程序(neo open-db-tunnel)创建的数据库隧道用于开发,并将在一段时间后超时。即使运行它前景,它也会在一段时间后超时。 https://help.hana.ondemand.com/help/frameset.htm?9e3f90f2ead74229ac5c8848ed5bf292.html

For production applications use the SAP cloud connector that allows odbc and jdbc connections to HCP. https://help.hana.ondemand.com/help/frameset.htm?64d6a510e98941d28dbff2fc8179f175.html

对于生产应用程序,请使用允许与HCP建立odbc和jdbc连接的SAP云连接器。 https://help.hana.ondemand.com/help/frameset.htm?64d6a510e98941d28dbff2fc8179f175.html

What application are you connecting to HCP that you need to manually open a tunnel ?

您需要手动打开隧道连接到HCP的应用程序是什么?

Edit: Added more information as the commenter requested.

编辑:按照评论者的要求添加了更多信息。