pg_ctl 名称 pg_ctl -- 启动、停止、重启 PostgreSQL 名称 语法 pg_ctl start [-w] [-s] [-D datadir] [-l filename] [-o options] [-p path]pg_ctl stop [-W] [-s] [-D datadi ...
分类:
数据库 时间:
2016-07-19 18:32:48
阅读次数:
1324
关于网上的各种性能测试帖子,我想说以下几点: 1、为了使性能测试更加的客观、实际,应该说明针对什么场景进行测试,查询、还是修改,是否包含了主键,包含了几个索引,各自的差别是什么。因为不同的mysql分支,之所以存在是因为有其解决的点存在,而不是为了山寨而山寨;更有甚者,甚至直接拿pg进行测试得出结论 ...
分类:
数据库 时间:
2016-07-14 10:02:01
阅读次数:
202
作者:高张远瞩(HiLoveS) 博客:http://www.cnblogs.com/hiloves/ 转载请保留该信息 最近试用PostgreSQL 9.04,将pg_hba.conf配置的一些心得分享。pg_hba.conf是客户端认证配置文件,定义如何认证客户端。 下面是常用的pg_hba.c ...
分类:
数据库 时间:
2016-07-12 19:07:47
阅读次数:
183
1.createdb 数据库名称 产生数据库2.dropdb 数据库名称 删除数据库 3.CREATE USER 用户名称 创建用户4.drop User 用户名称 删除用户 5.SELECT usename FROM pg_user; 查看系统用户信息 \du 7.SELECT version() ...
分类:
数据库 时间:
2016-07-12 19:07:30
阅读次数:
207
不说了,先上代码. PG: Delphi: ...
分类:
数据库 时间:
2016-07-11 20:52:08
阅读次数:
151
问题1:TabError: inconsistent use of tabs and spaces in indentation tab和空格混用所致,例如: 解决办法:搜索\t,替换为' ': ...
分类:
其他好文 时间:
2016-07-06 00:17:14
阅读次数:
160
问题:The project was not built due to "Could not delete ...".Fix the problem, then try refreshing this project and building it since it may be inconsist ...
分类:
其他好文 时间:
2016-07-04 11:37:57
阅读次数:
151
http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting- started-with-boostasio?pg=10 9. A boost::asio network wrapper (TCP) 现在我们了解asio和TCP网络 ...
分类:
其他好文 时间:
2016-06-28 12:28:35
阅读次数:
1763
表大小信息 postgres=# SELECT *, pg_size_pretty(total_bytes) AS totalpostgres-# , pg_size_pretty(index_bytes) AS INDEXpostgres-# , pg_size_pretty(toast_byte ...
分类:
数据库 时间:
2016-06-28 11:02:39
阅读次数:
276
PG>9.2 postgres=# SELECT blocked_locks.pid AS blocked_pid,postgres-# blocked_activity.usename AS blocked_user,postgres-# blocking_locks.pid AS blockin ...
分类:
数据库 时间:
2016-06-28 09:22:55
阅读次数:
225