Differences between revisions 3 and 4
Revision 3 as of 2013-11-07 13:58:09
Size: 816
Editor: JaehwaJung
Comment:
Revision 4 as of 2014-03-06 04:51:46
Size: 0
Editor: HyunsikChoi
Comment: moved to new doc.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Catalog Store =
Tajo can uses the following DBMSs as catalog store systems:
 * Derby
 * MySQL

== How To use MySQL as a Catalog Store ==
Just add the following configs to catalog-site.xml:

{{{
<configuration>
  <property>
    <name>tajo.catalog.store.class</name>
    <value>org.apache.tajo.catalog.store.MySQLStore</value>
  </property>

  <property>
    <name>tajo.catalog.connection.id</name>
    <value>{id}</value>
  </property>
  <property>
    <name>tajo.catalog.connection.password</name>
    <value>{password}</value>
  </property>
<property>
    <name>tajo.catalog.uri</name>
    <value>jdbc:mysql://hostname:3306/tajo?createDatabaseIfNotExist=true</value>
  </property>
</configuration>
}}}

= Migration =
Tajo Catalog migration is very easy. See BackupAndRestore page.