Counting Queries: PostgreSQL SQL Analysis [www.databasejournal.com]
veryone wants their database-backed web application to run faster on the same hardware - if a software tweak can postpone a hardware upgrade for a year, it's usually well worth it. One way to improve performance is to examine how the application is interacting with the database, and see if there is anything that we can do to speed things up. We will take a look at a handy script that can examine PostgreSQL logs and let you know what queries are getting run the most.
03:31 PM, 29 Jun 2004 by Jeff Davis Permalink | Comments (0)
Debugging
It turns out that on gentoo (and some others, like Mandrake 9), libpthread is stripped which means GDB can't do anything useful when debugging threaded programs.
If you see
/lib/libpthread-0.10.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), strippedor get the error
Program received signal SIG32, Real-time event 32. 0x40163834 in pthread_getconcurrency () from /lib/libpthread.so.0when trying to debug a threaded program, then you will need to get an unstripped version of libpthread, or rebuild it on gentoo with
FEATURES="nostrip" emerge glibc
11:53 AM, 27 Jun 2004 by Jeff Davis Permalink | Comments (0)
ACM Queue - Articles on Open source [acmqueue.com]
In our first open source theme issue last year (ACM Queue 1(5), July-August 2003), we focused on business issues such as using open source software as a basis for a commercial product. We knew that this was an important topic, but predicted that many of our readers might find it boring. We were wrong. That issue remains among the most responded-to issues of Queue to date. So with that response, we are revisiting the open source theme.
07:16 AM, 24 Jun 2004 by Jeff Davis Permalink | Comments (0)
Windowmaker
I had to unbind a bunch of things that conflicted with my emacs key bindings.
I have not figured out how to get it to save my descktop but given that I logout once every couple months I may not bother.
04:06 AM, 21 Jun 2004 by Jeff Davis Permalink | Comments (0)
Moved and upgraded the server...
I changed my dns entry as well so that may take a day or two to propigate (which hopefully won't bork my email as well, since before I did not have an MX record for xarg.net).
08:42 AM, 08 Jun 2004 by Jeff Davis Permalink | Comments (0)
Spiel checking
For some years now, the Energy Department has been hoping to separate its wastes into two streams, reserving deep burial for only the part with high radioactivity. In the case of the South Carolina site, the department is prepared to pump most of the waste out of the tanks for disposal through deep burial. But it wants to leave a hard-to-remove residue of sludge in the tanks and bury it under grout.Maybe it's just me but I find it hard to imagine that grout is the ideal encasement material for high level nuclear waste...
04:57 AM, 03 Jun 2004 by Jeff Davis Permalink | Comments (2)
Archive
| June 2004 | ||||||
| S | M | T | W | T | F | S |
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
March 2005
February 2005
June 2004
May 2004
April 2004
March 2004
February 2004
December 2003
November 2003
October 2003
September 2003
July 2003
June 2003
April 2003
March 2003
February 2003
January 2003
December 2002
November 2002
October 2002
