Re: how to merge 2 tables from 2 different database?
Hu. This is hot stuff.
I'm not sure if it would work like so:
UNION=('/path/to/server1/db1.table1', db2.table2)
But you can edit the .MRG file by hand. Just ensure that the server doesn't use the table while editing. And keep the line ending as it is (NL vs. CR/NL if you work on Windows).
WARNING: If it is possible that two or more servers can access the same table(s), you _must_ run all servers with the --external-locking option enabled. Otherwise the table(s) will corrupt very soon.
Regards
Ingo Strüwing, Senior Software Developer - Storage Engines
MySQL AB, www.mysql.com
Subject
Views
Written By
Posted
27630
May 19, 2006 02:06PM
14503
May 22, 2006 03:56AM
12055
June 01, 2006 11:16AM
Re: how to merge 2 tables from 2 different database?
12005
June 02, 2006 09:32AM
10997
June 02, 2006 10:10AM
10383
June 06, 2006 10:54AM
13935
August 28, 2006 04:10PM
9967
August 30, 2006 10:11AM
14711
September 05, 2006 01:35AM
8719
June 10, 2007 10:05AM
9160
June 21, 2007 01:54AM
8627
June 27, 2007 06:03PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.