Joinutility seperatorLogin utility separator Infobright.com
   
 
Is possible to add archive engine to INFOBRIGHT?
Posted: 08 February 2010 01:50 PM   Ignore ]  
Newbie
Rank
Total Posts:  16
Joined  2009-11-09

Hello.
I’m doing some tests to brighthouse engine and I was wondering if there is any chance to install archive engine in one Infobright server.
Our application is actually using Archive engine, but as data is going to grow up to 30TB, brighthouse compression is a very nice candidate to migrate to.
As we need some DML over some tables, I would like to know if it is possible to install Archive engine into infobright server, as combination of both will be a perfect solution for my needs.

Thanks in advance!

Profile
 
Posted: 08 February 2010 02:21 PM   Ignore ]   [ # 1 ]  
Sr. Member
Avatar
RankRankRankRank
Total Posts:  738
Joined  2008-08-18

Nadir,

The archive engine is not a supported storage engine in Infobright and cannot be added.  Although one can issue DDL referencing the archive engine type and it will execute without an error, it will create the table and issue warnings.  Review the following session information:

mysql> use test
Database changed

mysql
create table archie(col1 integercol2 char(1)) engine=archive;
Query OK0 rows affected2 warnings (0.09 sec)

mysqlshow warnings;
+---------+------+-----------------------------------------------------+
Level   Code Message                                             |
+---------+------+-----------------------------------------------------+
Warning 1286 Unknown table engine 'archive'                      |
Warning 1266 Using storage engine BRIGHTHOUSE for table 'archie' |
+---------+------+-----------------------------------------------------+
2 rows in set (0.00 sec)

mysqlshow table status;
+----------------+-------------+---------+------------+------+----------------+-------------+------------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+----------------------------------+
Name           Engine      Version Row_format Rows Avg_row_length Data_length Max_data_length  Index_length Data_free Auto_increment Create_time         Update_time         Check_time Collation         Checksum Create_options Comment                          |
+----------------+-------------+---------+------------+------+----------------+-------------+------------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+----------------------------------+
archie         BRIGHTHOUSE |      10 Compressed |    |              |           |                |            |         |           NULL 2010-02-08 12:18:48 2010-02-08 12:18:48 NULL       latin1_swedish_ci |     NULL |                | Overall compression ratio0.000 |
+----------------+-------------+---------+------------+------+----------------+-------------+------------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+----------------------------------+
1 row in set (0.00 sec
[ Edited: 08 February 2010 02:24 PM by David Lutz]
Signature 
Profile
 
Posted: 08 February 2010 03:41 PM   Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  16
Joined  2009-11-09

Thanx for the quick answer.

Profile
 
Posted: 10 February 2010 06:29 AM   Ignore ]   [ # 3 ]  
Newbie
Rank
Total Posts:  15
Joined  2009-06-19

As Lutz says the archive engine is not supported by Infobright.
But if you build Infobright from source it can be included, as it is bundled with the MySQL engine. To include the Archive engine you have to edit the Makefiles, but it can be done.
I’m not saying it is a good idea to include, as optimized settings for the Archive engine, may or may not conflict with optimized settings for Infobright, and again it is not official supported.
If you want to do it anyway, you can contact me and I’ll help you. I haven’t tried it with the Archive engine, but I’ve done it with the Blackhole engine once.

Signature 
Profile