Linux network issue Tips
Problems:
Restart Linux 6 in vmware and met “Device eth0 does not seem to be present” for network service.
(All were good for using in another PC, just move to new PC and can NOT use the vm’s network service.)
service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
Oracle Datapump lob table Tips
Disable and Enable all Constraint
Postgresql Primary Key CONSTRAINT Study 010 Tips
Postgresql CONSTRAINT Study 009 Tips
Postgresql CHECK Study 008 Tips
Postgresql Temporary Table Study 007 Tips
Postgresql pgbench Study 006 Tips
pgbench是基于tpc-b模型的postgresql测试工具。它属于开源软件,主要为对 PostgreSQL 进行压力测试的一款简单程序, SQL命令可以在一个连接中顺序地执行,通常会开多个数据库 Session, 并且在测试最后形成测试报告,得出每秒平均事务数,pgbench可以测试 select,update,insert,delete 命令,用户可以编写自己的脚本进行测试。
TPC:Transactionprocessing Performance Council 事务处理性能委员会
TPC-B:TPC-B measures throughput in terms of how many transactions per second a system canperform / 测试一秒可以处理的事务个数 事务:在这个文档中的事务并不是指的数据库层面上的事务,而是指一系列SQL语句。
Postgresql 12 Database Study 005 Tips
Postgresql 数据库
数据库由一个或者多个模式(schema)组成
逻辑结构: PG Server -> Database -> Schema -> table/index/function
创建数据库需要超级用户superuser权限或者有创建数据库(create database)的角色(role)用户
Postgresql 12 Tablespace Study 004 Tips
Postgresql 表空间
Postgres 12 Connect Study 003 Tips
Postgresql 12 启动停止 Study 002 Tips