about query optimization
-
Hello,
I see in wp_post2cat that
category_id
is not indexed. It is indexed but afterpost_id
. I believe queries like"SELECT post_id FROM wp_post2cat WHERE category_id = 5"
will not get any advantage from the index? (am I wrong?)I have a feeling that I’m missing something. Can you guys tell me (the right way on) how to retrieve posts from a certain category manually? I need to do it in a page of mine, outside wordpress. Not using RSS because I need all of the posts (or is there a way to use RSS to get all posts?).
Thank you in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘about query optimization’ is closed to new replies.