background picture of the home page

Hi,Friend

以技术为主流的博客系统

PostgreSQl-数据库连接数

-- 最大连接数 show max_connections; -- 占用连接数 SELECT COUNT(*) FROM pg_stat_activity; -- 各个数据库占用的连接数 SELECT a.datname, COUNT(*) FROM pg_stat_activity as

thumbnail of the cover of the post

java-知识点-线程池-参数说明

java多线程开发时,常常用到线程池技术,这篇文章是对创建java线程池时的七个参数的详细解释。 从源码中可以看出,线程池的构造函数有7个参数 这 7 个参数分别是: corePoolSize:核心线程数。 maximumPoolSize:最大线程数。 keepAliveTime:空闲线程存活时间。

thumbnail of the cover of the post

java-知识点

大家好,给大家汇总了2024年最新的JAVA面经汇总,不过随着不断更新,大家也可以看更全的实时更新的10000+面经:https://link.youzhiwk.com/r/yDE

thumbnail of the cover of the post

mybatis-plus联表查询

mybatis-plus作为mybatis的增强工具,它的出现极大的简化了开发中的数据库操作,但是长久以来,它的联表查询能力一直被大家所诟病。一旦遇到left join或right join的左右连接,你还是得老老实实的打开xml文件,手写上一大段的sql语句。 直到前几天,偶然碰到了这么一款叫做m

thumbnail of the cover of the post

Map循环方法

一、for循环 + KeySet(效率低)/values 分别遍历 key 和 values 通过map.keySet()方法可以获取Map的所有key的集合(set)。然后通过遍历这个Set就可以遍历到Map的key,如果想要同时遍历到Map的value,

thumbnail of the cover of the post

Excel公式

拼接 (‘’,‘’) =CONCATENATE("('"&A2&"','"&B2&"','"&C2&"','"&D2&"','"&E2&"','"&F2&"', 0, 'v1.0.0', 2)")

thumbnail of the cover of the post