Monthly Archives: November 2009

AIX 5.3 ORA-27126: unable to lock shared memory segment in core

you set lock_sga=true didn’t you?

This doesn’t appear to be documented many places, so I’ll put it here. There can be a tangible performance increase to ‘locking’ SGA to pinned memory. Paging spaces are, after all, on a slower medium (disk). In AIX 5.3 you also need to ‘pin’ shared memory. (SGA is shared memory) Continue reading

Posted in AIX, Oracle, Tuning, UNIX | Tagged | 1 Comment

Error Checking vs. Exception Trapping

With the increased popularity of older object oriented languages, and the increased pervasiveness of newer ones there is also an increased practice of using exceptions in place of checking return values. This is commonly seen in J2EE apps, and increasingly … Continue reading

Posted in J2EE, Java | Tagged | 1 Comment