|
|
|
|
|
by evandwight
1378 days ago
|
|
Why not an index on created for speeding up the "new" sort? What indexes should you create? One for each sort you have? (I'm just playing around cloning Reddit and running into all sorts of performance problems. Mostly due to celery taking all my memory) |
|
20yr ago MySQL didn’t have reverse index columns so we had to make (1-timestamp) cols and index those! Also used int for time as it was easier to index back then and you don’t need sub second or anything. Smaller indexes are better.