- 博客(5)
- 收藏
- 关注
原创 Cassandra维护工具nodetool用法
进入到cassandra的bin目录下查看表空间nodetool cfstats 数据库.表名space used 是已经使用了的大小,单位是字节。
2022-04-22 17:30:45 837
原创 springboot在项目启动后初始化资源方法
编写一个类实现CommandLineRunner接口,重写它的run方法@Slf4j@Componentpublic class CommandRunnerUtil implements CommandLineRunner { @Override public void run(String... args) throws Exception { log.info("start gateway list throw calue init .....");
2021-05-14 14:54:05 153
原创 java 报异常 java.lang.Double cannot be cast to java.math.BigDecimal的解决办法
classA.setP( new BigDecimal(jsonArray.get(i)));
2021-04-12 16:26:12 4291
原创 SQL SERVER还原数据库时,如果C盘空间不足还原到其他盘的方法
SQL SERVER还原数据库时,如果C盘空间不足还原到其他盘的方法当通过还原文件或文件组还原数据库时,如果SQL SERVER提示C盘空间不足,还原失败时,则可以通过以下方式将数据库还原到其他位置use mastergorestore database 数据库名称 from disk = ‘数据库bak文件的路径’with move ‘数据库名称’ to ‘E:\data\数据库名称.mdf’,move ‘数据库名称_log’ to ‘E:\data\数据库名称_log.ldf’.
2021-04-12 08:55:03 3020
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人