Home » Performance » MySQL » Any ideas for performance optimization?
Any ideas for performance optimization? [message #2028] Mon, 08 October 2007 09:45 Go to previous message
esudnik  is currently offline esudnik
Messages: 9
Registered: March 2007
Junior Member
Following situation:

I have a user_access table (MyISAM) with user access information (like IP, access date,...). New user accesses will be created when user go to the webpage, ...and then each minute one user access.

And now my problem, when many users go to the page at the same time then all inserts are locked and this increases the page execution time.

Is it possible to avid this problem? My idea is:

Create a memory drive and on each paga generation create a file with user_access information. After it create a daemon which will be executed in background. This daemon reads each file, create user_access insert (into database) and then delete already processed files.

Do you have any other (better) ideas?

Read Message
Read Message
Read Message
Read Message
Previous Topic:Changing datatypes of foreign keys
Next Topic:Innodb optimization suggestion requested
Goto Forum:

  


Current Time: Fri Jul 10 03:16:58 EDT 2009

Total time taken to generate the page: 0.04236 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.