server cofiguration

More
8 years 6 months ago #3416 by godfather
hi ,

which value should i change in my server or php configuration, to make importing data faster ?

thank u :)

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #3417 by bram
Replied by bram on topic server cofiguration
importing is about CPU and MEMORY.

you might get a small benefit delaying the index update using
Code:
ALTER TABLE YOURPREFIX_dataitems DELAY_KEY_WRITE =1

however this might result in corrupt indexes whenever your mysqlserver goes down unexpectedly so you need in your my.cnf:

myisam-recover=BACKUP,FORCE

mysql can be optimized a lot, however most of the optimization applies to SELECT not to UPDATE.

best thing to do is run the import as cron job, then time is not that much of an issue. Only thing i encountered is that the database connection disappears depending on the time-out settings.
The following user(s) said Thank You: godfather

Please Log in or Create an account to join the conversation.

Time to create page: 0.237 seconds