Archive for May, 2010

Is memory allocated actually in use?

Thursday, May 13th, 2010

In an earlier article, we talked about actually initializing memory rather than just allocating it. This post will show how we can look at what is allocated in Linux, as well as when it shows as being in use and when it doesn’t. I found that memory will show up in pmap (really, pmap... »

Posted in Linux, Operating Systems | No Comments »

Huge pages

Tuesday, May 11th, 2010

Huge Pages is a feature available in later Linux kernels that provides two important benefits: 1. Locks the memory available to huge pages, so it cannot be paged to disk 2. Make the TLB (translation lookaside buffer) much smaller on the processor, as the number of entries is much smaller. This is due to... »

Posted in Linux, Operating Systems | 1 Comment »

CLUSTERING_FACTOR

Tuesday, May 4th, 2010

I had to analyze a performance problem this morning, and it occurred to me it is a good example of troubleshooting queries impacted by the clustering_factor of an index.  As such, below is the email exchange. I took a look, and I think I understand why the query optimizer is choosing a full scan... »

Posted in Database, Oracle | 1 Comment »