169 похожих чатов

Hi team good evening we have one production server in

my environment so there daily basis application team doing dml operation mostly insert and delete they fetching 1m record also but some how they facing slowness issue some of the tables and table size max is 50gb so we scheduled vacuum analyze script in cron 6pm 7pm n 8pm for business requirement but still they asking to do manual vacuum so I want to fix this permanently any help please ? Thanks in advance..

4 ответов

16 просмотров

The thing with that much updates and deletes is a problem. Both are increasing the tables with bloat. Depending on the data I would check if the tables could at least be partioned. Dropping a partition is much less bloat than to delete data. For the updates, check what's really necessary and try to decrease the volume, in addition adjust autovacuum on that tables.

Prakash-R Автор вопроса
Stefanie Janine Stölting
The thing with that much updates and deletes is a ...

Okay but actually we don’t have partition on those tables only one big table 50gb giving issue so how can do a permanent fix ? Auto vacuum running and it’s default values , can we do set auto vacuum aggressively these tables? It will help or not

Prakash R
Okay but actually we don’t have partition on those...

Change it, development and DBA jobs are an ongoing process, nothing that is finished ;)

Похожие вопросы

Обсуждают сегодня

Какой-то там пердун в 90-х решил, что есть какая-то разная типизация. Кого вообще это волнует?
КТ315
49
void terminal_scroll() { memmove(terminal_buffer, terminal_buffer + VGA_WIDTH, buffer_size - VGA_WIDTH); memset(terminal_buffer + buffer_size - VGA_WIDTH, 0, VGA_WIDTH); ...
Егор
47
Всем привет! Подскажите, пожалуйста, в чем ошибка? Настраиваю подключение к MySQL. Либы лежат рядом с exe. Все как по "учебнику"
Евгений
16
А можете как-то проверить меня по знаниям по ассемблеру?
A A
132
Здравствуйте! У меня появилась возможность купить книгу "Изучай Haskell во имя добра!". Но я где-то слышал, что эта книга устарела. Насколько это правда??
E
22
Здравствуйте! Я вот на stepic решаю задачи на хаскеле https://stepik.org/lesson/8443/step/8?unit=1578 мой код import Data.List (isInfixOf) removing :: String -> [String] ->...
E
10
Камрады, кто тесно работал с vtv, хотел уточнить. Ширина column задаётся жёстко на этапе создания дерева или можно в рантайме ее менять программно (не мышкой)?
Ed Doc
10
да ладно ... что там неочевидного ? глянуть в исх-ки датасета и/или кверика чтобы понять в каком месте и как выполняется обращения к св-вам blablaSQL - минутное дело, даже е...
Сергей
7
Здесь для arm кто-нибудь кодит ?
Nothing
52
Всем привет, у меня есть сервер принимающий входящие HTTP подключения, как проверить, что подключение было через прокси или нет, есть какие то поля в заголовках по которым мо...
DS
8
Карта сайта