Wednesday, June 08, 2011

Create multipul vertica database with different port number

1. Create multipul database instances through "admintools". For example: mydb1 and mydb2;
2. Shutdown all database instances through "admintools";
3. Change port number for database instances.
Backup ${VERTICA_TOP}/config/share/portinfo.dat file, and change port number for some database instances.
For example: mydb1 uses 5433, mydb2 uses 5444.
4. Restart verticad service
$ sudo /etc/init.d/verticad restart

Thursday, November 26, 2009

Saturday, May 09, 2009

RPM hanging

1. Kill all rpm process
2. sudo rm /var/lib/rpm __db.*
3. sudo rpm --rebuilddb
4. sudo rm /var/lock/rpm/transaction
5. Re-install rpm package

Tuesday, April 28, 2009

Install VMware Tools on Ubuntu

sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`

Thursday, April 23, 2009

Performance logging for Spring

Beet records user behavior and performance data for your Spring-based Java application. It can thus help you to analyze usage patterns and research production performance issues. Beet requires Spring framework 2+ and the Quartz Scheduler.

Visit the Downloads page to grab a copy, and then read the Quick Start chapter of the User Guide to enable it in your application.

Beet is freely available to use under the terms of the Mozilla Public License, v1.1. It was developed and is maintained by Mantis Technology Group, Inc.

Features
Record Java method calls, SQL statements, and HTTP requests, or add your own events
Simple configuration, zero code modification required
Know immediately which user and session caused each event and when
JMX administration and diagnostic tools
Record data as XML, compressed binary XML, directly to an RDBMS, or write your own storage
Flexible ETL and log manipulation tools for compressed binary XML
Low resource overhead, appropriate for production systems


http://beet.sourceforge.net/

Saturday, April 04, 2009

Survey Results: JavaScript Frameworks

http://www.kylehayes.info/blog/index.cfm/2009/03/29/survey-results-javascript-frameworks/

Tuesday, March 03, 2009

15 Helpful In-Browser Web Development Tools

http://www.smashingmagazine.com/2008/11/18/15-helpful-in-browser-web-development-tools/