The ARP specification [LINK:2] suggests but does not
require a timeout mechanism to invalidate cache entries
when hosts change their Ethernet addresses. The
prevalence of proxy ARP (see Section 2.4 of [INTRO:2])
has significantly increased the likelihood that cache
entries in hosts will become invalid, and therefore
some ARP-cache invalidation mechanism is now required
for hosts. Even in the absence of proxy ARP, a long-
period cache timeout is useful in order to
automatically correct any bad ARP data that might have
been cached.
...
(2) Unicast Poll -- Actively poll the remote host by
periodically sending a point-to-point ARP Request
to it, and delete the entry if no ARP Reply is
received from N successive polls. Again, the
timeout should be on the order of a minute, and
typically N is 2.
echo <<<EOT
content="$name">";
EOT;
sorted_args = get_sorted_args(args, kwargs)
но при восстановлении бэкапа получил вот это
суть же не в объеме текста в поле, а в том, что условие LIKE '%abc%' не позволяет вообще использовать индекс. В результате сканируется таблица целиком.
Не уверен, что в вашем случае полнотекстовый поиск будет хорошим вариантом. Посмотрите в сторону расширения pg_trgm, оно позволяет использовать индекс для условий типа LIKE и (определенных) регулярных выражений.