If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Add partition on exising table ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-07-10, 22:56
bh_hensem bh_hensem is offline
Registered User
 
Join Date: Jun 2009
Posts: 18
Add partition on exising table ?

Hi..

How to alter my existing table and add partition by key ?.

Below is my query:-
Code:
alter table packextra_trans2 
partition by key ('JobTicketID','FieldID1','FieldID2','FieldID5','FieldID9')
partition 5 (
partition 'p0_jobid',
partition 'p0_fid1',
partition 'p0_fid2',
partition 'p0_fid5',
partition 'p0_fid9'
);
This is my MYSQL version: 5.0.51a

is it the partition support for that version?

Thank you,
Baharin

Last edited by bh_hensem; 04-08-10 at 00:53.
Reply With Quote
  #2 (permalink)  
Old 04-15-10, 05:48
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
Partition support is only from 5.1 onwards.
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
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

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