14 - How to check replication status

摘要: The people using PostgreSQL and the Streaming Replication feature seem to ask many of the same questions: 1. How best to monitor Streaming Replication 阅读全文
posted @ 2017-05-02 12:01 Shadow Zhang 阅读(268) 评论(0) 推荐(0) 编辑

Cross join in excel --- Copy from Internet

摘要: Set up the Workbook In this example, there are two tables -- Raw Materials and Packaging -- and each table is on a separate worksheet. The Raw Materia 阅读全文
posted @ 2016-10-20 15:10 Shadow Zhang 阅读(323) 评论(0) 推荐(0) 编辑

Ionic + AngularJS

摘要: Ionic + AngularJS 阅读全文
posted @ 2015-02-27 14:28 Shadow Zhang 阅读(721) 评论(0) 推荐(0) 编辑

How to use aws CloudFront for CDN

摘要: configure the aws cloudfront for CDN 阅读全文
posted @ 2014-12-26 10:29 Shadow Zhang 阅读(791) 评论(0) 推荐(0) 编辑

Assign an Elastic IP Address to Your Instance

摘要: 如果给AWS中的服务器制定弹性IP,从而让外部访问 阅读全文
posted @ 2013-12-26 18:16 Shadow Zhang 阅读(415) 评论(0) 推荐(0) 编辑

Transferring Files to Your Instance with WinSCP

摘要: 如何用WinSCP连接AWS中的服务器 阅读全文
posted @ 2013-12-26 18:13 Shadow Zhang 阅读(322) 评论(0) 推荐(0) 编辑

PGPool 配置错误定位 s_do_auth: expecting R got E

摘要: 自从按照教程 http://www.pgpool.net/docs/latest/pgpool-zh_cn.html#hba配置好PGPool以后,每次启动 pgpool -c -n -D都报 s_do_auth: expecting R got E2011-02-26 23:01:22 ERROR: pid 10365: s_do_auth: expecting R got E2011-02-26 23:01:22 ERROR: pid 10365: make_persistent_db_connection: s_do_auth failed2011-02-26 23:01:22 ERRO 阅读全文
posted @ 2013-11-05 19:27 Shadow Zhang 阅读(1207) 评论(0) 推荐(0) 编辑

SQL Server 性能调优之--tempdb 之存放路径

摘要: 在我们的OLAP的实现中,SQL超级复杂,用了很多的临时表,tempdb在安装时默认选择了安装SQLserver的本地磁盘路径,没有使用磁盘阵列。 在学习PostgreSQL时发现很多专家建议把临时表空间放在SSD上或者使用RAID0+1的方式来提高写入速度,从而提高性能。 因而就选了一个比较复杂的SQL语句进行了相关测试,发现TempDB的存放路径对性能有很大的影响。 测试描述,单个临时表55w行,共生成8张临时表,最后8个临时表做join联接select group by测试结果如下:1. 本机磁盘 2X136G 10K SAS硬盘 RAID12. EVA4400 36块15KX300G. 阅读全文
posted @ 2013-11-04 18:24 Shadow Zhang 阅读(844) 评论(2) 推荐(1) 编辑

Tomcat 随机挂掉

摘要: 最近遇到一些诡异的事情,1Apache + 4Tomcat的系统中,每天偶尔会发现其中的一台或几台Tomcat宕机了。今天特别频繁,宕了有6次之多。 环境: Windows Server 2003 standardService Pack 2 JDK7.0_11-b21 Tomcat 7.0.42 Apache 2.2.24 mod_jk 1.2.37查看具体的错误日志如下:## A fatal error has been detected by the Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005).. 阅读全文
posted @ 2013-11-04 18:02 Shadow Zhang 阅读(4650) 评论(0) 推荐(0) 编辑