首页> 外国专利> HIGH AVAILABILITY SOLUTION METHOD AND DEVICE FOR DATABASE

HIGH AVAILABILITY SOLUTION METHOD AND DEVICE FOR DATABASE

机译:数据库的高可用性解决方法和装置

摘要

The present invention relates to the field of computers. Provided in an embodiment of the present invention are a high availability solution method and device for a database, the method comprising: converting an LVS IP address to an IP address of a corresponding database after receiving the LVS IP address transmitted from a client such that a corresponding database driver can search a connection corresponding to the IP address according to the converted IP address of the corresponding database so as to reuse the connection, thus addressing the problem that when the LVS is used in conjunction with the corresponding database, a new connection needs to be established because the database driver cannot search the connection corresponding to the LVS IP address, further effectively reducing performance overhead generated when the client accesses the database, avoiding the problem that when a large number of concurrent requests exist for the corresponding database, service cannot be provided because all service connections are occupied.
机译:本发明涉及计算机领域。本发明实施例提供了一种数据库的高可用性解决方案方法和装置,该方法包括:在接收到客户端发送的LVS IP地址后,将LVS IP地址转换为对应数据库的IP地址。对应的数据库驱动程序可以根据转换后的对应数据库的IP地址来搜索与该IP地址对应的连接,以重新使用该连接,从而解决了当LVS与对应数据库结合使用时,需要重新建立连接的问题。由于数据库驱动程序无法搜索与LVS IP地址相对应的连接而得以建立,从而进一步有效地减少了客户端访问数据库时产生的性能开销,避免了当存在大量并发请求对应数据库时服务无法因为所有服务连接都已被占用而被提供。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号