<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://www.xzilla.net/feeds/atom10.xml" rel="self" title="zillablog" type="application/atom+xml" />
    <link href="http://www.xzilla.net/"                        rel="alternate"    title="zillablog" type="text/html" />
    <link href="http://www.xzilla.net/rss.php?version=2.0"     rel="alternate"    title="zillablog" type="application/rss+xml" />
    <title type="html">zillablog</title>
    <subtitle type="html"></subtitle>
    <icon>http://www.xzilla.net/templates/default/img/s9y_banner_small.png</icon>
    <id>http://www.xzilla.net/</id>
    <updated>2010-07-25T20:18:51Z</updated>
    <generator uri="http://www.s9y.org/" version="1.3.1">Serendipity 1.3.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://www.xzilla.net/blog/2010/Jul/Database-Scalability-Patterns-OSCon-2010.html" rel="alternate" title="Database Scalability Patterns - OSCon 2010" />
        <author>
            <name>Robert Treat</name>
                    </author>
    
        <published>2010-07-23T19:42:06Z</published>
        <updated>2010-07-25T20:18:51Z</updated>
        <wfw:comment>http://www.xzilla.net/wfwcomment.php?cid=491</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.xzilla.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=491</wfw:commentRss>
    
            <category scheme="http://www.xzilla.net/cat/conf" label="conf" term="conf" />
            <category scheme="http://www.xzilla.net/cat/mysql" label="mysql" term="mysql" />
            <category scheme="http://www.xzilla.net/cat/postgres" label="postgres" term="postgres" />
    
        <id>http://www.xzilla.net/blog/2010/Jul/491.html</id>
        <title type="html">Database Scalability Patterns - OSCon 2010</title>
        <content type="xhtml" xml:base="http://www.xzilla.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Howdy folks, <br />
<br />
slides are up for my talk, "Database Scalability Patterns", which I gave this week at OSCon 2010. You can get them from the <a href="http://www.xzilla.net/exit.php?url_id=456&amp;entry_id=491" title="http://www.oscon.com/oscon2010/public/schedule/detail/13226"  onmouseover="window.status='http://www.oscon.com/oscon2010/public/schedule/detail/13226';return true;" onmouseout="window.status='';return true;">OSCon page</a>, from <a href="http://www.xzilla.net/exit.php?url_id=457&amp;entry_id=491" title="http://www.slideshare.net/xzilla/database-scalability-patterns-4825223"  onmouseover="window.status='http://www.slideshare.net/xzilla/database-scalability-patterns-4825223';return true;" onmouseout="window.status='';return true;">slideshare</a>, or just watch it below <img src="http://www.xzilla.net/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
<br />
<div style="width:425px" id="__ss_4825223"><strong style="display:block;margin:12px 0 4px"><a href="http://www.xzilla.net/exit.php?url_id=457&amp;entry_id=491"  onmouseover="window.status='http://www.slideshare.net/xzilla/database-scalability-patterns-4825223';return true;" onmouseout="window.status='';return true;" title="Database Scalability Patterns">Database Scalability Patterns</a></strong><object id="__sse4825223" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=databasescalabilitypatterns-oscon2010-100723140226-phpapp02&stripped_title=database-scalability-patterns-4825223" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse4825223" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=databasescalabilitypatterns-oscon2010-100723140226-phpapp02&stripped_title=database-scalability-patterns-4825223" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="padding:5px 0 12px">View more <a href="http://www.xzilla.net/exit.php?url_id=459&amp;entry_id=491" title="http://www.slideshare.net/"  onmouseover="window.status='http://www.slideshare.net/';return true;" onmouseout="window.status='';return true;">presentations</a> from <a href="http://www.xzilla.net/exit.php?url_id=460&amp;entry_id=491" title="http://www.slideshare.net/xzilla"  onmouseover="window.status='http://www.slideshare.net/xzilla';return true;" onmouseout="window.status='';return true;">Robert Treat</a>.</div></div> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.xzilla.net/blog/2010/Jul/I-hardly-gnu,-you.html" rel="alternate" title="I hardly gnu, you?" />
        <author>
            <name>Robert Treat</name>
                    </author>
    
        <published>2010-07-17T17:14:58Z</published>
        <updated>2010-07-23T19:26:24Z</updated>
        <wfw:comment>http://www.xzilla.net/wfwcomment.php?cid=490</wfw:comment>
    
        <slash:comments>6</slash:comments>
        <wfw:commentRss>http://www.xzilla.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=490</wfw:commentRss>
    
            <category scheme="http://www.xzilla.net/cat/perl" label="perl" term="perl" />
            <category scheme="http://www.xzilla.net/cat/php" label="php" term="php" />
            <category scheme="http://www.xzilla.net/cat/ppa" label="ppa" term="ppa" />
    
        <id>http://www.xzilla.net/blog/2010/Jul/490.html</id>
        <title type="html">I hardly gnu, you?</title>
        <content type="xhtml" xml:base="http://www.xzilla.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                This morning I was browsing some twitter, when I came across <a href="http://www.xzilla.net/exit.php?url_id=449&amp;entry_id=490" title="http://twitter.com/stuherbert/status/18760913929"  onmouseover="window.status='http://twitter.com/stuherbert/status/18760913929';return true;" onmouseout="window.status='';return true;">this tweet</a>:<br />
<br />
<blockquote style="padding: 1em;  background: #f3f3f0 url(http://people.planetpostgresql.org/xzilla/uploads/bgquote.png) top left no-repeat">"Everyone who bitches about the GPL ... I'd like them to remove all the GPL software from their computers, and see how they get on."<br />
</blockquote><br />
<br />
Now, this is all apart of some brouhaha over <a href="http://www.xzilla.net/exit.php?url_id=455&amp;entry_id=490" title="http://markjaquith.wordpress.com/2010/07/17/why-wordpress-themes-are-derivative-of-wordpress/"  onmouseover="window.status='http://markjaquith.wordpress.com/2010/07/17/why-wordpress-themes-are-derivative-of-wordpress/';return true;" onmouseout="window.status='';return true;">Wordpress and it's templates</a> or something. I personally don't care about any of that (I've long moved past Wordpress, as I find them to be bad open source citizens), but it did get me to thinking, as a person who does think the BSD license is a better open source license than the GPL, just how much of an inconveneince would this be? I certainly do rely on a bunch of gnu software that I'd just as soon not live without, like my playstation, or our dvr, and probably our router too. However I don't really have a choice in these things, and to be fair I don't think there is anything perticularly special about linux that makes it better for a dvr than you could do with BSD.<br />
<br />
But let's consider things where I do have a choice, where most software developers have a choice, which is in the tools we work with and things we work on. This is pretty broard, so let's just consider the classic LAMP stack that most people work on. Apache is of course, available under the Apache license, so it's already in the clear. While I like Linux, I've long replaced it in my life with a mix of OSX, *Solaris, and *BSD, for computers where I get to choose the OS. Yes, our eeepc does run Linux, but I could probably switch that to some BSD system if needed. Likewise MySQL has always had the backseat next to Postgres or Oracle, and even the NoSQL fanboys have plenty of non-gpl options (Couch, Hadoop, Cassandra, Voldemort, etc...) to pick from. And finally, whether your P is Perl, PHP, or Python, all of those languages are available under non-GPL licenses. So, I guess the "LAMP" stack could go on.<br />
<br />
Surely there must be some things though right? I started to think about other tools I work with regularly, like X and vim, and while I'm sure there are some tools that might be gpl, certainly many are not, and I'd guess between Solaris and BSD, I could make a GPL-free stack that I'd be comfortable working on, with software that is already available. This isn't to say I wouldn't miss anything. I love my recursive grep, find the -P argument for xargs amazing, and find BSD tar just crippling to work with. None of those would be as bad as losing screen, which is a must have for any serious server work. Of course there are alternatives for all of these (not that I know anyone who uses tmux), and I'd bet some of these features could be easily re-implemented in a BSD version if needed.<br />
<br />
I think where this really get's you is in the software that has been built upon these base tools, perticularly in the area of PHP software development. A lot of people over that last 10 years have produced GPL lciense software, like Drupal, PHP-Nuke, phpBB, phpMyAdmin, and more. I think most people didn't really think about there license choices back then (perhaps not now either); "if it's good enough for Linus". It's too bad, I know I'd much rather license <a href="http://www.xzilla.net/exit.php?url_id=451&amp;entry_id=490" title="http://phppgadmin.sourceforge.net/"  onmouseover="window.status='http://phppgadmin.sourceforge.net/';return true;" onmouseout="window.status='';return true;">phpPgAdmin</a> under the BSD than GPL, but I think we're pretty much stuck at this point. I have noticed some newer projects (Habari for instance) have chosen non-GPL licenses; I don't know if that is a trend or anything, but it wouldn't hurt if it was.<br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.xzilla.net/blog/2010/Jul/BWPUG-July-Meeting-2010-07-14-PostgreSQL-Performance-Farm.html" rel="alternate" title="BWPUG July Meeting 2010-07-14: PostgreSQL Performance Farm" />
        <author>
            <name>Robert Treat</name>
                    </author>
    
        <published>2010-07-13T15:29:00Z</published>
        <updated>2010-07-13T15:15:15Z</updated>
        <wfw:comment>http://www.xzilla.net/wfwcomment.php?cid=489</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.xzilla.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=489</wfw:commentRss>
    
            <category scheme="http://www.xzilla.net/cat/bwpug" label="bwpug" term="bwpug" />
            <category scheme="http://www.xzilla.net/cat/postgres" label="postgres" term="postgres" />
    
        <id>http://www.xzilla.net/blog/2010/Jul/489.html</id>
        <title type="html">BWPUG July Meeting 2010-07-14: PostgreSQL Performance Farm</title>
        <content type="xhtml" xml:base="http://www.xzilla.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                A reminder note from Stephan Frost:<br />
<br />
<blockquote style="padding: 1em;  background: #f3f3f0 url(http://people.planetpostgresql.org/xzilla/uploads/bgquote.png) top left no-repeat">Hey all!<br />
<br />
This month BWPUG returns to DC/Falls Church!<br />
<br />
When: July 14th, 6:30PM (this Wednesday!)<br />
Where: 3150 Fairview Park Dr, Falls Church, VA<br />
Host: Noblis, Inc. and the<br />
    Noblis Innovation and Collaboration Center (NICC)<br />
<br />
It's basically at 495 and 50 in Northern Virginia.  We'll be discussing<br />
the work and progress made so far on the PostgreSQL Performance Farm<br />
scripts done by Scott (an intern working for Noblis over the summer<br />
from Virginia Tech).<br />
<br />
If you're planning to attend, please RSVP to sfrost@noblis.org.  The<br />
host/facility we'll be meeting at does require a government issued<br />
photo ID (eg: driver's license or passport).<br />
<br />
Hope to see you there!<br />
<br />
	Thanks,<br />
<br />
		Stephen<br />
</blockquote> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.xzilla.net/blog/2010/Jun/BWPUG-June-Meeting-2010-06-09-PostgreSQL-on-FreeBSD.html" rel="alternate" title="BWPUG June Meeting 2010-06-09: PostgreSQL on FreeBSD" />
        <author>
            <name>Robert Treat</name>
                    </author>
    
        <published>2010-06-03T18:54:00Z</published>
        <updated>2010-06-10T02:00:52Z</updated>
        <wfw:comment>http://www.xzilla.net/wfwcomment.php?cid=487</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://www.xzilla.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=487</wfw:commentRss>
    
            <category scheme="http://www.xzilla.net/cat/bwpug" label="bwpug" term="bwpug" />
            <category scheme="http://www.xzilla.net/cat/postgres" label="postgres" term="postgres" />
            <category scheme="http://www.xzilla.net/cat/solaris" label="solaris" term="solaris" />
    
        <id>http://www.xzilla.net/blog/2010/Jun/487.html</id>
        <title type="html">BWPUG June Meeting 2010-06-09: PostgreSQL on FreeBSD</title>
        <content type="xhtml" xml:base="http://www.xzilla.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                After a brief hiatus, BWPUG is back with an all new meeting for June!<br />
<br />
This months speaker will be <a href="http://www.xzilla.net/exit.php?url_id=442&amp;entry_id=487" title="http://notemagnet.blogspot.com/"  onmouseover="window.status='http://notemagnet.blogspot.com/';return true;" onmouseout="window.status='';return true;">Greg Smith</a>, who reprises his talk from <a href="http://www.xzilla.net/exit.php?url_id=443&amp;entry_id=487" title="http://www.bsdcan.org/"  onmouseover="window.status='http://www.bsdcan.org/';return true;" onmouseout="window.status='';return true;">BSDCan</a>, presenting on "PostgreSQL on FreeBSD". The talk discusses some of the technical and business hurdles in deploying database on the FreeBSD architecture, and touches on topics like what former users of OpenSolaris might be looking for in a new OS.<br />
<br />
When: June 9th, 6:30PM.<br />
Where: <a href="http://www.xzilla.net/exit.php?url_id=444&amp;entry_id=487" title="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=7070+Smaual+Morse+drive,+21046&amp;sll=37.0625,-95.677068&amp;sspn=30.875284,58.447266&amp;ie=UTF8&amp;hq=&amp;hnear=7070+Samuel+Morse+Dr,+Columbia,+Howard,+Maryland+21046&amp;ll=39.170812,-76.810827&amp;spn=0.007369,0.014269&amp;z=16&amp;iwloc=A"  onmouseover="window.status='http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=7070+Smaual+Morse+drive,+21046&amp;sll=37.0625,-95.677068&amp;sspn=30.875284,58.447266&amp;ie=UTF8&amp;hq=&amp;hnear=7070+Samuel+Morse+Dr,+Columbia,+Howard,+Maryland+21046&amp;ll=39.170812,-76.810827&amp;spn=0.007369,0.014269&amp;z=16&amp;iwloc=A';return true;" onmouseout="window.status='';return true;">7070 Samuel Morse Dr, Columbia, MD, 21046</a>.<br />
Host: <a href="http://www.xzilla.net/exit.php?url_id=445&amp;entry_id=487" title="http://omniti.com/"  onmouseover="window.status='http://omniti.com/';return true;" onmouseout="window.status='';return true;">OmniTI</a><br />
<br />
As always we'll have time for networking and likely hit one of the local restaurants after meeting, hope to see you there. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.xzilla.net/blog/2010/Jun/PGCon-2010-slides-are-up.html" rel="alternate" title="PGCon 2010 slides are up" />
        <author>
            <name>Robert Treat</name>
                    </author>
    
        <published>2010-06-08T01:05:32Z</published>
        <updated>2010-06-09T00:43:06Z</updated>
        <wfw:comment>http://www.xzilla.net/wfwcomment.php?cid=488</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.xzilla.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=488</wfw:commentRss>
    
            <category scheme="http://www.xzilla.net/cat/conf" label="conf" term="conf" />
            <category scheme="http://www.xzilla.net/cat/postgres" label="postgres" term="postgres" />
    
        <id>http://www.xzilla.net/blog/2010/Jun/488.html</id>
        <title type="html">PGCon 2010 slides are up</title>
        <content type="xhtml" xml:base="http://www.xzilla.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                They've actually been up for a few days now, but since I haven't mentioned it, I guess no one noticed <img src="http://www.xzilla.net/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
<br />
This includes slides for both the <a href="http://www.xzilla.net/exit.php?url_id=446&amp;entry_id=488" title="http://www.pgcon.org/2010/schedule/events/202.en.html"  onmouseover="window.status='http://www.pgcon.org/2010/schedule/events/202.en.html';return true;" onmouseout="window.status='';return true;">"Know More Waiting / Postgres 9"</a> talk, and my <a href="http://www.xzilla.net/exit.php?url_id=447&amp;entry_id=488" title="http://www.pgcon.org/2010/schedule/events/257.en.html"  onmouseover="window.status='http://www.pgcon.org/2010/schedule/events/257.en.html';return true;" onmouseout="window.status='';return true;">"Check Please! / Postgres Monitoring"</a>. I've uploaded the slides to the conference webstie for download, but I think it needs to get a site cache rebuild or something, in the mean time you can view the slides on <a href="http://www.xzilla.net/exit.php?url_id=448&amp;entry_id=488" title="http://www.slideshare.net/xzilla/"  onmouseover="window.status='http://www.slideshare.net/xzilla/';return true;" onmouseout="window.status='';return true;">my slideshare page</a>. <br />
<br />
As always if you have any questions, please feel free to contact me.  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.xzilla.net/blog/2008/Jun/ossdb-snapshot,-lvm-database-snapshot-tool.html" rel="alternate" title="ossdb-snapshot, lvm database snapshot tool" />
        <author>
            <name>Robert Treat</name>
                    </author>
    
        <published>2008-06-03T22:28:00Z</published>
        <updated>2010-04-20T21:36:53Z</updated>
        <wfw:comment>http://www.xzilla.net/wfwcomment.php?cid=344</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.xzilla.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=344</wfw:commentRss>
    
            <category scheme="http://www.xzilla.net/cat/mysql" label="mysql" term="mysql" />
            <category scheme="http://www.xzilla.net/cat/postgres" label="postgres" term="postgres" />
    
        <id>http://www.xzilla.net/blog/2008/Jun/344.html</id>
        <title type="html">ossdb-snapshot, lvm database snapshot tool</title>
        <content type="xhtml" xml:base="http://www.xzilla.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Just tossing this out there on the chance it might be useful for others. This script, dubbed <a href="http://www.xzilla.net/xzilla/uploads/ossdb-snapshot-0.2.0.tar.gz">ossdb-snapshot</a>, is based on the <a href="http://www.xzilla.net/exit.php?url_id=440&amp;entry_id=344" title="http://jcole.us/software/mysql-snapshot/"  onmouseover="window.status='http://jcole.us/software/mysql-snapshot/';return true;" onmouseout="window.status='';return true;">mysql-snapshot</a> tool from <a href="http://www.xzilla.net/exit.php?url_id=441&amp;entry_id=344" title="http://jcole.us/blog/"  onmouseover="window.status='http://jcole.us/blog/';return true;" onmouseout="window.status='';return true;">Jeremy Cole</a>. The idea is to simplify management of lvm snapshots for purposes of creating postgresql snapshot style backups (I've left the mysql pieces in place in case anyone wants to make it a truely cross-db app), either for backup or pitr setup. Quick example after the jump.<br />
<br />
In this system, the lvm setup on the master looks something like this:<br />
<div style="border: 1px dashed black;  padding: 1em;  background: #ffffcc; overflow: auto;"><code style="white-space: pre;"><br />
[root@luigi ~]# lvdisplay<br />
  --- Logical volume ---<br />
  LV Name                /dev/pipedbvg2/pipedbdata<br />
  VG Name                pipedbvg1<br />
  LV Write Access        read/write<br />
  LV Status              available<br />
  LV Size                185.00 GB<br />
  Current LE             47360<br />
  Block device           253:0<br />
<br />
  --- Logical volume ---<br />
  LV Name                /dev/pipedbvg2xl/pipedbxlog<br />
  VG Name                pipedbvg1xl<br />
  LV Write Access        read/write<br />
  LV Status              available<br />
  LV Size                27.00 GB<br />
  Current LE             6912<br />
  Block device           253:1<br />
</div><br />
<br />
Basically we want to grab a copy of postgresql using the start/stop backup commands, mounting our lvm snapshot at /pipedb/pitr so we can copy it to another box. The commands look something like this:<br />
<br />
<div style="border: 1px dashed black;  padding: 1em;  background: #ffffcc; overflow: auto;"><code style="white-space: pre;">[root@luigi ~]# ./ossdb-snapshot --dbtype pgsql -u postgres -p password -c --origin-lv pipedbdata --origin-vg pipedbvg2 --snapshot-name pgpitr --snapshot-size 20GB --mountpoint /pipedb/pitr<br />
<br />
[root@luigi ~]# lvdisplay<br />
  --- Logical volume ---<br />
  LV Name                /dev/pipedbvg2/pipedbdata<br />
  VG Name                pipedbvg2<br />
  LV Write Access        read/write<br />
  LV snapshot status     source of<br />
                         /dev/pipedbvg2/pgpitr [active]<br />
  LV Status              available<br />
  LV Size                185.00 GB<br />
  Current LE             47360<br />
  Block device           253:0<br />
<br />
  --- Logical volume ---<br />
  LV Name                /dev/pipedbvg2/pgpitr<br />
  VG Name                pipedbvg2<br />
  LV Write Access        read/write<br />
  LV snapshot status     active destination for /dev/pipedbvg2/pipedbdata<br />
  LV Status              available<br />
  LV Size                185.00 GB<br />
  Current LE             47360<br />
  COW-table size         20.00 GB<br />
  COW-table LE           5120<br />
  Allocated to snapshot  0.00%<br />
  Snapshot chunk size    8.00 KB<br />
  Block device           253:2<br />
<br />
  --- Logical volume ---<br />
  LV Name                /dev/pipedbvg2xl/pipedbxlog<br />
  VG Name                pipedbvg2xl<br />
  LV Write Access        read/write<br />
  LV Status              available<br />
  LV Size                27.00 GB<br />
  Current LE             6912<br />
  Block device           253:1<br />
<br />
[root@luigi pitr]# rsync -a --progress --delete --exclude='postmaster.pid' --exclude='postgresql.conf' --perms /pipedb/pitr/ mario:/pipedb/data/<br />
<br />
[root@luigi ~]# ./ossdb-snapshot -d --origin-vg pipedbvg2 --snapshot-name pgpitr<br />
</div><br />
<br />
The above works fine in my setup for doing pitr setups, if you have a different setup or need, you might need to adjust things accordingly. <br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.xzilla.net/blog/2010/Apr/phpPgAdmin-4.2.3-Released.html" rel="alternate" title="phpPgAdmin 4.2.3 Released" />
        <author>
            <name>Robert Treat</name>
                    </author>
    
        <published>2010-04-13T15:05:43Z</published>
        <updated>2010-04-15T20:51:14Z</updated>
        <wfw:comment>http://www.xzilla.net/wfwcomment.php?cid=486</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.xzilla.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=486</wfw:commentRss>
    
            <category scheme="http://www.xzilla.net/cat/php" label="php" term="php" />
            <category scheme="http://www.xzilla.net/cat/postgres" label="postgres" term="postgres" />
    
        <id>http://www.xzilla.net/blog/2010/Apr/486.html</id>
        <title type="html">phpPgAdmin 4.2.3 Released</title>
        <content type="xhtml" xml:base="http://www.xzilla.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                phpPgAdmin 4.2.3 Released<br />
-----------------------<br />
4-13/2010<br />
<br />
The phpPgAdmin Team is happy to announce a new bugfix release for phpPgAdmin. Version 4.2.3 fixes several long standing bugs and fixes some PHP 5 compatability issues in the 4.2.x branch. All users of phpPgAdmin are encouraged to upgrade to this new version. <br />
<br />
<br />
Download<br />
--------<br />
To download right now, visit:<br />
<a href="http://www.xzilla.net/exit.php?url_id=435&amp;entry_id=486" title="http://phppgadmin.sourceforge.net/?page=download"  onmouseover="window.status='http://phppgadmin.sourceforge.net/?page=download';return true;" onmouseout="window.status='';return true;">http://phppgadmin.sourceforge.net/?page=download</a><br />
(RPMs available soon)<br />
<br />
<br />
Demo<br />
----<br />
To give the fully-functional demo a try, visit:<br />
<a href="http://www.xzilla.net/exit.php?url_id=437&amp;entry_id=486" title="http://phppgadmin.kattare.com/phppgadmin4/"  onmouseover="window.status='http://phppgadmin.kattare.com/phppgadmin4/';return true;" onmouseout="window.status='';return true;">http://phppgadmin.kattare.com/phppgadmin4/</a><br />
<br />
<br />
Deprecation Warning<br />
-------------------<br />
Note, this may likely be the last version of phpPgAdmin released on the 4.2.x  branch. We are currently planning to release phpPgAdmin 5.0 this summer, which will support PHP 5+ only, and Postgres 7.3+. Legacy users should continue to use 4.2.3. <br />
<br />
<br />
Regards,<br />
The phpPgAdmin Team<br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.xzilla.net/blog/2006/Apr/Is-lastval-evil.html" rel="alternate" title="Is lastval() evil?" />
        <author>
            <name>Robert Treat</name>
                    </author>
    
        <published>2006-04-01T05:41:00Z</published>
        <updated>2010-04-14T15:11:36Z</updated>
        <wfw:comment>http://www.xzilla.net/wfwcomment.php?cid=169</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.xzilla.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=169</wfw:commentRss>
    
            <category scheme="http://www.xzilla.net/cat/postgres" label="postgres" term="postgres" />
    
        <id>http://www.xzilla.net/blog/2006/Apr/169.html</id>
        <title type="html">Is lastval() evil?</title>
        <content type="xhtml" xml:base="http://www.xzilla.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Got bit by a bug in our application today. The code in question inserts into the site table, calls <a href="http://www.xzilla.net/exit.php?url_id=438&amp;entry_id=169" title="http://www.postgresql.org/docs/8.1/interactive/functions-sequence.html"  onmouseover="window.status='http://www.postgresql.org/docs/8.1/interactive/functions-sequence.html';return true;" onmouseout="window.status='';return true;">lastval()</a>, then takes that value and inserts into host, calls lastval() again, then inserts into application table. (We're building relationship trees).  The problem? We added a new trigger to the site table, to have it do an insert into another table to handle some advanced messaging.  Unfortunatly this table had a sequence on it...  <br />
<BR /><br />
What ended up happening was we were adding sites fine for a couple hours, but messaging was broken. By the time we tracked that down, we got messaging working (almost) but then site insertion started tossing errors. Fooy!  We chase a number of red herrings but finally realized that our lastval() calls were generating imroper sequence numbers! So we are now replacing all calls to lastval() with a curval() and the appropriate sequence name. <br />
<BR /><br />
Anyone else been bitten by that?  I actually told my app developers we could run into this problem in the future when we first decided to use lastval(), but we wanted to use some new 8.1 goodness and also thought this was a good way to hide the sequence machinations from our timid junior app developer, plus I didn't figure it  would happen so quick... we never even made it through one release cycle!  So, I am hereby declaring lastval() as evil, or at least a problem waiting to happen... beware the lastval()!!<br />
<BR /><br />
<img src="http://www.xzilla.net/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.xzilla.net/blog/2010/Apr/watch-for-momentary-monitoring.html" rel="alternate" title="watch for momentary monitoring" />
        <author>
            <name>Robert Treat</name>
                    </author>
    
        <published>2010-04-10T16:50:00Z</published>
        <updated>2010-04-13T12:29:55Z</updated>
        <wfw:comment>http://www.xzilla.net/wfwcomment.php?cid=482</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.xzilla.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=482</wfw:commentRss>
    
            <category scheme="http://www.xzilla.net/cat/mysql" label="mysql" term="mysql" />
            <category scheme="http://www.xzilla.net/cat/postgres" label="postgres" term="postgres" />
            <category scheme="http://www.xzilla.net/cat/sql" label="sql" term="sql" />
    
        <id>http://www.xzilla.net/blog/2010/Apr/482.html</id>
        <title type="html">watch for momentary monitoring</title>
        <content type="xhtml" xml:base="http://www.xzilla.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                One of the things <a href="http://www.xzilla.net/exit.php?url_id=431&amp;entry_id=482" title="http://www.pgcon.org/2010/schedule/events/257.en.html"  onmouseover="window.status='http://www.pgcon.org/2010/schedule/events/257.en.html';return true;" onmouseout="window.status='';return true;">I preach about</a> a lot is good monitoring of your database servers; having tools in place to tell you both what good looks like and when things go bad is critical for large scale success. But sometimes you just need to monitor a momentary process, where setting up a check in your normal monitoring software is overkill. In these cases one tool that can help out is the <a href="http://www.xzilla.net/exit.php?url_id=432&amp;entry_id=482" title="http://linuxmanpages.com/man1/watch.1.php"  onmouseover="window.status='http://linuxmanpages.com/man1/watch.1.php';return true;" onmouseout="window.status='';return true;">watch</a> command. <br />
<br />
Case in point, the other day I needed to back up a fairly large partitioned table (about 1.3TB on disk). The plan? A quick little script to pg_dump each of the partitions (about 325). Feed the script through <a href="http://www.xzilla.net/exit.php?url_id=433&amp;entry_id=482" title="http://www.xaprb.com/blog/2009/05/01/an-easy-way-to-run-many-tasks-in-parallel/"  onmouseover="window.status='http://www.xaprb.com/blog/2009/05/01/an-easy-way-to-run-many-tasks-in-parallel/';return true;" onmouseout="window.status='';return true;">xargs -P</a> so I don't swamp the box, but I get some concurrency out of things. And of course, I planned to run the whole thing in <a href="http://www.xzilla.net/exit.php?url_id=434&amp;entry_id=482" title="http://www.xaprb.com/blog/2008/08/01/how-to-leave-a-program-running-after-you-log-out/"  onmouseover="window.status='http://www.xaprb.com/blog/2008/08/01/how-to-leave-a-program-running-after-you-log-out/';return true;" onmouseout="window.status='';return true;">screen</a> session. But dumping this much data will take some time, so how to check on the progress?<br />
<br />
When working on databases, one of the most natural things to me is to whip up some SQL to see what going on inside my database. Then you pipe that through watch, and you have some quick and simple monitoring. This example happens to be on postgres, but you could do it with any database's command line program. <br />
 <br /><a href="http://www.xzilla.net/blog/2010/Apr/watch-for-momentary-monitoring.html#extended">Continue reading "watch for momentary monitoring"</a>
            </div>
        </content>
        
    </entry>

</feed>