- Creating table on mysql prompt : (separating partitions by 6 months each)

- In the migration file 001_create_stats.rb:

- After running rake db:migrate. On MySQL prompt, single partition being used in this example
- On MySQL prompt, two partitions being used in this example:
- On MySQL prompt, the default storage engine type is shown as InnoDB:

Saturday, January 26, 2008
MySQL 5.1 Partitioning Example for Ruby on Rails Migration
Posted by
Sonal
at
5:10 PM
Labels: MySQL 5.1 for partitioning, MySQL partitioning for Ruby on Rails, Ruby on Rails
Subscribe to:
Post Comments (Atom)

1 comments:
How are you handling partitions when running tests in Rails? I am getting errors when account creation is attempting to create partitions during a test.
Post a Comment