home.social

#reindex — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #reindex, aggregated by home.social.

  1. Supercharge your Elasticsearch reindexing with source filtering & slicing. Select only needed fields and parallelize across multiple workers using the Scroll & Bulk APIs for massive speed gains. #reindex #slicing #ValtersIT

    valtersit.com/vault/reindex-wi

  2. [Перевод] Почему VACUUM не спасает от раздувания индексов в PostgreSQL

    VACUUM в PostgreSQL принято считать универсальным средством поддержания порядка: он очищает мёртвые кортежи, обновляет статистику и вроде бы держит базу «в форме». Но с индексами всё сложнее. В какой-то момент они начинают расти и деградировать так, что это уже влияет на планы запросов и поведение оптимизатора — при том, что формально всё обслуживается корректно. Разберёмся, где именно возникает это расхождение между ожиданиями и реальностью и что на самом деле происходит внутри B-дерева. Разобраться глубже

    habr.com/ru/companies/otus/art

    #postgres #PostgreSQL #VACUUM #раздувание_индексов #Bдерево #планировщик_запросов #оптимизация_запросов #REINDEX #производительность_базы_данных

  3. i had a bunch of errors and cruft - i just left it in there for now 11m docs but only 5m were good #index #reindex

  4. Should I rebuild my PostgreSQL index?
    cybertec-postgresql.com/en/sho

    > People often ask “How can I automatically rebuild by indexes regularly?” or “When should I rebuild my indexes in #PostgreSQL?”. That always gives me the feeling that they want to solve a problem that isn't there. But the #REINDEX statement is certainly there for a reason, and sometimes it is perfectly reasonable to rebuild an index.

  5. @stefano thank you!

    So, it seems that reindexing did resolve the issue.

    I wonder: if you had not received a hint from a human, would there ever have been a hint from a system?

    The previously unfound toot, from an earlier point in time (2023-11-11 05:13):

    mastodon.bsd.cafe/@grahamperri

    #Mastodon #Elasticsearch #index #reindex #data #database #toot #post #search #seek #find #catsofmastodon #postwar