Re: MySQL Blackhole Engine - Mailing list pgsql-admin

From Sergey Konoplev
Subject Re: MySQL Blackhole Engine
Date
Msg-id CAL_0b1sFK7zMKSK_9mhA4=0_LkFb1AJo4EzPkNFpjnyfit6F0A@mail.gmail.com
Whole thread Raw
In response to MySQL Blackhole Engine  (Deron <fecastle@gmail.com>)
List pgsql-admin
On Tue, Nov 6, 2012 at 3:07 PM, Deron <fecastle@gmail.com> wrote:
> We are looking at integrating a 3rd party application.  They currently use
> MySQL for their database solution.  We are asking them to see about porting
> to PostgreSQL.   One of the issues they are running into is that they use
> MySQL "BLACKHOLE" storage engine.
>
> I don't honestly know what this is used for.   Of course I did know what
> /dev/null was used for until I started using it.   So maybe this has some
> merit?  Is there some sort of equivelent structure in PG?

You can create a row-level BEFORE INSERT trigger on a table that does
nothing but RETURN NULL. In this case all the inserts into this table
will be ignored.

>
> http://dev.mysql.com/doc/refman/5.0/en/blackhole-storage-engine.html
>
> Thanks,
>
> Deron



--
Sergey Konoplev

a database and software architect
http://www.linkedin.com/in/grayhemp

Jabber: gray.ru@gmail.com Skype: gray-hemp Phone: +14158679984


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: MySQL Blackhole Engine
Next
From: Simon Riggs
Date:
Subject: Re: MySQL Blackhole Engine