List:General Discussion« Previous MessageNext Message »
From:Bruce Dembecki Date:September 29 2005 1:39am
Subject:Re: MyISAM to InnoDB
View as plain text  
On Sep 28, 2005, at 5:21 PM, Devananda wrote:

> Jeff wrote:
> Lots of stuff goes in here...

So without going into specifics here... your sort_buffer and  
read_buffer become pretty much unimportant if you move everything to  
InnoDB... keeping in mind the earlier advice to leave the mysql  
database intact in myisam. So if you went that route you can set them  
to like.. 32k or something trivial and even the 250 x multiplier  
doesn't hurt you much here. Once you do that of course you should  
give InnoDB most of the  memory.

On the disk side the one comment I didn't see is that if you have  
2.2G of data already, you need 4.5G of InnoDB table space to put it  
all together. InnoDB needs (as a rough guideline) twice as much table  
space as there is data, so it can do things like indexes, and undo  
logs and so on... Your 2 x 2G files isn't going to cut it as a place  
to put your 2.2G of data. In your case for these guys I'd throw 3 x  
2G files at it and a fourth auto extending file - more if you move  
your other tables... most of our database instances had 20 x 2G files  
in their InnoDB table space before we moved to innodb_file_per_table  
where it stopped being an issue.

Best Regards, Bruce


Thread
MyISAM to InnoDBJeff22 Sep
  • Re: MyISAM to InnoDBBruce Dembecki22 Sep
RE: MyISAM to InnoDBJeff22 Sep
  • Re: MyISAM to InnoDBBruce Dembecki22 Sep
  • Re: MyISAM to InnoDBDevananda22 Sep
RE: MyISAM to InnoDBJeff22 Sep
  • Re: MyISAM to InnoDBDevananda23 Sep
    • RE: MyISAM to InnoDBJeff23 Sep
      • RE: MyISAM to InnoDBSGreen23 Sep
        • RE: MyISAM to InnoDBJeff23 Sep
          • RE: MyISAM to InnoDBSGreen23 Sep
            • RE: MyISAM to InnoDBJeff23 Sep
              • RE: MyISAM to InnoDBSGreen23 Sep
              • Re: MyISAM to InnoDBDevananda23 Sep
            • RE: MyISAM to InnoDBJeff28 Sep
              • Re: MyISAM to InnoDBDevananda28 Sep
            • Re: MyISAM to InnoDBPooly29 Sep
RE: MyISAM to InnoDBSujay Koduri28 Sep
RE: MyISAM to InnoDBJeff28 Sep
RE: MyISAM to InnoDBSujay Koduri28 Sep
RE: MyISAM to InnoDBJeff28 Sep
RE: MyISAM to InnoDBJeff28 Sep
  • RE: MyISAM to InnoDBSGreen28 Sep
  • Re: MyISAM to InnoDBDevananda29 Sep
    • Re: MyISAM to InnoDBBruce Dembecki29 Sep
RE: MyISAM to InnoDBJeff29 Sep
  • RE: MyISAM to InnoDBSGreen29 Sep
  • Re: MyISAM to InnoDBDevananda29 Sep
RE: MyISAM to InnoDBJeff McKeon29 Sep
RE: MyISAM to InnoDBJeff29 Sep