hmm, your profile page loads quite slow...
Quote:
So it's a SUM(LENGTH(pagetext)) for the table "post" WHERE userid=X.
|
yes you are right here, that part should be relativ fast
but for getting the global percentage you need also that query:
Quote:
So it's a SUM(LENGTH(pagetext)) for the whole table "post"
|
which will become slower and slower how more posts you have.
ok, getprofile isn't called so often, but also there i don't think that's such a good way.
i'd use a sort of caching the absulote letter ammount and just update it rarely