diff options
Diffstat (limited to 'db/statusnet.sql')
-rw-r--r-- | db/statusnet.sql | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql index ac48e6253..b372305d0 100644 --- a/db/statusnet.sql +++ b/db/statusnet.sql @@ -131,7 +131,13 @@ create table notice ( location_ns integer comment 'namespace for location', repeat_of integer comment 'notice this is a repeat of' references notice (id), + -- For public timeline... + index notice_created_id_is_local_idx (created,id,is_local), + + -- For profile timelines... index notice_profile_id_idx (profile_id,created,id), + + -- Are these enough? index notice_conversation_idx (conversation), index notice_created_idx (created), index notice_replyto_idx (reply_to), |