Re: very poor performance of opening tables
Posted by:
J G
Date: September 23, 2005 10:51AM
> I really hope this is a typo and you meant *with*
> indexes...
Yes, I reedited post. There are with indexes.
> file descriptor. If you have tens of thousands of
> tables, even if you up the table_cache, the OS may
> not be (and clearly isn't) able to deal with that
> many file descriptors at once. The number of file
> descriptors and th speed at which file descriptors
> are handled is very OS-dependent. I honestly
> don't know how many file descriptors FreeBSD 5.4
> with linux_threads is able to handle, but millions
> is certainly not an option.
I tuned max file descriptors up to 200 000, but it's too much for my server. Now I have table_cache at 8192 so mysql uses about 16 000 descriptors and it's not bad set. Setting higher value don't give me noticable performance hit. I'm sure this problem is not releated to maximum number of allowed file decriptors. OS or MySQL seems to have problem with opening a lots of tables in the same time. I don't have ideas what to do with it.
It will be a good thing to check if my freebsd will also has poblem with opening a lot of raw files in the same time, but I can't have idea how to check it to have reliable results.
Subject
Views
Written By
Posted
20584
September 23, 2005 06:11AM
8192
September 23, 2005 08:59AM
5373
September 23, 2005 10:23AM
5026
September 23, 2005 10:40AM
Re: very poor performance of opening tables
4411
September 23, 2005 10:51AM
4682
September 25, 2005 09:45AM
4241
September 25, 2005 10:34AM
5678
September 25, 2005 11:16AM
3989
September 26, 2005 06:02AM
3766
October 16, 2005 11:25AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.