Slashdot Mirror


Sun Announces Support for PostgreSQL

jadavis writes "Sun announces 24x7 support for PostgreSQL on Solaris 10. From the article: 'Today Sun announced that it will be integrating the Postgres open source data base into the Solaris 10 OS and providing world-wide 24x7 support for customers who wish to develop and deploy open source database solutions into their enterprise environments. Sun is working with the PostgresSQL community to take advantage of the advanced technologies in the Solaris 10 OS, such as Predictive Self-Healing, Solaris Containers and Solaris Dynamic Tracing (DTrace).'"

17 of 283 comments (clear)

  1. Progressive... by Anonymous Coward · · Score: 5, Funny

    First Apache, now Postgres?... What's next, will solaris understand cursor keys? Ship with BASH? What's the world comming to?

    1. Re:Progressive... by pedestrian+crossing · · Score: 4, Insightful

      What's next, will solaris understand cursor keys? Ship with BASH? What's the world comming to?

      Solaris has shipped with bash for quite a while now...

      --
      A house divided against itself cannot stand.
    2. Re:Progressive... by $RANDOMLUSER · · Score: 5, Interesting

      Actually, their premium 24x7 support is $360 per socket (not core). That's pretty goddam great for a big-boy operating system AND (now) database support.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    3. Re:Progressive... by WindBourne · · Score: 4, Insightful
      Sun's PHBs move in mysterious ways.

      Actually, they don't. What is going on, is a inside fight.

      There is a group there that fears MS (rightly so). They think that dealing with MS is dealing with the devil. They really want to crush them at all costs. This group pushes Sun towards the OSS path. The group is also responsible for the approach with OpenOffice as well as Java. Problem is, that MS won the desktop sometime ago, and is entrenched. Taking it back is a very difficult thing to do. As to server space, They do not see MS is taking from them (probably right). That group is helping linux.

      The other group sees Linux taking from them (rightly so). Linux has been eating up server space. They are taking away from Solaris. This group did open solaris as a way of winning very lucrative support contracts and hopefully to sell hardware. One of the keys here is to try and make Solaris more like Linux. So they are trying to adopt a number of OSS and claim that they deserve the OSS worlds support. What is interesting is that they are starting to support BSD (I am not sure if they are looking to take it over or as support against Linux; more like a long-term trojan horse).

      So what does it mean? That Sun is like any other large firm. There are multiple fractions playing games in house and McNeally lets it go.

      --
      I prefer the "u" in honour as it seems to be missing these days.
  2. More links by ChrisRijk · · Score: 5, Informative
    A kinda generic news page about the Postgres announcement:
    http://www.sun.com/software/solaris/news/111705.js p

    More about Postgres specifically:
    http://www.sun.com/software/solaris/postgres.jsp

    • Sun is working with the PostgreSQL community.
    • Postgres for Solaris will be included with every copy of Solaris 10, with full support available from Sun
    • Support for Solaris 10 and Postgres will be less expensive than support for Postgres and standard commercial Linux offerings.
    • Many of many customers enterprise database needs can now be served with free and open source databases.
    • The open source database is only one component of Sun's open source strategy that aims to provide customers with breakthrough new technologies based on open standards.
    • Sun will provide feature-specific optimizations, such as DTrace providers, service manifests and Solaris Containers capabilities, enabling Postgres for Solaris to take advantage of key Solaris 10 technologies.
    • Enhancements in Postgres for Solaris will be contributed to the PostgreSQL open source community.
  3. It can see into the future by gringer · · Score: 4, Interesting

    ...the advanced technologies in the Solaris 10 OS, such as Predictive Self-Healing...

    Yes, this is a technology that is able to predict when breaks will happen, and carry out the repairs before the problems ever surface.

    --
    Ask me about repetitive DNA
  4. Much bigger than just Postgres by axonis · · Score: 5, Interesting

    This announcement is much bigger than just Postgres Integration, it also includes Xen virtualisation and Red package application support. This will surely make Solaris more attractive than RedHat now on x86-64

    --
    bæ8Ã0sÃOE?5r©oÂÃ?âz:ÃÃAÃ?ÃOEÂ6fXÃ?]Â
  5. Sun Blog about improving performance by IYagami · · Score: 5, Informative

    There is a blog from a Sun Engineer about databases, etc.. He talks about PostgreSQL, how to improve its performance, etc... You can find it here

  6. What did you do in the database wars? by Flying+pig · · Score: 4, Interesting
    Microsoft (SQL Express) and Oracle have now produced free-ish low end versions of their databases to try and kill MySQL. Which gives a cheap Windows platform with a reasonable database for no incremental cost (MySQL is an incremental cost to deploy on Windows, and getting progressively more expensive.). Sun retaliates with PostgreSQL. There is clearly a big battle shaping up at the low end, and hopefully the winner will be the end user. The loser? Well, currently it looks like it might be MySQL. When we've finished digesting all the recent announcements, I suspect we may well be porting our application from MySQL to either Oracle or PostgreSQL on Solaris, for sound commercial and support reasons.

    How will MySQL respond? I'd be sad to lose our investment over the last five years, but commercially the words "Oracle" or "Sun" just radiate comfort factor to less well informed customers.

    --
    Pining for the fjords
  7. Re:An honest question. by LizardKing · · Score: 5, Interesting

    Who uses Solaris 10?

    I assume you mean "uses it instead of Linux", what with this being Slashdot. How about people who've benchmarked it against Linux and found Solaris to scale better and more smoothly? Some of us like having beefy Sparc or Opteron SMP machines that perform predictably with Solaris, rather than the erratic behaviour we've seen with Linux on SMP Intel hardware. The 2.6.x Linux kernel has also been a serious disappointment in terms of reliability, a definite step back from 2.4.x.

  8. Re:Goodbye to Oracle ? by tweek · · Score: 5, Informative

    I don't think opensource databases are becoming any more of a threat than they were in the past. They really do cater to a different market. This is WHY you see SQL Express and the new Oracle license.

    Here's the deal. The company where I'm the SysAdmin has 3 databases we support - DB2 (Linux and AIX), SQL Server (financial product decision made outside of our department without our consultation) and PostgreSQL.

    DB2 runs our core database for our enterprise application. All databases were investigated at the onset of this project and DB2 came out on top. SQL Server is in house for a shitty financial package (Navision) and another legacy system. PostgreSQL is our data warehouse.

    Because of some issues surrounding our DBA team and the fact that SysAdmins often have to cameo as DBAs in a quick pinch, I've come to learn quite a bit about DB2. It has its warts and bugs but it's 100 times more robust than PostgreSQL and 1000 times more robust than MySQL (which we use for a few self-managed databases here and there - intranet stuff/nagios).

    We're currently migrating our data warehouse to a new hardware set and at the same time upgrading from 8.0.3 to 8.1 of PostgreSQL. This requires a restore of the database to migrate. This 80GB datawarehouse took the better part of a day to restore on a box that was 10 times faster than the original. Reading from different volumes on different controllers on our SAN on an x445 with 8 CPUs and 16GB of memory took 8 hours to restore!

    This box used to run DB2 on Linux (we just migrated to AIX and a new SAN) and could restore a 100GB production database in 45 minutes.

    The box wasn't being used. I/O wait was at 1% the entire time. Each of the 8 CPUs was 90% idle the entire time. Of course memory was maxed out because PostgreSQL uses the OS to cache for it but we weren't using any swap. This was using the native PostgreSQL compressed backup format.

    Oddly enough for PostgreSQL, I had less insight into what the database was doing during that time than I would have with DB2.

    In DB2 I can make memory changes on the fly - db cfg, dbm cfg and speed this process up. I can use db2mtrk to see what my memory is doing. I have things like bufferpools to allocate memory where it's really needed.

    With postgresql, I can change a text file (which I love) but have to restart postgres for a lot of them to take effect. Some db2 changes require an instance restart as well but not many anymore.

    Some of the problem lay with me and I'll admit that but some also lay with PostgreSQL.

    The whole point is that DB2 and Oracle don't normally go after the same market as MySQL and PostgreSQL. Are there companies using those databases in place of DB2 or Oracle? Sure. And I'm sure they're very happy and have a nice humming system. Our warehouse runs wonderfully on PostgreSQL and there are no complaints but more often than not, the markets simply don't intersect.

    --
    "Fighting the underpants gnomes since 1998!" "Bruce Schneier knows the state of schroedinger's cat"
  9. swing by porkThreeWays · · Score: 5, Informative

    - DROP the java front ends for everything. We get gray waiting for loadtimes.

    Sometimes I think Sun really didn't think out the Java GUI experience very well before implementing it. The reason you get those blank screens during load times is how swing threads. It uses the same thread for event handling as for screen redrawing. From a programming stand point, I'm sure it makes it much simplier to use their API's for simple GUI's. However, when you've got tools written for system administration that will almost definatly take some time to process an event, it makes for a bad end user experience. Java is a great language. However, their poor implementation of the GUI API's makes the end user experience bad. And ultimately people who use java programs think the whole language sucks because of a bad user experience with the GUI.

    --
    If an officer ever threatens to taze you, say you have a pacemaker.
  10. Re:Sun opening up? by Kunta+Kinte · · Score: 5, Insightful
    Interesting. Could this be an indication of things to come?

    Opening up? Things to come?

    Sun has been one of the biggest commercial open source supporters for years now. Probably only surpassed by IBM and the Linux companies ( RedHat and Suse, Linux is their core business after all ).

    Millions to buy StarOffice, millions to setup and run OO.org and OpenDocument development, marketing, promoting OpenDocument. Releasing packages like GridEngine, etc. http://www.sunsource.net/. Years of shipping and support opensource applications to companies that would never have used it otherwise.

    Back when I was a network admin, we got a whole lot of GNU software in the system by first showing superiors that Sun endorsed those packages and actually provided solaris binaries.

    Sun's main issue is PR, I suspect. When IBM does something good, it makes sure everyone knows. But that doesn't seem to be McNealy's style...

    --
    Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
  11. Sun seems to finally be getting it. by dghcasp · · Score: 4, Interesting
    On a somewhat related topic, I received an email recently saying that Sun's developer package is now free, instead of $3000.

    Finally. Sun hasn't shipped a C compiler with its OS since SunOS 4.1.3 (circa 1990).

    1. Re:Sun seems to finally be getting it. by nodrogluap · · Score: 4, Interesting

      Which is great, because in my experience gcc has a bad backend on Solaris. When I compile with cc instead of gcc, I often see a 30-50% reduction in process execution turnaround time, while using less CPU too!

      Anyone who compares two apps on sparc-solaris and x86-linux should really keep this in mind...

  12. Re:sun will need to make BIG changes by Anonymous Coward · · Score: 5, Insightful

    - ditch the forte crap and vendor lockin scheme

    Done. Sun released Studio 11 (http://www.sun.com/software/products/studio/index .xml) on Tuesday. It's completely free to use unless you want support. They also ship lots of GNU tools included in Solaris (under /usr/sfw) in case you would rather use them.

    - ultrasparc performance is terrible. Address it.

    Done. The UltraSPARC-IV+ chip (http://www.sun.com/processors/UltraSPARC-IVplus/) is up to five times faster than UltraSPARC-III and up to twice as fast as the initial UltraSPARC-IV. And the UltraSPARC T1 chip (code-name Niagara http://www.sun.com/processors/UltraSPARC-T1/index. xml) delivers incredible throughput (in my testing, often faster than a V40z with four Opteron 850 CPUs) while consuming much less power and generating much less heat than any other chip delivering anything close to the same performance and throughput.

    - get the X11 libraries and headers fixed - completely

    Done. Solaris 10 (at least on X86) uses the Xorg implementation. The previous Xsun implementation is also available if you need it, though.

    - Get ldap working without so many support applications

    I can't say that I understand this one. Sun's Directory Server is the best performing and most scalable server available. It's very in-line with the standards so any LDAPv3-compliant application should work with it just fine. It is the preferred directory for use with most commercial LDAP-enabled applications.

    - make your platform work better with OSS software (eg: gcc)

    What else needs to be done in this area? Solaris 10 ships with a lot of OSS software, including GCC, and Sun makes a lot of additional OSS software available on the Companion CD (http://www.sun.com/software/solaris/freeware/). If that's not enough, you can use the SunFreeware (http://www.sunfreeware.com/) or Blastwave (http://www.blastwave.org/) collections to get what you need.

  13. PostgreSQL is a NICE package... by alexhmit01 · · Score: 4, Interesting

    We moved from MySQL to PostgreSQL a few years ago, and couldn't be happier. The secret is to do it intelligently...

    First, just do a straight port, get PostgreSQL running your MySQL data.

    Buy a beefier server, because at this stage, PostgreSQL WILL be slower. For raw reading of simple databases (the old joke that MySQL isn't a real database isn't AS true anymore, but is in the ideas), MySQL is faster. PostgreSQL shines as you build more complicated system.

    Second, use explain and start optimizing your system. MySQL develop tends to do series of queries, because the MySQL protocol is nearly "free." Doing 5 queries and doing the joins in the software in MySQL tends to be fast, but is REALLY slow in PostgreSQL. So start building more complicated queries using joins server side. At this stage, PostgreSQL catches up (or nearly so) with MySQL.

    Third, learn PL/pgSQL. This lets you do a LOT of optimizations with triggers and functions. For example, if you need to look things up in 3 tables to get the Primary Keys, then query a third table, in MySQL you do 3 SELECTS, store the values in variables, then the final SELECT to get the data. In PostgreSQL that would be painfully slow (the connection costs kill you), so you do a massive join, which is okay if you have enough RAM and configure PostgreSQL to use it, but it sucks up memory. Then you build the PL/pgSQL function. This lets you do it the "old way" grabbing the data, keeping it in variables INSIDE the database, then doing the query. This is REALLY REALLY REALLY fast in PostgreSQL, keeps the RAM usage reasonable, etc. Sure you can throw 4-8 GBs at RAM cheaply, but when you start doing a bunch of really big JOINs and SORTs, you can't always get PostgreSQL to use it smartly.

    Fourth, at triggers whereever possible. If you ever run a COUNT or other aggregate, re-think. For example, in a forum (trivial case, but fun), you may want to display the number of threads in a topic. Well, running a SELECT COUNT(*) on the threads JOIN topics will BE BALLS slow on PostgreSQL... HOWEVER, you instead do a trigger that keeps a count in the TOPIC called threads. You would do this in MySQL by having a second INSERT when you do a thread, but in PostgreSQL, you let the database handle it. ON INSERT to THREADS, find the topic and thread_count := thread_count + 1; ON DELETE to THREADS, find the topic and thread_count := thread_count - 1; It's trivial when you get the hang of it, but then your system is lightning fast.

    Also, optimize your INSERTs. In areas where you currently check IF "is this already here" THEN UPDATE ELSE INSERT, you do that in stored Functions. function insert_or_update (values) that does an UPDATE and if it fails, INSERT, or otherwise does the logic server side.

    Once you learn to do real database programming, even at the rudimentary level I described, PostgreSQL SCREAMS. If you are building web sites/web applications, they SCREAM. However, if you treat PostgreSQL the way most treat MySQL, as a data dump, you'll be miserable at the performance.

    Final neat idea that we never implemented... but will one day. We were planning to use PL/php (there is a PL/perl) for a performance hack. For each major script that does a bunch of queries, even with optimizations, there is a final hack you COULD THEORETICALLY do... this is a hack, admittedly. Basically, instead of doing queries, define an associated array with all the data you want. In development, do a bunch of queries and put the data into the array, then process it. For optimization, move those queries to the server. Then you build the array in PL/php, serialize it, and return it as text. Now you call the PL/php function (SELECT get_FooPage_Info(page_identifier) that returns a text value, the serialized array. Now you have one database connection, it does ALL the work INSIDE the database process, and in PHP land, you just work off the array).

    PostgreSQL is EXTREMELY powerful for areas where most people use