<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Merge Storage Engine</title>
        <description>Forum for the Merge Storage Engine.</description>
        <link>https://forums.mysql.com/list.php?93</link>
        <lastBuildDate>Fri, 10 Apr 2026 12:35:55 +0000</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forums.mysql.com/read.php?93,583456,583456#msg-583456</guid>
            <title>New merge table issue with underlying table (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,583456,583456#msg-583456</link>
            <description><![CDATA[ I have inherited a database running on 5.0.96 with some merge tables that are showing errors when trying to upgrade to 5.1.67<br />
<br />
Even when trying to drop the existing merge table and recreate it, I still get the same errors with the underlying tables, which appear to be fine...<br />
<br />
mysql&gt; repair table foo_20070101;<br />
+------------------------+--------+----------+----------+<br />
| Table                  | Op     | Msg_type | Msg_text |<br />
+------------------------+--------+----------+----------+<br />
| s123.r2_click_20070101 | repair | status   | OK       | <br />
+------------------------+--------+----------+----------+<br />
1 row in set (40.35 sec)<br />
<br />
Hence, this table is healthy.<br />
<br />
<br />
CREATE TABLE foo_20070131 LIKE foo_20070101;<br />
<br />
ALTER TABLE foo_20070131 DROP PRIMARY KEY, ADD KEY (click_id);<br />
<br />
ALTER TABLE foo_20070131 ENGINE=MERGE;<br />
<br />
ALTER TABLE foo_20070131 UNION=(foo_20070101);<br />
<br />
ERROR 1168 (HY000): Unable to open underlying table which is differently defined or of non-MyISAM type or doesn&#039;t exist.<br />
<br />
Is there anything more I can do to investigate the issue, or to try and &quot;fix&quot; the apparently-fine underlying table?<br />
<br />
Thanks,<br />
Rob]]></description>
            <dc:creator>Rob Brown</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Tue, 09 Apr 2013 11:16:50 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,505400,505400#msg-505400</guid>
            <title>Identifying underlying table in merge-table (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,505400,505400#msg-505400</link>
            <description><![CDATA[ Is it possible to add an extra column to the merge table that has a certain value depending on the underlying table this row belongs to? I could add this extra column to every underlying table and initialitze it for every table, but that would be a waste of disk space.]]></description>
            <dc:creator>Markus Tervooren</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Sun, 11 Dec 2011 16:14:29 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,435105,435105#msg-435105</guid>
            <title>Retreivcing data that was not not saved into table due to varchar limit (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,435105,435105#msg-435105</link>
            <description><![CDATA[ Hi,<br />
<br />
Can any one please help me on this ?<br />
<br />
I developed a website for my client where users were entering into the competition. While filling one form, user were suppose to enter description in text area. The field against that text area in Database table is varchar (512), but the users entered description longer than varchar 512, so we lost some par of their description. <br />
We really need to see what was the description entered by the user.<br />
Well i am thinking of any log file that will have log of  all queries that were requested, i may able to see what user actually entered and was queried to mysql.<br />
<br />
Can any please tell me if there is any other way of retrieving the description or  if there is only log file that can help me, where to get that log file ?<br />
<br />
Any help will be highly appreciated.<br />
<br />
Thanks<br />
Anjum Dhamial]]></description>
            <dc:creator>Anjum Dhamial</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Wed, 21 Sep 2011 15:44:42 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,415274,415274#msg-415274</guid>
            <title>Merge vs. UNION ALL (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,415274,415274#msg-415274</link>
            <description><![CDATA[ Suppose that instead of using the MERGE engine I instead modified my code to UNION ALL the shards.<br />
<br />
Would I get worse performance? In other words, besides the convenience, does the MERGE engine have specific performance optimizations that make it perform better?<br />
<br />
This is of interest for several reasons. First, my code could determine in some cases that only a few (or a single) shards were needed. Second, I could apply the shard technique to InnoDB tables. Third, I could apply the shard technique to databases that were not identical.]]></description>
            <dc:creator>James McKelvey</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Tue, 05 Apr 2011 16:33:12 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,415264,415264#msg-415264</guid>
            <title>Index Caching (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,415264,415264#msg-415264</link>
            <description><![CDATA[ We are currently evaluating the merge engine. Right now we create and preload several index caches.<br />
<br />
But what is the best way to approach this with a merged table? Do I create a single index cache and assign all of the shards to it?<br />
<br />
Or do I create a separate index cache for each shard?]]></description>
            <dc:creator>James McKelvey</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Tue, 05 Apr 2011 14:33:10 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,404684,404684#msg-404684</guid>
            <title>Cardinality is NULL on Merge Table&#039;s indexes (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,404684,404684#msg-404684</link>
            <description><![CDATA[ I have one merge table comprised of two child tables. The index cardinality on the child tables is correct but the cardinality for most of the indexes on the merge table report NULL.<br />
<br />
I have run analyze table on the child tables (can&#039;t run analyze on the merge table, &quot;The storage engine for the table doesn&#039;t support analyze&quot;) and dropped/recreated all the indexes on the merge and child tables, but the cardinality on the merge table stubbornly remains NULL.<br />
<br />
MySQL version 5.1.48.<br />
<br />
These are my tables:<br />
(I can&#039;t find a quick and easy way to format the data below so that it&#039;s easy to read, so here it is in an HTML table)<br />
<a href="http://mattleech.com/bkwk.html"  rel="nofollow">http://mattleech.com/bkwk.html</a><br />
<br />
Merge table<br />
<br />
Table		Non_unique		Key_name		Seq_in_index		Column_name		Collation		Cardinality		Index_type	<br />
Merge_Table		0		idx_Delivery_Item_Plnt		1		Delivery		A		NULL		BTREE	<br />
Merge_Table		0		idx_Delivery_Item_Plnt		2		Item		A		NULL		BTREE	<br />
Merge_Table		0		idx_Delivery_Item_Plnt		3		Plnt		A		NULL		BTREE	<br />
Merge_Table		1		idx_SalesDoc		1		SalesDoc		A		21367368		BTREE	<br />
Merge_Table		1		idx_Createdon		1		Createdon		A		5486		BTREE	<br />
Merge_Table		1		idx_Route_Createdon_DlvTy		1		Route		A		947		BTREE	<br />
Merge_Table		1		idx_Route_Createdon_DlvTy		2		Createdon		A		161874		BTREE	<br />
Merge_Table		1		idx_Route_Createdon_DlvTy		3		DlvTy		A		NULL		BTREE	<br />
Merge_Table		1		idx_Soldtopt_Createdon_ShipToPt		1		Soldtopt		A		NULL		BTREE	<br />
Merge_Table		1		idx_Soldtopt_Createdon_ShipToPt		2		Createdon		A		NULL		BTREE	<br />
Merge_Table		1		idx_Soldtopt_Createdon_ShipToPt		3		ShipToPt		A		NULL		BTREE	<br />
Merge_Table		1		idx_Material		1		Material		A		NULL		BTREE	<br />
<br />
<br />
Child table 1<br />
<br />
Table		Non_unique		Key_name		Seq_in_index		Column_name		Collation		Cardinality		Index_type	<br />
Child_Table_1		0		idx_Delivery_Item_Plnt		1		Delivery		A		9432348		BTREE	<br />
Child_Table_1		0		idx_Delivery_Item_Plnt		2		Item		A		9432348		BTREE	<br />
Child_Table_1		0		idx_Delivery_Item_Plnt		3		Plnt		A		9432348		BTREE	<br />
Child_Table_1		1		idx_SalesDoc		1		SalesDoc		A		4716174		BTREE	<br />
Child_Table_1		1		idx_Createdon		1		Createdon		A		53899		BTREE	<br />
Child_Table_1		1		idx_Route_Createdon_DlvTy		1		Route		A		53899		BTREE	<br />
Child_Table_1		1		idx_Route_Createdon_DlvTy		2		Createdon		A		65960		BTREE	<br />
Child_Table_1		1		idx_Route_Createdon_DlvTy		3		DlvTy		A		66896		BTREE	<br />
Child_Table_1		1		idx_Soldtopt_Createdon_ShipToPt		1		Soldtopt		A		6642		BTREE	<br />
Child_Table_1		1		idx_Soldtopt_Createdon_ShipToPt		2		Createdon		A		314411		BTREE	<br />
Child_Table_1		1		idx_Soldtopt_Createdon_ShipToPt		3		ShipToPt		A		377293		BTREE	<br />
Child_Table_1		1		idx_Material		1		Material		A		68350		BTREE	<br />
<br />
<br />
Child table 2<br />
<br />
Table		Non_unique		Key_name		Seq_in_index		Column_name		Collation		Cardinality		Index_type	<br />
Child_Table_2		0		idx_Delivery_Item_Plnt		1		Delivery		A		NULL		BTREE	<br />
Child_Table_2		0		idx_Delivery_Item_Plnt		2		Item		A		NULL		BTREE	<br />
Child_Table_2		0		idx_Delivery_Item_Plnt		3		Plnt		A		NULL		BTREE	<br />
Child_Table_2		1		idx_SalesDoc		1		SalesDoc		A		16651194		BTREE	<br />
Child_Table_2		1		idx_Createdon		1		Createdon		A		2161		BTREE	<br />
Child_Table_2		1		idx_Route_Createdon_DlvTy		1		Route		A		370		BTREE	<br />
Child_Table_2		1		idx_Route_Createdon_DlvTy		2		Createdon		A		86275		BTREE	<br />
Child_Table_2		1		idx_Route_Createdon_DlvTy		3		DlvTy		A		92250		BTREE	<br />
Child_Table_2		1		idx_Soldtopt_Createdon_ShipToPt		1		Soldtopt		A		15980		BTREE	<br />
Child_Table_2		1		idx_Soldtopt_Createdon_ShipToPt		2		Createdon		A		1585828		BTREE	<br />
Child_Table_2		1		idx_Soldtopt_Createdon_ShipToPt		3		ShipToPt		A		1850132		BTREE	<br />
Child_Table_2		1		idx_Material		1		Material		A		42101		BTREE]]></description>
            <dc:creator>Matt Leech</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Wed, 26 Jan 2011 10:45:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,403784,403784#msg-403784</guid>
            <title>Design Advice for archiving (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,403784,403784#msg-403784</link>
            <description><![CDATA[ Hi guys, can you please advise with some design advice with the following situation:  We have a 1 - 6 million record table where only 5000 records are actively updates.  The rest of the records are read only.<br />
<br />
We&#039;re thinking of archiving these records to another table and using merge tables.  ie to take advantage of faster optimizes on the active table, and possible target indexes.<br />
<br />
I&#039;m also concerned about performing the archive. ie 1. insert/select from active table to archive table and then delete the copied records from the active table.  I&#039;ve done some profiling and the delete is a bottleneck when the volume is high.  I&#039;ve extended my design (which I explain below) to manage active 2 tables which I flip so I can truncate an entire table when archiving.<br />
<br />
Is the following a good solution for archiving records and should I be using merge tables?<br />
<br />
Tables:<br />
- active1<br />
- active2<br />
- archive<br />
- mergetable (merge table union=(archive, active1, active2), insert_method=last<br />
<br />
Archive Process (assuming target table is active2):<br />
1. lock tables<br />
2. Copy records to archive from active1 to archive<br />
3. flush tables<br />
4. Truncate table active1<br />
5. flush tables <br />
6. set union=(archive, active2, active1).  ie flip active1 and active2 so active1 is now the active table<br />
<br />
When the archive process is run the next time, the logic is flipped to consider active 1 as the target table.  ie data is copied from active2 and active2 is truncated.<br />
<br />
Am I on the right track with this guys?]]></description>
            <dc:creator>F Simons</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Thu, 20 Jan 2011 03:52:50 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,377728,377728#msg-377728</guid>
            <title>Using MySQL Partitioning Instead of MERGE Tables (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,377728,377728#msg-377728</link>
            <description><![CDATA[ Using MySQL Partitioning Instead of MERGE Tables<br />
<a href="http://www.pythian.com/news/14971/using-mysql-partitioning-instead-of-merge-tables/"  rel="nofollow">http://www.pythian.com/news/14971/using-mysql-partitioning-instead-of-merge-tables/</a><br />
<br />
The partition helper - Improving usability with MySQL 5.1 partitioning<br />
<a href="http://datacharmer.blogspot.com/2008/12/partition-helper-improving-usability.html"  rel="nofollow">http://datacharmer.blogspot.com/2008/12/partition-helper-improving-usability.html</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Sat, 24 Jul 2010 21:33:23 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,362652,362652#msg-362652</guid>
            <title>Low cost price table (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,362652,362652#msg-362652</link>
            <description><![CDATA[ <u> I try to add one Index on a merge table<br />
 </u>]]></description>
            <dc:creator>St Artchibald</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Sat, 10 Apr 2010 16:06:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,296152,296152#msg-296152</guid>
            <title>Adding index on a merged table &quot;breaks&quot; merge functionality (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,296152,296152#msg-296152</link>
            <description><![CDATA[ Hi<br />
<br />
I created two base myIsam tables with two columns and no indexes and a merge table for these two as :<br />
<br />
create table test_merge...<br />
...<br />
ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1 INSERT_METHOD=FIRST <br />
UNION=(`test1`,`test2`) <br />
<br />
All works fine until I added an index on test1.<br />
Once I did that all inserts into the merge table were not added to test1, but were added to the test_merge table only - like it is a regular table and not a merge table.<br />
<br />
However - if I dropped the merge table and recreated it, then all subsequent inserts were inserted correctly to the base table ( even though the index  was still there on test1 ).<br />
<br />
Is this an expected behavior ?<br />
mysql version is 5.0.27]]></description>
            <dc:creator>Orna Weisman</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Thu, 17 Dec 2009 20:04:45 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,293200,293200#msg-293200</guid>
            <title>Recommended backup for MyISAM (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,293200,293200#msg-293200</link>
            <description><![CDATA[ Hi All, <br />
<br />
I was looking around the forum to find out which backup method MySQL Community recommends for the MyISAM DB. <br />
<br />
We have two DBs (A and B), where one (A) is design to have heavy inserts where each insert fires a trigger to populate data across to some tables in other DB. <br />
The second DB (B) has a heavy usage for CRUD operations. <br />
<br />
Requirements: <br />
1. Do not lock neither of these two DBs.<br />
2. Minimise the impact of lossing data. <br />
3. Perform backup every night. <br />
4. Truncate the CRUD related DB (B) say every 7 or 31 days. <br />
<br />
My thoughts are really to have a two instances of MySQL server on same machine. Do a replication from Master to Slave, when doing backup put down slave, do backup, restore Slave. However, I am not sure about truncating the slave and master DBs. <br />
<br />
I would appreciated any responses recommendations. <br />
<br />
Thanks, <br />
Krzysztof]]></description>
            <dc:creator>Krzysztof Retel</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Fri, 27 Nov 2009 11:19:56 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,289872,289872#msg-289872</guid>
            <title>add Index on a merge table (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,289872,289872#msg-289872</link>
            <description><![CDATA[ I try to add one Index on a merge table<br />
ALTER TABLE `TABLE_MERGE` ADD INDEX `Index_1`(`CODE`);<br />
I try after create the Index on the merged table (with same name or différent name) <br />
ALTER TABLE `TABLE1` ADD INDEX `Index_1`(`CODE`);<br />
ALTER TABLE `TABLE2` ADD INDEX `Index_1`(`CODE`);<br />
or  and without this index<br />
<br />
and I have always the error &#039;Mysql Error number 1168&#039;.<br />
<br />
could you help me...]]></description>
            <dc:creator>Laurent DANIELE</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Fri, 06 Nov 2009 09:59:46 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,286934,286934#msg-286934</guid>
            <title>Consolidating servers (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,286934,286934#msg-286934</link>
            <description><![CDATA[ We&#039;re consolidating mysql servers and I need a quick way to move the contents of server A to server B. Server B has it&#039;s own databases and tables and is running but can be stopped. I&#039;ve done backups before using mysqldump, but never anything like this. Can I just copy the files from the old server to the mysql data directory on the new server? Do I need to create db&#039;s and tables first? I&#039;m looking for quick and easy...]]></description>
            <dc:creator>Steve Steve</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Mon, 19 Oct 2009 18:41:15 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,283952,283952#msg-283952</guid>
            <title>Backup Help (1 reply)</title>
            <link>https://forums.mysql.com/read.php?93,283952,283952#msg-283952</link>
            <description><![CDATA[ Hi,<br />
<br />
We are currently undergoing a system redevelopment during which time we will be converting our main tables from MyISAM to INNODB. Part of our current backup strategy for MySQL includes copying the .frm, .myi and .myd files to a backup location, having used all of the relevent flush / lock commands recommended by MySQL. This method allows us to perform individual table restores, however it is my understanding (wrong as it might be!) that this method isn&#039;t possible for INNODB tables. So, what would be the best approach for giving me the ability to perform individual table restores, given that the tables will be INNODB and the backup could be performed from either the Master server or a replication slave.<br />
<br />
Hope this is reasonably clear as to what i want to achieve.<br />
<br />
Many Thanks<br />
<br />
Paul]]></description>
            <dc:creator>Paul Washbrook</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Wed, 30 Sep 2009 08:16:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,269108,269108#msg-269108</guid>
            <title>ERROR 2013 (HY000): Lost connection to MySQL server during query (1 reply)</title>
            <link>https://forums.mysql.com/read.php?93,269108,269108#msg-269108</link>
            <description><![CDATA[ Hello everyone,<br />
<br />
I have a problem running a simple query from merge table<br />
The table has 22 columns , 15 keys, 3 members with exact set of indecies <br />
Merge table has the same set.<br />
<br />
select from each member work fine,<br />
 <br />
 select count(1) from ProfilerEventMin_1441909 where DestReportObjectID=5 and SrcUserGroupID=2 and DestPort=80;<br />
0<br />
<br />
 select count(1) from ProfilerEvent where DestReportObjectID=5 and SrcUserGroupID=2 and DestPort=80;<br />
ERROR 2013 (HY000): Lost connection to MySQL server during query<br />
<br />
 select count(1) from ProfilerEvent where DestReportObjectID=5 and SrcUserGroupID=2 and DestPort=8;<br />
+----------+<br />
| count(1) |<br />
+----------+<br />
|        0 |<br />
+----------+<br />
<br />
any idea why merge table crashes on the indecies?<br />
any setting should I check?<br />
<br />
thank you<br />
helen]]></description>
            <dc:creator>Helen Yelluas</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Fri, 03 Jul 2009 19:41:08 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,265246,265246#msg-265246</guid>
            <title>ERROR 1168 when adding a table (1 reply)</title>
            <link>https://forums.mysql.com/read.php?93,265246,265246#msg-265246</link>
            <description><![CDATA[ I have 8 tables sized between 10-30GB and with around 0.5*10^9 rows. I am trying to search all of themvia a merge table. When I go up to 7 tables things are fine but when I add the eighth I get a ERROR 1168. The total number of rows is around 4.5*10^9 for all 8 tables. <br />
<br />
Below is an example of what happens if I merge with DBS2, then DBS3, then  both, I show just the error from count but it is the same error for all commands:<br />
<br />
 mysql&gt; alter table DB2 union=(DBN0,DBN1,DBN2,DBN3,DBS0,DBS1,DBS2) ; select count(*) from DB2 ;<br />
Query OK, 0 rows affected (0.32 sec)<br />
Records: 0  Duplicates: 0  Warnings: 0<br />
<br />
+------------+<br />
| count(*)   |<br />
+------------+<br />
| 3747089710 |<br />
+------------+<br />
1 row in set (0.00 sec)<br />
<br />
mysql&gt; alter table DB2 union=(DBN0,DBN1,DBN2,DBN3,DBS0,DBS1,DBS3) ; select count(*) from DB2 ;<br />
Query OK, 0 rows affected (0.22 sec)<br />
Records: 0  Duplicates: 0  Warnings: 0<br />
<br />
+------------+<br />
| count(*)   |<br />
+------------+<br />
| 3520529145 |<br />
+------------+<br />
1 row in set (0.00 sec)<br />
<br />
mysql&gt; alter table DB2 union=(DBN0,DBN1,DBN2,DBN3,DBS0,DBS1,DBS2,DBS3) ; select count(*) from DB2 ;<br />
Query OK, 0 rows affected (0.23 sec)<br />
Records: 0  Duplicates: 0  Warnings: 0<br />
<br />
ERROR 1168 (HY000): Unable to open underlying table which is differently defined or of non-MyISAM type or doesn&#039;t exist<br />
mysql&gt;]]></description>
            <dc:creator>Ricky Smart</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Tue, 02 Jun 2009 18:41:37 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,253797,253797#msg-253797</guid>
            <title>merge table crash (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,253797,253797#msg-253797</link>
            <description><![CDATA[ I am using merge tables select rows, there are 6 tables under this merge table.<br />
after insert or delete some data in sub tables, the merge table will crash on query.<br />
<br />
I try to use the same sql in mysql client, always crashed.<br />
after repair the sub tables, still crashed.<br />
<br />
But if I use the subtables in sql, it did not crash.<br />
<br />
May some one help me find out how to fix this?<br />
<br />
Is this a bug?<br />
<br />
Thanks<br />
<br />
here is the log:<br />
[0x697c6e]<br />
[0x4bbdb2]<br />
[0x62e670]<br />
[0x64d1e2]<br />
[0x676097]<br />
[0x5a827a]<br />
[0x591f67]<br />
[0x59143d]<br />
[0x5913b7]<br />
[0x51dc50]<br />
[0x525e59]<br />
[0x52c09d]<br />
[0x53cc27]<br />
[0x53e548]<br />
[0x53ee79]<br />
[0x4c643c]<br />
[0x4cb90e]<br />
[0x4d1b58]<br />
[0x4d1f43]<br />
[0x4d30f4]<br />
[0x4c3dd7]<br />
[0x62afe7]<br />
[0x721db9]<br />
090321 12:05:45 - mysqld got signal 11 ;<br />
This could be because you hit a bug. It is also possible that this binary<br />
or one of the libraries it was linked against is corrupt, improperly built,<br />
or misconfigured. This error can also be caused by malfunctioning hardware.<br />
We will try our best to scrape up some info that will hopefully help diagnose<br />
the problem, but since we have already crashed, something is definitely wrong<br />
and this may fail.<br />
key_buffer_size=4294967296<br />
read_buffer_size=33554432<br />
max_used_connections=3<br />
max_threads=151<br />
threads_connected=3<br />
It is possible that mysqld could use up to<br />
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 14091772 K<br />
bytes of memory<br />
Hope that&#039;s ok; if not, decrease some variables in the equation.<br />
<br />
thd: 0x197f0040<br />
Attempting backtrace. You can use the following information to find out<br />
where mysqld died. If you see no messages after this, something went<br />
terribly wrong...<br />
stack_bottom = 0x4164ef60 thread_stack 0x40000<br />
Trying to get some variables.<br />
Some pointers may be invalid and cause the dump to abort...<br />
thd-&gt;query at 0x197fb0c0 = SELECT count(*) FROM zfa_ic_inventory A WHERE  A.CORP_ID=1 AND A.TABLE_TYPE=1<br />
thd-&gt;thread_id=2<br />
thd-&gt;killed=NOT_KILLED<br />
The manual page at <a href="http://dev.mysql.com/doc/mysql/en/crashing.html"  rel="nofollow">http://dev.mysql.com/doc/mysql/en/crashing.html</a> contains<br />
information that should help you find out what is causing the crash.<br />
090321 12:05:45 mysqld_safe Number of processes running now: 0<br />
090321 12:05:45 mysqld_safe mysqld restarted<br />
090321 12:05:46 [Warning] Storage engine &#039;SPHINX&#039; has conflicting typecode. Assigning value 42.<br />
090321 12:05:46 [Note] Event Scheduler: Loaded 0 events<br />
090321 12:05:46 [Note] /data/mysql_new/libexec/mysqld: ready for connections.<br />
Version: &#039;5.1.32&#039;  socket: &#039;/tmp/mysql.sock&#039;  port: 33066  Source distribution]]></description>
            <dc:creator>li kong</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Sat, 21 Mar 2009 06:40:38 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,245144,245144#msg-245144</guid>
            <title>Physcial Backup newbie (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,245144,245144#msg-245144</link>
            <description><![CDATA[ Hi all:<br />
I am new to mysql...could some one clarify the below.<br />
1.) Does OS backup tools backup MYSQL database with MYSQL running.<br />
Or only way to backup MYSQL is to use MYSQL utilites as MYSQL dump or MYSQL hot backup.<br />
2.)Is the MYSQL architecture simialar to sql/oracle where we have a translog file/redo log file .<br />
So once restored from a backup do we need to apply additional logfiles to bring it point in time .<br />
<br />
Please advise.]]></description>
            <dc:creator>Ganesh Tadimalla</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Fri, 30 Jan 2009 15:54:47 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,242277,242277#msg-242277</guid>
            <title>Import error (4 replies)</title>
            <link>https://forums.mysql.com/read.php?93,242277,242277#msg-242277</link>
            <description><![CDATA[ Hi,<br />
<br />
I have exported a table called &quot;session&quot; from MySQL 4.0 on Linux using mysqldump and trying to import in MySQL 5.0 on windows. I am getting the following errors:<br />
<br />
E:\export&gt;mysql -u root -pbiccadmin rtlatin &lt; E:\export\sessions.sql<br />
ERROR 1366 (HY000) at line 24: Incorrect string value: &#039;\x81\x00\x00\x00\x07c...<br />
&#039; for column &#039;a_session&#039; at row 1<br />
<br />
Please advise.<br />
<br />
Thanks,<br />
<br />
Anjani]]></description>
            <dc:creator>anjani sinha</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Tue, 20 Jan 2009 19:36:22 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,240260,240260#msg-240260</guid>
            <title>MERGE table using MARIA tables (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,240260,240260#msg-240260</link>
            <description><![CDATA[ Hi,<br />
<br />
Since MARIA is a crash safe version of MYISAM, is it possible to create a MERGE table which is a collection of tables created with MARIA Storage Engine.<br />
<br />
<br />
Thanks,<br />
Hari]]></description>
            <dc:creator>Hariharan Ananthakrishnan</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Mon, 29 Dec 2008 19:00:33 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,228002,228002#msg-228002</guid>
            <title>determine UNION=(list-of-tables) (2 replies)</title>
            <link>https://forums.mysql.com/read.php?93,228002,228002#msg-228002</link>
            <description><![CDATA[ After a merge table has been created how do you find out what the tables are in the union?  &quot;Describe table&quot; and &quot;show table status&quot; both do not display the list of tables in the union.<br />
<br />
thanks,<br />
<br />
r dinoff]]></description>
            <dc:creator>r dinoff</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Fri, 10 Oct 2008 07:38:05 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,222345,222345#msg-222345</guid>
            <title>Get error 1168 on merge tables after upgrade (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,222345,222345#msg-222345</link>
            <description><![CDATA[ Good day<br />
<br />
We run mysql on a RedHat Enterprise 5 IA64 server and use the mysql that comes with the RedHat Release.<br />
<br />
We have recently upgraded from Enterprise 5.1 to Enterprise 5.2 which also upgraded our MySQL from version 5.0.22-standard-log to 5.0.45-log.<br />
<br />
This resulted in all our Merge tables giving error 1168 (HY000): Unable to open underlying table which is differently defined or of non-MyISAM type or doesn&#039;t exist.<br />
<br />
What can I do to fix this?<br />
I have already run myisamchk -r on all the tables and have also checked the underlying tables&#039; version (all are version 10).<br />
<br />
Should I have performed some converions before the upgrade, or is there a utility that can be run now? <br />
<br />
Any help will be appreciated.<br />
Thanks<br />
Riana]]></description>
            <dc:creator>Riana Rossouw</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Wed, 13 Aug 2008 10:07:09 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,219073,219073#msg-219073</guid>
            <title>Query performance on merge tables after upgrade (1 reply)</title>
            <link>https://forums.mysql.com/read.php?93,219073,219073#msg-219073</link>
            <description><![CDATA[ Our department is primarily using Sybase, and we are all fairly new MySQL users, so we&#039;re dealing with a learning curve. We recently migrated our Data Warehouse data from Sybase to MySQL, with very good results, until we decided to upgrade. We are using the merge storage engine, as we have a large amount of data that we&#039;re dealing with. <br />
<br />
We recently upgraded our test server from version 4.1.22 to 5.0.51, and our query performance has suffered greatly. I&#039;ve already double-checked that all tables used in the merge are defined identically to the merge table. The query plans are very different (post-upgrade) when we have queries with joins. These tables are pretty large, each fs_ledgerdetail_YYYY table has between 2 &amp; 4 million rows, and each fs_account_hier_YYYY table has over 100,000 rows.<br />
<br />
 I have a feeling that we just need to make some changes to our indexes, but I don&#039;t know where to start with this problem. Any suggestions would be greatly appreciated. Thanks!<br />
<br />
Here is one example of a query:<br />
<br />
SELECT  dwhm_fs.fs_ledgerdetail.monthend_date AS &#039;Monthend Date&#039; , <br />
dwhm_fs.fs_ledgerdetail.account_code AS &#039;Account Code&#039; , <br />
dwhm_fs.fs_ledgerdetail.fund_code AS &#039;Fund Code&#039; , <br />
dwhm_fs.fs_ledgerdetail.sub_code AS &#039;Sub Code&#039; , <br />
dwhm_fs.fs_ledgerdetail.object_code AS &#039;Object Code&#039; , <br />
dwhm_fs.fs_ledgerdetail.trans_description AS &#039;Transaction Description&#039; , <br />
dwhm_fs.fs_ledgerdetail.trans_amount AS &#039;Transaction Amount&#039;  <br />
FROM  dwhm_fs.fs_ledgerdetail, dwhm_fs.fs_account_hier <br />
WHERE (dwhm_fs.fs_ledgerdetail.location_code =&#039;9&#039;) <br />
AND  (dwhm_fs.fs_account_hier.department_code = &#039;0302&#039;)  <br />
AND dwhm_fs.fs_ledgerdetail.monthend_date between &#039;2007-1-31&#039; and &#039;2008-1-31&#039;  <br />
AND dwhm_fs.fs_ledgerdetail.monthend_date=dwhm_fs.fs_account_hier.monthend_date <br />
AND dwhm_fs.fs_ledgerdetail.location_code=dwhm_fs.fs_account_hier.location_code <br />
AND dwhm_fs.fs_ledgerdetail.account_code=dwhm_fs.fs_account_hier.account_code    <br />
ORDER BY dwhm_fs.fs_ledgerdetail.monthend_date<br />
<br />
The explain for this SQL in version 4.1.22:<br />
1	SIMPLE	fs_account_hier	ref	PRIMARY,XPKlocation_account,XAKaccount,XAKdepartment,XAKhi	XAKdepartment	4	const	848	Using where; Using temporary; Using filesort<br />
1	SIMPLE	fs_ledgerdetail	ref	PRIMARY,XAKfs_detail_indx,XPKfs_ledgerdetail,XAKaccount	XAKaccount	9	dwhm_fs.fs_account_hier.account_code,dwhm_fs.fs_account_hier.monthend_date	54	Using where<br />
<br />
The explain in version 5.0.51:<br />
SIMPLE	fs_ledgerdetail	range	PRIMARY,XAKfs_detail_indx,XPKfs_ledgerdetail,XAKaccount	XPKfs_ledgerdetail	3	&lt;null&gt;	4355427	Using where<br />
SIMPLE	fs_account_hier	ref	PRIMARY,XPKlocation_account,XAKaccount,XAKdepartment,XAKhi	XAKaccount	6	dwhm_fs.fs_ledgerdetail.account_code	16	Using where<br />
<br />
Each merge table has 14 underlying tables, here are examples of those:<br />
<br />
CREATE TABLE `fs_ledgerdetail_9899` (<br />
  `monthend_date` date NOT NULL default &#039;0000-00-00&#039;,<br />
  `dataclass_code` char(1) NOT NULL default &#039;&#039;,<br />
  `location_code` char(1) NOT NULL default &#039;&#039;,<br />
  `linear_month` char(3) NOT NULL default &#039;&#039;,<br />
  `typeentry_code` char(2) NOT NULL default &#039;&#039;,<br />
  `point_entry` char(4) NOT NULL default &#039;&#039;,<br />
  `trans_id` char(6) NOT NULL default &#039;&#039;,<br />
  `sequence` int(11) NOT NULL default &#039;0&#039;,<br />
  `account_code` char(6) NOT NULL default &#039;&#039;,<br />
  `cost_center` char(2) NOT NULL default &#039;&#039;,<br />
  `fund_code` char(5) NOT NULL default &#039;&#039;,<br />
  `project_code` char(6) NOT NULL default &#039;&#039;,<br />
  `sub_code` char(2) NOT NULL default &#039;&#039;,<br />
  `object_code` char(4) NOT NULL default &#039;&#039;,<br />
  `source_code` char(6) NOT NULL default &#039;&#039;,<br />
  `doc_date` date NOT NULL default &#039;0000-00-00&#039;,<br />
  `trans_description` char(20) NOT NULL default &#039;&#039;,<br />
  `trans_reference` char(10) NOT NULL default &#039;&#039;,<br />
  `partial_full_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `trans_amount` decimal(10,2) NOT NULL default &#039;0.00&#039;,<br />
  `subsystem_id` char(1) NOT NULL default &#039;&#039;,<br />
  `period_close_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `trans_close_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `post_date` date NOT NULL default &#039;0000-00-00&#039;,<br />
  `final_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,<br />
  PRIMARY KEY  (`monthend_date`,`final_flag`,`location_code`,`typeentry_code`,`point_entry`,`trans_id`,`dataclass_code`,`sequence`),<br />
  UNIQUE KEY `XAKfs_detail_indx` (`monthend_date`,`final_flag`,`location_code`,`typeentry_code`,`point_entry`,`trans_id`,`dataclass_code`,`sequence`),<br />
  KEY `XPKfs_ledgerdetail_9899` (`monthend_date`,`final_flag`,`account_code`,`fund_code`,`location_code`),<br />
  KEY `XAKaccount` (`account_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKfund` (`fund_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKproject` (`project_code`,`monthend_date`,`final_flag`),<br />
  KEY `XAKsub` (`sub_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKobject` (`object_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKtypeentry` (`typeentry_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKaccount_dataclass` (`dataclass_code`,`account_code`,`monthend_date`,`final_flag`)<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1<br />
<br />
CREATE TABLE `fs_account_hier_9899` (<br />
  `monthend_date` date NOT NULL default &#039;0000-00-00&#039;,<br />
  `location_code` char(1) NOT NULL default &#039;&#039;,<br />
  `account_code` char(6) NOT NULL default &#039;&#039;,<br />
  `cost_center` char(2) NOT NULL default &#039;&#039;,<br />
  `account_title` char(40) NOT NULL default &#039;&#039;,<br />
  `sub_ledger_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `sub_ledger_history_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `sub_ledger_reference_code` char(1) NOT NULL default &#039;&#039;,<br />
  `dummy_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `account_group_title1` char(18) NOT NULL default &#039;&#039;,<br />
  `annual_report_code` char(6) NOT NULL default &#039;&#039;,<br />
  `uas_code` char(6) NOT NULL default &#039;&#039;,<br />
  `discipline_code` char(3) NOT NULL default &#039;&#039;,<br />
  `jag_code` char(6) NOT NULL default &#039;&#039;,<br />
  `account_group_code` char(6) NOT NULL default &#039;&#039;,<br />
  `account_group_title2` char(35) NOT NULL default &#039;&#039;,<br />
  `nsf_code` char(3) NOT NULL default &#039;&#039;,<br />
  `sau_code` char(1) NOT NULL default &#039;&#039;,<br />
  `program_code` char(2) NOT NULL default &#039;&#039;,<br />
  `function_code` char(2) NOT NULL default &#039;&#039;,<br />
  `account_responsibility` char(20) NOT NULL default &#039;&#039;,<br />
  `home_department_code` char(6) NOT NULL default &#039;&#039;,<br />
  `capitalization_code` char(1) NOT NULL default &#039;&#039;,<br />
  `sub_department` char(8) NOT NULL default &#039;&#039;,<br />
  `low_level1` char(8) NOT NULL default &#039;&#039;,<br />
  `low_level2` char(8) NOT NULL default &#039;&#039;,<br />
  `low_level3` char(8) NOT NULL default &#039;&#039;,<br />
  `low_level4` char(8) NOT NULL default &#039;&#039;,<br />
  `bal_sheet_account_closed_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `asset_number` char(5) default NULL,<br />
  `organization_code` char(4) NOT NULL default &#039;&#039;,<br />
  `organization_title` char(40) default NULL,<br />
  `division_code` char(4) NOT NULL default &#039;&#039;,<br />
  `division_title` char(40) default NULL,<br />
  `subdivision_code` char(4) NOT NULL default &#039;&#039;,<br />
  `subdivision_title` char(40) default NULL,<br />
  `department_code` char(4) NOT NULL default &#039;&#039;,<br />
  `department_title` char(40) default NULL,<br />
  PRIMARY KEY  (`account_code`,`monthend_date`,`location_code`,`cost_center`),<br />
  UNIQUE KEY `XPKlocation_account` (`monthend_date`,`location_code`,`account_code`,`cost_center`),<br />
  KEY `XAKaccount` (`account_code`),<br />
  KEY `XAKdepartment` (`department_code`),<br />
  KEY `XAKfunction` (`function_code`),<br />
  KEY `XAKhi` (`department_code`),<br />
  KEY `XAKorganization` (`organization_code`),<br />
  KEY `XAKdivision` (`division_code`),<br />
  KEY `XAKsubdivision` (`subdivision_code`)<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1<br />
<br />
<br />
The merge table definitions are:<br />
<br />
CREATE TABLE `fs_ledgerdetail` (<br />
  `monthend_date` date NOT NULL default &#039;0000-00-00&#039;,<br />
  `dataclass_code` char(1) NOT NULL default &#039;&#039;,<br />
  `location_code` char(1) NOT NULL default &#039;&#039;,<br />
  `linear_month` char(3) NOT NULL default &#039;&#039;,<br />
  `typeentry_code` char(2) NOT NULL default &#039;&#039;,<br />
  `point_entry` char(4) NOT NULL default &#039;&#039;,<br />
  `trans_id` char(6) NOT NULL default &#039;&#039;,<br />
  `sequence` int(11) NOT NULL default &#039;0&#039;,<br />
  `account_code` char(6) NOT NULL default &#039;&#039;,<br />
  `cost_center` char(2) NOT NULL default &#039;&#039;,<br />
  `fund_code` char(5) NOT NULL default &#039;&#039;,<br />
  `project_code` char(6) NOT NULL default &#039;&#039;,<br />
  `sub_code` char(2) NOT NULL default &#039;&#039;,<br />
  `object_code` char(4) NOT NULL default &#039;&#039;,<br />
  `source_code` char(6) NOT NULL default &#039;&#039;,<br />
  `doc_date` date NOT NULL default &#039;0000-00-00&#039;,<br />
  `trans_description` char(20) NOT NULL default &#039;&#039;,<br />
  `trans_reference` char(10) NOT NULL default &#039;&#039;,<br />
  `partial_full_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `trans_amount` decimal(10,2) NOT NULL default &#039;0.00&#039;,<br />
  `subsystem_id` char(1) NOT NULL default &#039;&#039;,<br />
  `period_close_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `trans_close_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `post_date` date NOT NULL default &#039;0000-00-00&#039;,<br />
  `final_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,<br />
  PRIMARY KEY  (`monthend_date`,`final_flag`,`location_code`,`typeentry_code`,`point_entry`,`trans_id`,`dataclass_code`,`sequence`),<br />
  UNIQUE KEY `XAKfs_detail_indx` (`monthend_date`,`final_flag`,`location_code`,`typeentry_code`,`point_entry`,`trans_id`,`dataclass_code`,`sequence`),<br />
  KEY `XPKfs_ledgerdetail` (`monthend_date`,`final_flag`,`account_code`,`fund_code`,`location_code`),<br />
  KEY `XAKaccount` (`account_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKfund` (`fund_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKproject` (`project_code`,`monthend_date`,`final_flag`),<br />
  KEY `XAKsub` (`sub_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKobject` (`object_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKtypeentry` (`typeentry_code`,`monthend_date`,`final_flag`,`location_code`),<br />
  KEY `XAKaccount_dataclass` (`dataclass_code`,`account_code`,`monthend_date`,`final_flag`)<br />
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1 INSERT_METHOD=LAST<br />
<br />
<br />
CREATE TABLE `fs_account_hier` (<br />
  `monthend_date` date NOT NULL default &#039;0000-00-00&#039;,<br />
  `location_code` char(1) NOT NULL default &#039;&#039;,<br />
  `account_code` char(6) NOT NULL default &#039;&#039;,<br />
  `cost_center` char(2) NOT NULL default &#039;&#039;,<br />
  `account_title` char(40) NOT NULL default &#039;&#039;,<br />
  `sub_ledger_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `sub_ledger_history_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `sub_ledger_reference_code` char(1) NOT NULL default &#039;&#039;,<br />
  `dummy_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `account_group_title1` char(18) NOT NULL default &#039;&#039;,<br />
  `annual_report_code` char(6) NOT NULL default &#039;&#039;,<br />
  `uas_code` char(6) NOT NULL default &#039;&#039;,<br />
  `discipline_code` char(3) NOT NULL default &#039;&#039;,<br />
  `jag_code` char(6) NOT NULL default &#039;&#039;,<br />
  `account_group_code` char(6) NOT NULL default &#039;&#039;,<br />
  `account_group_title2` char(35) NOT NULL default &#039;&#039;,<br />
  `nsf_code` char(3) NOT NULL default &#039;&#039;,<br />
  `sau_code` char(1) NOT NULL default &#039;&#039;,<br />
  `program_code` char(2) NOT NULL default &#039;&#039;,<br />
  `function_code` char(2) NOT NULL default &#039;&#039;,<br />
  `account_responsibility` char(20) NOT NULL default &#039;&#039;,<br />
  `home_department_code` char(6) NOT NULL default &#039;&#039;,<br />
  `capitalization_code` char(1) NOT NULL default &#039;&#039;,<br />
  `sub_department` char(8) NOT NULL default &#039;&#039;,<br />
  `low_level1` char(8) NOT NULL default &#039;&#039;,<br />
  `low_level2` char(8) NOT NULL default &#039;&#039;,<br />
  `low_level3` char(8) NOT NULL default &#039;&#039;,<br />
  `low_level4` char(8) NOT NULL default &#039;&#039;,<br />
  `bal_sheet_account_closed_flag` char(1) NOT NULL default &#039;&#039;,<br />
  `asset_number` char(5) default NULL,<br />
  `organization_code` char(4) NOT NULL default &#039;&#039;,<br />
  `organization_title` char(40) default NULL,<br />
  `division_code` char(4) NOT NULL default &#039;&#039;,<br />
  `division_title` char(40) default NULL,<br />
  `subdivision_code` char(4) NOT NULL default &#039;&#039;,<br />
  `subdivision_title` char(40) default NULL,<br />
  `department_code` char(4) NOT NULL default &#039;&#039;,<br />
  `department_title` char(40) default NULL,<br />
  PRIMARY KEY  (`account_code`,`monthend_date`,`location_code`,`cost_center`),<br />
  UNIQUE KEY `XPKlocation_account` (`monthend_date`,`location_code`,`account_code`,`cost_center`),<br />
  KEY `XAKaccount` (`account_code`),<br />
  KEY `XAKdepartment` (`department_code`),<br />
  KEY `XAKfunction` (`function_code`),<br />
  KEY `XAKhi` (`department_code`),<br />
  KEY `XAKorganization` (`organization_code`),<br />
  KEY `XAKdivision` (`division_code`),<br />
  KEY `XAKsubdivision` (`subdivision_code`)<br />
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1 INSERT_METHOD=LAST UNION=(`fs_account_hier_0708`,`fs_account_hier_0607`,`fs_account_hier_0506`,`fs_account_hier_0405`,`fs_account_hier_0304`,`fs_account_hier_0203`,`fs_account_hier_0102`,`fs_account_hier_0001`,`fs_account_hier_9900`,`fs_account_hier_9899`,`fs_account_hier_9798`,`fs_account_hier_9697`,`fs_account_hier_9596`,`fs_account_hier_9495`)<br />
<br />
Sorry about the length of this message, I want to make sure I provide enough information. Thanks!]]></description>
            <dc:creator>valerie jones</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Mon, 21 Jul 2008 11:32:36 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,217055,217055#msg-217055</guid>
            <title>Nagios configuration to monitor MySQL (1 reply)</title>
            <link>https://forums.mysql.com/read.php?93,217055,217055#msg-217055</link>
            <description><![CDATA[ Hello<br />
<br />
Can any one tell how to configure nagios plugins to monitor MySQL Server.<br />
<br />
Thanks]]></description>
            <dc:creator>nani pandu</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Tue, 29 Jul 2008 08:00:09 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,217053,217053#msg-217053</guid>
            <title>How to check backup Consistency (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,217053,217053#msg-217053</link>
            <description><![CDATA[ Hello,<br />
<br />
How do we know back up is taken correctly.And if at all need to be reload how do we know it is being loaded corectly.]]></description>
            <dc:creator>nani pandu</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Fri, 04 Jul 2008 08:30:06 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,214816,214816#msg-214816</guid>
            <title>I Need Serious Help! (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,214816,214816#msg-214816</link>
            <description><![CDATA[ Hello all, I&#039;m new to MySQL and I am searching for &quot;relevant&quot; information to help me backup my MySQL database.<br />
<br />
I have read that there are different ways and types of backups.  I am NOT so much interested in backing up user data because in my database there is ONLY test accounts which I have set up.  I guess I should be interested in that when I have the site up and running and there are members registering.<br />
<br />
My MAIN concern right now is COPYING the database exactly and keeping the tables and parameters intact.<br />
<br />
In other words, I want to make an EXACT copy of my database to be used on another hosted account.  I paid a company to do some programming for my site and they set up the database for me.  Now that I have paid, they said that it will cost me extra if they set up another one for me.  I know it&#039;s not difficult.<br />
<br />
And beside what good would it be if I were to pay someone to do it...?  What if I need to do it again and again...it&#039;s better that I learn myself.<br />
<br />
Again, I know that there are many ways to do it...however, I am ONLY interested in  learning how to make an exact duplicate of my current database with all tables and parameters intact.<br />
<br />
Thank you so much in advance.<br />
<br />
<br />
L-Man]]></description>
            <dc:creator>L Man</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Wed, 18 Jun 2008 22:53:30 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,212707,212707#msg-212707</guid>
            <title>Getting the contained tables in a merged table (no replies)</title>
            <link>https://forums.mysql.com/read.php?93,212707,212707#msg-212707</link>
            <description><![CDATA[ Hello everyone,<br />
<br />
Is there any way I can get the information which tables are united in a merge table from a query which is not the &#039;show create table&#039;?<br />
<br />
something like &quot;select union from my_table&quot;?<br />
<br />
thanks,<br />
<br />
Ido]]></description>
            <dc:creator>Ido Blutman</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Thu, 05 Jun 2008 10:32:06 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,208417,208417#msg-208417</guid>
            <title>Manual backup of files fails (1 reply)</title>
            <link>https://forums.mysql.com/read.php?93,208417,208417#msg-208417</link>
            <description><![CDATA[ Dear Friends.<br />
<br />
I&#039;ve got problem with manual backup of merge table.<br />
<br />
1. I create MERGE table which consists of some MyISAM tables.<br />
2. I copy database folder from my MySQL..\Data\ somewhere else.<br />
3. I DROP DATABASE.<br />
4. I manually copy back folder to MySQL..\Data\ folder<br />
5. All partial tables are here back but when I try to access MERGE TABLE I get an error: Can&#039;t find file &#039;here my merge table name&#039;.<br />
<br />
I found that file responsible for keeping table structure (mymergetable.frm) is there.<br />
What shall I copy more to be able to restore MERGE TABLE that way (manually)?<br />
Michal.]]></description>
            <dc:creator>Michał Głębowski</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Tue, 06 May 2008 08:01:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,201513,201513#msg-201513</guid>
            <title>Types of Backup (1 reply)</title>
            <link>https://forums.mysql.com/read.php?93,201513,201513#msg-201513</link>
            <description><![CDATA[ Hi <br />
Is it possible to take transactional log backup in MySql. If So what is the procedure to take a transactional log backup.<br />
<br />
Thanks in advance<br />
Alim]]></description>
            <dc:creator>alim arzed</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Wed, 19 Mar 2008 22:43:56 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?93,197894,197894#msg-197894</guid>
            <title>privileges problem (2 replies)</title>
            <link>https://forums.mysql.com/read.php?93,197894,197894#msg-197894</link>
            <description><![CDATA[ Hello,<br />
<br />
i have a problem with merge tables and privileges.<br />
<br />
i want to setup something like this:<br />
i need two users admin and user_2, two tables news_1 and news_2<br />
plus one merge table &#039;news&#039; with news_1 and news_2. <br />
<br />
admin has select, create, update and delete privileges on news_1 and news_2<br />
user_2 has select privileges on news_1 and select, create, update and delete on news_2<br />
<br />
my problem is that no matter how i setup privileges for user_2, he can delete news from table news_1 if using the merge table &#039;news&#039;.<br />
<br />
the point is that i want user_2 to have &#039;read-only&#039; access to table news_1 even if he uses the merge table &#039;news&#039;.<br />
<br />
i hope you understand the problem.<br />
<br />
thank you very much.]]></description>
            <dc:creator>Marco Milon</dc:creator>
            <category>Merge Storage Engine</category>
            <pubDate>Wed, 25 Jun 2008 08:03:07 +0000</pubDate>
        </item>
    </channel>
</rss>
