性能测试流程 注意要点 测试机器硬件配置尽量和线上一致 系统版本与线上一致 测试环境部署线上最小单元模块(一般线上都是集群部署,线下可以用最小的单元集群) 应用、中间件、数据库要与线上一致 其他特殊配置 数据构造 ? 业务接口 ? -- 适合数据表关系复杂 ? -- 优点: 数据完整性比较好 ? 存 ...
分类:
其他好文 时间:
2021-06-18 19:57:35
阅读次数:
0
TP框架使用命令行 <?php namespace app\command; use think\Db; use app\shopee\Item; use think\console\Input; use think\console\Output; use think\console\Command ...
分类:
其他好文 时间:
2021-06-17 17:23:24
阅读次数:
0
==时区修改== 查看当前时区:date 查看时区列表:timedatectl list-timezones 修改时区:timedatectl set-timezone Asia/Shanghai ==配置文件== centos8已经没有ntp时间同步服务了,使用的是chrony。 配置文件:vim ...
分类:
其他好文 时间:
2021-06-17 17:09:13
阅读次数:
0
1:开机同步 开机时自动同步可编辑 /etc/ntp/step-tickers 文件 1 vim /etc/ntp/step-tickers 2 3 # List of NTP servers used by the ntpdate service. 4 5 ntp.aliyun.com 6 tim ...
分类:
其他好文 时间:
2021-06-17 16:54:51
阅读次数:
0
获取一段时间内所有的小时 SELECT to_date('2013-07-01 12', 'yyyy-mm-dd hh24') + (ROWNUM - 1) / 24 sdate FROM dualCONNECT BY ROWNUM <= (to_date('2013-07-02 22', 'yyy ...
分类:
数据库 时间:
2021-06-17 16:52:45
阅读次数:
0
一、借助lombok之@Builder注解 User类源码: package com.yang.webflux.controller; import lombok.Builder; /** * @author: Yang * @date: 2017/3/26 23:55 * @description ...
分类:
编程语言 时间:
2021-06-17 16:46:29
阅读次数:
0
硬件条件:ThinkpadP52 1T+1Tssd+2T OS:windows10+Ubuntu20.04(先安装windows再安装Ubuntu) Geant4 安装 软体下载 https://geant4.web.cern.ch/support/download 安装到/jianghp/gean ...
分类:
其他好文 时间:
2021-06-17 16:38:52
阅读次数:
0
1、计算机体系的三层结构: 应用程序 操作系统 计算机硬件 2、linux运维的三大职责: 1、应用程序稳定运行:7*24*365天不间断运行 2、备份重要数据 3、优化集群性能 ps:作为运维人员进入公司,如何开展自己的工作 1、画出架构图 2、围绕三点展开工作: 稳定性:监控 可靠性:备份、解决 ...
分类:
系统相关 时间:
2021-06-17 16:32:00
阅读次数:
0
declare @begin_date datetime declare @end_date datetime select @begin_date = getdate() -- sql 语句 放这里 select @end_date = getdate() select datediff(ms,@ ...
分类:
数据库 时间:
2021-06-16 18:22:04
阅读次数:
0
jblas java 线性代数相关的库 今天晚上这个必须看完 顺便把那个sboot看完一部分 log4j ES更多的是查询 9200 对于ES的操作 ,就是发送 http请求 查询当前es的索引: Date这个是以毫秒为单位的 .distinct()去重 自带的 train的参数: .norm2() ...
分类:
其他好文 时间:
2021-06-16 18:18:47
阅读次数:
0