mirror of https://github.com/zulip/zulip.git
eaaf0fec04
We need to run the schema migration manually using "CREATE INDEX CONCURRENTLY upper_stream_name_idx ON zerver_stream ((upper(name)));" since we need CONCURRENTLY and I seem to recall that doesn't work with South. This significantly improves the uncached performance of get_stream() (e.g. from 32ms to 9ms). At present, this codepath is not used particularly heavily since we do cache the stream names and do most of our filtering by recipient ID, but the index isn't expensive and does provide a significant improvement in the uncached case. (imported from commit 4d28dc2e9a02d0602861b165393d90ed18f5f4c8) |
||
---|---|---|
.. | ||
0001_initial.py | ||
0017_auto__add_field_subscription_color.py | ||
0018_auto__add_unique_userprofile_email.py | ||
0019_auto__add_field_userprofile_tutorial_status.py | ||
0020_set_tutorial_finished.py | ||
0021_auto__add_field_subscription_notifications.py | ||
0022_create_humbug_search_config.py | ||
0023_rebuild_search_tsvector.py | ||
0024_create_escape_html_function.py | ||
0025_auto__add_field_userprofile_enable_sounds.py | ||
0026_auto__add_field_userprofile_enable_offline_email_notifications__add_fi.py | ||
0027_auto__add_field_userprofile_is_bot__add_field_userprofile_bot_owner.py | ||
0028_auto__add_field_userprofile_onboarding_steps.py | ||
0029_auto__add_field_message_last_edit_time__add_field_message_edit_history.py | ||
0030_auto__chg_field_userprofile_last_reminder.py | ||
0031_auto__add_field_userprofile_rate_limits.py | ||
0032_auto__add_field_userprofile_avatar_source.py | ||
0033_remove_postgres_zephyr_message_full_text_idx.py | ||
0034_change_search_stopwords.py | ||
0035_auto__add_field_userprofile_is_superuser.py | ||
0036_async_fts_update.py | ||
0037_auto__add_field_preregistrationuser_realm.py | ||
0038_auto__add_referral__add_field_userprofile_invites_granted__add_field_u.py | ||
0039_rename_database_tables.py | ||
0040_auto__add_field_stream_email_token.py | ||
0041_auto__chg_field_stream_email_token.py | ||
0042_auto__add_realmemoji__add_unique_realmemoji_realm_name.py | ||
0043_auto__add_field_userprofile_alert_words.py | ||
0044_auto__add_useractivityinterval.py | ||
0045_auto__add_field_userprofile_muted_topics.py | ||
0046_auto__add_field_realm_date_created.py | ||
0047_auto__add_field_stream_date_created.py | ||
0048_auto__add_field_realm_notifications_stream.py | ||
0049_auto__chg_field_stream_name.py | ||
0050_auto__add_appledevicetoken.py | ||
0051_auto__add_field_realm_name.py | ||
0052_subject_case_index.py | ||
0053_stream_name_case_index.py | ||
__init__.py |