can i get a mod to verify that this is all i do?Guest wrote:yes.. thats all you do.
Howto: Database optimizing
Re: Howto: Database optimizing
- FriedRoadKill
- Regular
- Posts: 226
- Joined: Fri Jun 20, 2008 22:23
Re: Howto: Database optimizing
He already did 
6th post on page 7

6th post on page 7
I did data dumps. And some code. ~Now retired ~
- Trent Angelus
- Greenhorn
- Posts: 24
- Joined: Sat Sep 20, 2008 01:32
- Location: EDK3.1:865
Re: Howto: Database optimizing
I checked my Innodb settings agains the OP. Mine reads:beansman wrote:How much memory does your innodb have to run on?Trent Angelus wrote:My DB seems slower after this. Really slow
I converted the table types, and added the indexes.
I went around to all the tables and merged the separate indexes into one, as Tribalize suggested.
Code: Select all
innodb_buffer_pool_size = 16M
innodb_log_buffer_size = 8M
innodb_thread_concurrency = 8
innodb_flush_method = null

Re: Howto: Database optimizing
16M is way too less
I run with 512.
Can you access the mysql config file?

Can you access the mysql config file?
- Trent Angelus
- Greenhorn
- Posts: 24
- Joined: Sat Sep 20, 2008 01:32
- Location: EDK3.1:865
Re: Howto: Database optimizing
Yes. I modified C:\Windows\my.ini to this:
[mysqld]
basedir=c:/xampp/mysql
#bind-address=censored
datadir=c:/xampp/mysql/data
#language=c:/xampp/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=censored
#set-variable=key_buffer=16M
innodb_buffer_pool_size = 512M
innodb_log_buffer_size = 8M
innodb_thread_concurrency = 8
innodb_flush_method = O_DIRECT
But the variables page in PHPMyAdmin doesn't show any changes.
[mysqld]
basedir=c:/xampp/mysql
#bind-address=censored
datadir=c:/xampp/mysql/data
#language=c:/xampp/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=censored
#set-variable=key_buffer=16M
innodb_buffer_pool_size = 512M
innodb_log_buffer_size = 8M
innodb_thread_concurrency = 8
innodb_flush_method = O_DIRECT
But the variables page in PHPMyAdmin doesn't show any changes.

-
- Apprentice
- Posts: 54
- Joined: Sat Jun 14, 2008 20:24
- Contact:
Re: Howto: Database optimizing
Can someone that has followed this thread closely give me a full listing of the MySQL things I can run on my DB that gives the best of all these posts please? I read over the whole thing but there are so many little one posted hear and there I think it would help everyone that fell off the wagon after the big server crash months ago get back up to speed. Or have all of these things been added to the newest rev 359?
Thanks,
Blue
Thanks,
Blue

- Seahorse
- Apprentice
- Posts: 48
- Joined: Sat Jun 14, 2008 20:24
- Location: In a bar, drinking JD...
- Contact:
Re: Howto: Database optimizing
+1
"Regrettably your planet is one of those scheduled for demolition"
Rgds
Mike
Rgds
Mike
Re: Howto: Database optimizing
I think you have to restart your webservice for the changes to take effect....Trent Angelus wrote:Yes. I modified C:\Windows\my.ini to this:
[mysqld]
basedir=c:/xampp/mysql
#bind-address=censored
datadir=c:/xampp/mysql/data
#language=c:/xampp/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=censored
#set-variable=key_buffer=16M
innodb_buffer_pool_size = 512M
innodb_log_buffer_size = 8M
innodb_thread_concurrency = 8
innodb_flush_method = O_DIRECT
But the variables page in PHPMyAdmin doesn't show any changes.
Killboard Update/Install Service.
Installation & Upgrade to version 4.0 available now. Please Ask for Costs.
Helping you all out.

EVE is life, Life is EVE
That's it pick on the minority. Bigots.
Installation & Upgrade to version 4.0 available now. Please Ask for Costs.
Helping you all out.
EVE is life, Life is EVE
That's it pick on the minority. Bigots.
Re: Howto: Database optimizing
Is it useful to switch to innoDB without memcached available or go these two hand in hand?
Re: Howto: Database optimizing
Very usefull!
I run it at http://svn.nsbit.dk/killboard without memcached. I have 850k+ killmails.
The server is a 1.4 Ghz with 1 gb ram. (Not a lot) and it really helps.
You can always go back again.
I run it at http://svn.nsbit.dk/killboard without memcached. I have 850k+ killmails.
The server is a 1.4 Ghz with 1 gb ram. (Not a lot) and it really helps.
You can always go back again.
