postgresql jdbc driver驱动连接属性列表 原创 2022-05-26 11:32:12.0 阅读(2359)次 想清楚postgresql jdbc driver中的连接属性含义,找了半天找不到类似的解释说明,只好上官网查了下,官网上已经都列出来了,这里分享一下地址: [https://jdbc.postgresql.org/documentation/head/connect.html](https://jdbc.postgresql.org/documentation/head/connect.html "https://jdbc.postgresql.org/documentation/head/connect.html") 这里列举几个常用的: loginTimeout = int Specify how long to wait for establishment of a database connection. The timeout is specified in seconds. connectTimeout = int The timeout value used for socket connect operations. If connecting to the server takes longer than this value, the connection is broken. The timeout is specified in seconds and a value of zero means that it is disabled. socketTimeout = int The timeout value used for socket read operations. If reading from the server takes longer than this value, the connection is closed. This can be used as both a brute force global query timeout and a method of detecting network problems. The timeout is specified in seconds and a value of zero means that it is disabled. cancelSignalTimeout = int Cancel command is sent out of band over its own connection, so cancel message can itself get stuck. This property controls "connect timeout" and "socket timeout" used for cancel commands. The timeout is specified in seconds. Default value is 10 seconds. tcpKeepAlive = boolean Enable or disable TCP keep-alive probe. The default is false. jdbc postgresql 上一篇:BeanDefinitionRegistryPostProcessor作用及加载顺序 下一篇:clickhouse删除数据时报错
相关文章 postgresql生成uuid(8400) HsqlDB数据库自增长的两种方式(1317) 使用hsqldb工具连接嵌入式数据库hsqldb(1592) HsqlDB如何修改字段定义(941) HsqlDB多事务并发读写控制(1082) linux下docker安装postgreSql数据库,附带启动脚本(1943) springboot项目初始化druid连接池时报错java.lang.NullPointerException: null(5996) postgresql数据库表分区字段有必要创建索引么?(2223) postgresql主从复制时报错:no pg_hba.conf entry for replication connection from host "192.168.15.131", user "replicator", SSL off(7315) Parameter index out of range (1 > number of parameters, which is 0(1864) 推荐文章 elasticsearch7.1保存时报错: Validation Failed: 1: type is missing;(7) 聊聊数据保存到MySQL后数据乱码的问题(1) solr时区设置解决时间多8小时问题(1) linux下MySQL5.7.18安装过程(1) linux下MySQL5.6.2安装过程(1) spring cloud+feign+mybatis中使用seata0.9实现分布式事务(7) spring cloud gateway报错Only one connection receive subscriber allowed(82) spring cloud中Feign调用诡异报错MethodNotAllowed: status 405 reading(116) 使用spring4实现websocket连接(1) jquery对象与dom对象互转(1) 热门文章 clickhouse如何删除数据(40016) clickhouse清空删除表数据(18228) redis报错远程主机强迫关闭了一个现有的连接以及超时问题(16275) clickhouse执行查询内存超出限制问题:Memory limit (total) exceeded(14617) elasticsearch7.1保存时报错: Validation Failed: 1: type is missing;(11061) clickhouse如何修改字段名(9931) druid执行clickhouse报错:sql injection violation, dbType clickhouse , druid-version 1.2.2, syntax error(8915) Es创建索引mapping时报错:Root mapping definition has unsupported parameters: [doc(8786) Clickhouse批量删除分区(8708) postgresql生成uuid(8257) 标签列表 java java java java java java java基础 微服务 异常处理 mysql clickhouse clickhouse clickhouse clickhouse clickhouse spring cloud spring boot linux elasticsearch feign jdbc spring js docker postgresql solr seata nginx maven gateway hsqldb 数据库 架构 大数据分析 分布式事务 redis canal dubbo hadoop 消息队列 win10 websocket springmvc git html select2 mybatis jenkins rocketmq quartz activemq 数据库集群 ajax bat 电脑 笔记 eclipse 设计模式 阿里云 github freemarker jvm jquery javamail redission redission对象 hystrix http hibernate springmail svn ubuntu ueditor xheditor zookeeper 分布式 小程序 开发工具 gitlab