Garayed.com  

Go Back   Garayed.com > mySQL
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-19-2006, 03:14 PM
JoeT
 
Posts: n/a
Default How do you partition tables in mysql 5?



Hi...

According to the MySQL 5.0 documentation, for setting up advanced
innodb, the following is stated:

An advanced my.cnf example. Suppose that you have a Linux computer with
2GB RAM and three 60GB hard disks at directory paths /, /dr2 and /dr3.
The following example shows possible configuration parameters in my.cnf
for InnoDB.

[mysqld]
# You can write your other MySQL server options here
# ...
innodb_data_home_dir =
#
# Data files must be able to hold your data and indexes
innodb_data_file_path =
/ibdata/ibdata1:2000M;/dr2/ibdata/ibdata2:2000M:autoextend

OK....let's assume that I have 2-tables, X and Y, and I want to create
them, BUT have X point to the ibdata1 path and Y to ibdata2. According
to the CREATE TABLE doc, the DATA DIRECTORY option only works for
MyISAM.

Anybody know how to do this using innodb?

Thanks,
Joe

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:37 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.