ASOC: Fix it in the Mix
Samstag, 19. April 2008
MySQL, anyone?
I need a little bit of help from a MySQL-savvy person, so please forgive me the technical mumbo-jumbo following below.

The database update which is necessary for the Antville 1.2 upgrade takes long. Very long. Too long. I started it yesterday at 1:30 in the night and it is still running.

Well, you might say, haven't you written the update script yourself? Aren't you the guy who should know why it's running so slowly?

But I am really pretty clueless right now. Because all I am doing is issueing quite simple select, update and insert statements.

The problem might be, though, that it's Millions of them. During the first few hours everything goes quite smoothly, but after that each bulk of inserts or updates to a table (especially the one containing all the lovely postings of the Antville.org community) is interrupted with a break of a few minutes at first which in the meantime even exceeds ten minutes.

Thus, the update is taking longer and longer and longer. And of course I don't want Antville.org to be down for such a long time.

I already tried different things I found on various websites and in the depths of the MySQL documentation, even with some success in speeding up things a little bit.

But it's still not working out...

So my urgent request is: if you know how to optimize MySQL performance pretty good or you know someone else who does, please please please get in touch with me as soon as possible.

... Link (14 comments) ... Comment


Online for 2657 days
Last modified: 2008.10.03, 02:15
Status
Youre not logged in ... Login
Menu
... Home
... Tags

Search
Calendar
April 2008
MoDiMiDoFrSaSo
123456
78910111213
14151617181920
21222324252627
282930
FebruarMai
Recent updates
Nachbesserungen So, der zweite Teil des Updates, den ich letztesmal nicht mehr geschafft habe, ist...
by tobi (2008.10.03, 02:15)
funkt, danke!
by motzes (2008.09.13, 23:24)
Galleries sind wieder da! Und damit hoffe ich, dass diese erfreuliche Nachricht die einzigen Auswirkungen...
by tobi (2008.09.13, 22:34)
Antville is looking forward to your donation Please use one of the three transfer methods...
by tobi (2008.09.05, 14:23)
Antville freut sich über Ihre Spende Bitte verwenden Sie eine der drei folgenden Überweisungsmöglichkeiten: 1....
by tobi (2008.09.05, 14:22)
*seufz* Das meinte ich mit "14:58".
by kristof (2008.08.25, 23:50)
Nachtrag Es spricht selbstverständlich nichts dagegen, für diesen (wie auch jeden anderen) Sachverhalt, Feature-Request oder...
by tobi (2008.08.25, 18:23)
Ja, das haben Sie bereits betont, und ich habe daraufhin versucht zu erklären, dass...
by tobi (2008.08.25, 18:16)
Nun gut. Und sollte man da nicht etwas tun? Ich finde schon.
by kristof (2008.08.25, 17:51)
Mein Kommentar bezog sich auch einzig und allein auf den von Ihnen um 14:26....
by tobi (2008.08.25, 17:41)
Nun ja, die Frage ist doch, inwieweit man per Loginseite die Userdaten abgreifen kann....
by kristof (2008.08.25, 16:53)
Muss ich das jetzt verstehen?
by tobi (2008.08.25, 16:32)
Ah, gut, es gibt kein Problem.
by kristof (2008.08.25, 14:58)
Oh the hyperbole! Die Verschlüsselung des Passworts im Browser und vor dem Absenden der Daten...
by tobi (2008.08.25, 13:35)
Dass beim jetzigen Login auch massenhaft Ajax-Jedöns eingesetzt wird, macht für mich die Sache...
by kristof (2008.08.22, 14:26)
@kristof: Das ist genau mein Reden seit 1945. Twoday hat das gut gelöst: Login...
by ichichich (2008.08.22, 14:22)
Hm, die oben genannten Tricks sind natürlich relativ unbedeutend, solange man als Bloginhaber die...
by kristof (2008.08.22, 14:18)
eine gute Entscheidung, wie ich finde :) btw. damit wäre mein Problem der gender-frage...
by DaveKay (2008.08.16, 14:36)
Neuzugang bei den »privilegierten« BenutzerInnen Ich habe Herrn kinomu, mit dem ich gestern abend ein...
by tobi (2008.08.16, 14:13)
Daß die Passwörter in den Antville 1.1-Cookies verschlüsselt sind (und in den 1.2-Cookies zusätzlich...
by kinomu (2008.08.12, 16:49)
@Session-Cookie: Ich möchte hier beileibe nichts ausschließen, habe einfach nur selbst noch keinen Exploit...
by tobi (2008.08.12, 12:37)
Ah, das klingt beruhigend, dass Session-Cookie und IP gegengecheckt werden. @Kinomu: Kennt Dirk Olbertz...
by giardino (2008.08.12, 12:28)
OK, Danke. Herr Kinomu hat mir über diesen Exploit ausführlich erzählt. Ich bin mir...
by tobi (2008.08.12, 11:59)
Es wurde auf document.cookie zugegriffen und dieses in eine Fremd-URL als Aufrufparameter gepackt, auf...
by giardino (2008.08.12, 11:37)
@giardino: Ja, schon klar. Aber es macht nochmal einen Unterschied, ob ich prinzipiell Script-Tags...
by tobi (2008.08.12, 10:55)

RSS feed

Made with Antville
Helma Object Publisher