http_load Cookie 安装 http load1brew install http_load 参数12345-p -parallel 并发的用户进程数-f -fetches 总计的访问次数-r -rate 每秒访问频率-s -seconds 连续访问时间url 网站连接地址或URL文件 示例1234# 并发1024,持续10秒http_load -p 1024 -s 10 url.list# 并发5线程, 总共访问 2021-09-27 unix unix
EOF Cookie 向文件 a.txt 中追加信息1234cat >> a.txt << EOF这是追加信息1这是追加信息2EOF 重写文件 a.txt 中的信息1234cat > a.txt <<EOF这是重写信息1这是重写信息2EOF 2021-09-27 unix unix
OrientDB Install 通过Docker安装1234567docker run -d --name orientdb -p 2424:2424 -p 2480:2480 \ -v <config_path>:/orientdb/config \ -v <databases_path>:/orientdb/databases \ -v <backup_path>:/or 2021-09-27 orientdb orientdb
OrientDB Class 列出class1list classes 创建class1create class Student 添加class属性12create property Student.name Stringcreate property Student.birthDate Date 显示class1info class Student 查看记录12browser class Studentdisplay 2021-09-27 orientdb orientdb
OrientDB Traverse TRAVERSE 后可使用 in() out() any() * in() 代表进入条件的关系 out() 代码从条件出去的关系 其中()中可添加关系线的的类名,如: 1TRAVERSE out("TabDataFlow") FROM (select from MdsTab where id =1) maxDepth 3 any() 或 * 代表进出关系都搜索 MaxDe 2021-09-27 orientdb orientdb
OrientDB Example MdsTab与MdsTabCol分别是2种V Tab与Tab之前的数据流向关系使用TabDataFlow连接 TabCol与TabCol之前的数据流向关系使用TabColDataFlow连接 类型图 测试数据 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 2021-09-27 orientdb orientdb
PostgreSQL Cookie 创建新的Schema123create schema postgres_survey;comment on schema postgres_survey is 'postgres特性调研'; 创建表12345678910111213141516create table postgres_survey.array_samp( id bigint constraint arra 2021-09-27 postgresql postgresql
PostgreSQL Array类型示例 SQL方式使用Array类型可以将字段定义为变长的多组数组. DDL定义12345678910111213141516create table postgres_survey.array_samp( id bigint constraint array_samp_pk primary key, classifies bigint[] not null, role_matrix text[][ 2021-09-27 postgresql postgresql
在Mybatis中使用PostgreSQL Jsonb类型示例 引入mybatis1234567891011121314<dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> </dependency&g 2021-09-27 postgresql postgresql
PostgreSQL Jsonb类型示例 创建表 123456789101112create table person( id bigint not null constraint person_pk primary key, type varchar, name varchar(20), pocket jsonb);comment on table person is '人的抽象类';comment on colum 2021-09-27 postgresql postgresql