<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Databases</title>
        <link>http://www.alexkuo.info/category/7.aspx</link>
        <description>Databases</description>
        <language>en-US</language>
        <copyright>Alex Kuo</copyright>
        <generator>Subtext Version 1.9.4.0</generator>
        <item>
            <title>PostgreSQL and its History</title>
            <link>http://alexkuo.info/archive/2007/05/16/8.aspx</link>
            <description>As I've played around with PostgreSQL, I've found it to be quite a capable database. I've begun to wonder how common PostgreSQL is used in production systems. After a little bit of research, apparently quite a few organizations use this database. &lt;br /&gt;
&lt;br /&gt;
PostgreSQL was originally developed at the University of California at Berkley by Profesor M. Stonebraker in 1986. Postgres, as the database was originally called, was later commercialized by the company Informix and renamed Illustra. Informix was later purchased by IBM for 1 billion dollars. In 1996, Postgres95 - the open source version of Postgres - was created. This was later renamed to PostgreSQL 6.0. &lt;br /&gt;
&lt;br /&gt;
After over a decade of development, I think its safe to say that this database is mature and commands a large install base due to corporate support by established companies (Sun, Fujitsu, Afilias, etc.) and the large development community behind it. I just find it weird that I don't see a whole lot of PostgreSQL fanboys running around telling everyone and their mothers about this software. This is how obscure OSS projects gets well known - kind of like how MySQL and Linux got popular.&lt;br /&gt;
&lt;br /&gt;
If you would like more information on the topic, &lt;a href="http://www.postgresql.org/about/history" target="_blank"&gt;please check the postgresql.org's history page&lt;/a&gt;. I've also put up an &lt;a href="http://alexkuo.info/archive/2007/05/16/7.aspx"&gt;article on PostgreSQL pertaining to domains&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;New Articles&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://alexkuo.info/archive/2007/05/16/7.aspx"&gt;PostgreSQL: What is a Domain?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://alexkuo.info/aggbug/8.aspx" width="1" height="1" /&gt;</description>
            <guid>http://alexkuo.info/archive/2007/05/16/8.aspx</guid>
            <pubDate>Wed, 16 May 2007 22:44:37 GMT</pubDate>
            <comments>http://alexkuo.info/archive/2007/05/16/8.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://alexkuo.info/comments/commentRss/8.aspx</wfw:commentRss>
            <trackback:ping>http://alexkuo.info/services/trackbacks/8.aspx</trackback:ping>
        </item>
        <item>
            <title>Database vs Database and the Linux PATH variable</title>
            <link>http://alexkuo.info/archive/2007/05/15/6.aspx</link>
            <description>Last night I was doing some research on PostgreSQL and got as far as configuring the server, getting a Schema up, and creating my first functions. In terms of capability between SQL Server 2005 and PostgreSQL, so far PostgreSQL seems to offer a comparable alternative, at least with the requirements for our system. A lot of features that were recently introduced into SQL Server 2005 such as custom data types, language support outside of T-SQL, and support for new SQL syntax has been around in Postgre for awhile, but that doesn't mean PostgreSQL is better. As usual, you have to look at your requirements for your system before deciding which database servers out there are a better match for your project.&lt;br /&gt;
&lt;br /&gt;
For our project, the two crucial requirements that counted out SQL Server 2005 were the ability to run on Linux and low licensing fees. The licensing costs of SQL Server 2005 does not scale well. Even with volume license deals, the licensing costs still encourage companies to scale up their hardware to save on licensing fees. Part of our strategy involves scaling out over cheap redundant boxes, its the exact same strategy that most successful tech startups have chosen because its more economical in the beginning of the system's or company's life.&lt;br /&gt;
&lt;br /&gt;
Last night while I was configuring Postgre on my local Ubuntu machine, I ran into a small problem regarding editing the 'system' PATH in the bash shell. The PATH variable in Bash is similar to the PATH entry in the Window's System Variables. This variable allows a user to execute files in any location located in the directories referenced by the PATH variable. Like the Windows counter part, there is a global file that contains PATH entries for all users and a local file for the current user. The global file is located at '/etc/environment'. You may have to login as 'su' in order to access the file. The local file is located at '~/.bashrc', which is actually in the user's home directory. &lt;br /&gt;
&lt;br /&gt;
To add an entry to the PATH variable for the local user, just add the following lines&lt;br /&gt;
&lt;br /&gt;
First - Type: gedit ~/.bashrc&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr" class="alt2"&gt;PATH=$PATH:/path_to_program_is/bin&lt;br /&gt;export PATH&lt;/pre&gt;
&lt;br /&gt;
To add an entry to the PATH variable for the environment, just add your entry with a colon and the new entry to the end of the PATH definition.&lt;br /&gt;
&lt;br /&gt;
First - Type:  sudo gedit  /etc/environment&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr" class="alt2"&gt;PATH="XXXXX:XXXXX/XXXX:XXXX:XXX/XXXX/XXXX:XXXXX:/path_to_program_is/bin"&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information, &lt;a href="http://ubuntuforums.org/showthread.php?t=269793" target="_blank"&gt;consult this thread in the ubuntuforums&lt;/a&gt;.&lt;img src="http://alexkuo.info/aggbug/6.aspx" width="1" height="1" /&gt;</description>
            <guid>http://alexkuo.info/archive/2007/05/15/6.aspx</guid>
            <pubDate>Tue, 15 May 2007 22:32:50 GMT</pubDate>
            <comments>http://alexkuo.info/archive/2007/05/15/6.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://alexkuo.info/comments/commentRss/6.aspx</wfw:commentRss>
            <trackback:ping>http://alexkuo.info/services/trackbacks/6.aspx</trackback:ping>
        </item>
    </channel>
</rss>
