摘要: 用sqlalchemy连接sqlserver,操作数据库 1 # conding:utf-8 2 from sqlalchemy import create_engine 3 from sqlalchemy.ext.declarative import declarative_base 4 from 阅读全文
posted @ 2019-05-28 14:38 carlvine 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: 今天发现个很强大的插件Blazemeter。 1.安装 Chrome添加扩展程序(需FQ) 2.录制 用Chrome打开需要录制的网址,打开插件开始录制 3.导出.jmx 点击Edit 导出.jmx(需要注册账号并登陆) 4.其他功能 可以上传.jmx,在线性能测试,生成报告等(自行探索中。。。) 阅读全文
posted @ 2019-05-16 16:53 carlvine 阅读(757) 评论(0) 推荐(0) 编辑
摘要: 转自 ITGirl笑笑 一、GROUP BY GROUP BY语句用来与聚合函数(aggregate functions such as COUNT, SUM, AVG, MIN, or MAX.)联合使用来得到一个或多个列的结果集。 语法如下: SELECT column1, column2, . 阅读全文
posted @ 2019-04-24 17:03 carlvine 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 测试一个接口 [{ "businessId":"${businessid}", "billIndex":${index}, "receivedTime":"2019-04-02 19:00:00:000", "amount":1288.00, "serialCode":"PT679420190801 阅读全文
posted @ 2019-04-24 16:17 carlvine 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 转自https://www.cnblogs.com/feng0815/p/8613547.html vmstat是Virtual Meomory Statistics(虚拟内存统计)的缩写,可对操作系统的虚拟内存、进程、IO读写、CPU活动等进行监视。它是对系统的整体情况进行统计,不足之处是无法对某 阅读全文
posted @ 2019-04-22 14:09 carlvine 阅读(852) 评论(0) 推荐(0) 编辑
摘要: 第一种方法: yum install iftop 第二种方法: 转自https://www.landui.com/help/show-7748.html 1.远程连接后下载iftop 2.解压 3.配置./configure 报错,此时若继续运行 会报错 也即是说,在执行./configure后没有 阅读全文
posted @ 2019-04-18 17:56 carlvine 阅读(604) 评论(0) 推荐(0) 编辑
摘要: Oracle: 添加索引: Create Index CONTACTbid On M_CONTACT_INFO(business_id); MongoDB: 区间查询:db.getCollection('repay_batch_info').find({"batch_no":{"$gt":"mnwp 阅读全文
posted @ 2019-04-04 09:42 carlvine 阅读(95) 评论(0) 推荐(0) 编辑
摘要: def compare_RabbitMQ(data): mq_host = data.pop("mq_host") mq_user = data.pop("mq_user") mq_password = data.pop("mq_password") mq_port = data.pop("mq_port") virtual_host = data.pop... 阅读全文
posted @ 2019-03-19 14:11 carlvine 阅读(1083) 评论(0) 推荐(0) 编辑
摘要: python连接MongoDB查询: python连接sqlserver查询 注意:charset='UTF8' 参考:https://www.cnblogs.com/baiyangcao/p/pymssql_basic.html python连接Oracle 1.安装cx_Oracle版本:cx_ 阅读全文
posted @ 2019-03-11 10:18 carlvine 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 查看监听的端口: netstat -tunlp 查看防火墙允许的端口: firewall-cmd --zone=public --list-ports 添加防火墙允许的端口: firewall-cmd --zone=public --add-port=9090/tcp --permanent 重置防 阅读全文
posted @ 2019-03-01 17:14 carlvine 阅读(366) 评论(0) 推荐(0) 编辑