Thursday, January 31, 2008
Perl: CPAN or RPM packages?
Posted by Unknown at 1:20 AM 0 comments
Labels: Linux
Tuesday, January 22, 2008
Manually configure Enterprise Manager Console
Run emca -config dbcontrol db and follow the instructions.
Posted by Unknown at 1:26 PM 0 comments
Labels: Oracle
Monday, January 21, 2008
Redo log size & performance
We got a performance issue with our Oracle 10g. Suddenly the performance was going down and we was getting a significant increase on wait times. After sniffing around and asking a friend we found that:
- All our performance pick were related with time when our Oracle was writing the archive log.
- There is a direct relationship between log_buffer, redo log file size and performance.
Posted by Unknown at 9:07 AM 0 comments
Labels: Oracle
Wednesday, January 16, 2008
Ctrl+click with two fingers
Enable Ctrl+click with two fingers click in System Preferences -> Keyboard & Mouse -> Trackpad -> Tap trackpad using two fingers for secondary click. Believe me, it's quite comfortable.
Posted by Unknown at 10:51 PM 0 comments
Labels: Mac
List of all Max OS X keyboard shortcuts
Will be useful for all Mac users. A kind of 'print-it-and-put-in-front-of-you-until-you-remember'.
Posted by Unknown at 9:15 PM 0 comments
Labels: Mac
Taking screenshots in Leopard
To take a screenshot in Leopard just press Cmd + Shif + 3 if you want to take a full screen or Cmd + Shift + 4 if you want to take a screenshot of some region.
- Spacebar - to take a screenshot of window (active or background)
- Shift - to lock your region horizontally or vertically
- Option - to resize your region proportionally
Posted by Unknown at 8:38 PM 0 comments
Labels: Mac
Reverse tunnel with SSH
When you need to create a reverse tunnel with SSH, just use the following:
Posted by Unknown at 8:33 PM 0 comments
Labels: Linux
Sun to acquire MySQL
There is a bunch of people who thinks that MySQL is a kind of database that is being used just for small projects. For those of you - take a look here. 1 billion USD for a small projects database solution? And if you still don't consider MySQL as possible database solution for your "serious" project - take a look here and here.
Posted by Unknown at 7:59 PM 0 comments
Labels: News
More comfortable environment
After installing new Linux or Unix system I like to edit /etc/profile or $HOME/.bash_profile and add following lines:
Posted by Unknown at 3:55 PM 0 comments
Labels: Linux
Show archive logfiles sequence
Posted by Unknown at 2:04 PM 0 comments
Labels: Oracle
Manually register new archive log
If you need to register archive log in Oracle by hand:
Posted by Unknown at 2:02 PM 1 comments
Labels: Oracle
Rebooting linux without reboot command
Just a sample of how you can reboot or shutdown linux without issuing reboot command, so called hard reboot. That means that system will just make a reset as if you pressed a reset button, without running any shutdown scripts, etc. A kind of dangerous staff, but can be helpful in some occasions.
Posted by Unknown at 1:52 PM 3 comments
Labels: Linux
Perl inline replacement
Sometimes you need to replace something in a bunch of files. And this something is quite complex, so you can describe it only with regular expressions, or, by some other reason you need to use perl in your replacement string. Here is a small sample I'm using:
Posted by Unknown at 11:39 AM 1 comments
Labels: Perl