Rotation linked DB version mismatch

gelius
Posts: 543
Joined: Wed Jan 23, 2013 2:48 pm

Re: Rotation linked DB version mismatch

Post by gelius »

В общем в итоге это получилось. По наблюдениям 50-я версия грузит мускуль не менее жестко, но при этом не отваливаются апач и nginx. Не знаю с чем связано.
На этом сайте был включен импорт из рсс и за состоянием базы не следил.
Сейчас всего 1342252, активных 383178, больше полляма ждут очереди на граб. Как быстро и эффективно все это подчистить оставив 50-100к уже отротированных тумб с самым высоким цтр?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Rotation linked DB version mismatch

Post by admin »

Удалить to grab
Усталить те где цтр меньше чем надо в rotation - special
Don't forget to run script update
gelius
Posts: 543
Joined: Wed Jan 23, 2013 2:48 pm

Re: Rotation linked DB version mismatch

Post by gelius »

Я так и делаю. Долго.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Rotation linked DB version mismatch

Post by admin »

Если у сам 1.3М тумб и вы хотите оставить из них 100к, те удалить 1.2М тумб то да, это занимает время.
Don't forget to run script update
gelius
Posts: 543
Joined: Wed Jan 23, 2013 2:48 pm

Re: Rotation linked DB version mismatch

Post by gelius »

То есть автоматизировать процесс никак?
Жму Delete low-CTR thumbs, каждый раз выдает marked for deletion не более 10к.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Rotation linked DB version mismatch

Post by admin »

Кол-во зависит от выставленных вами парамтеров
Don't forget to run script update
gelius
Posts: 543
Joined: Wed Jan 23, 2013 2:48 pm

Re: Rotation linked DB version mismatch

Post by gelius »

Отлично. Про параметры лучше подробнее.
В графе Delete low-CTR thumbs наблюдаются только два параметра:
Delete thumb if it has more then и and CTR less then
Когда пытаюсь удалить больше 10к за раз используя меню rotation -> list thumbs просто вылетает 502 Bad Gateway.
Возможность автоматически удалять некликабельные тумбы не давая бд разрастаться была бы очень кстати. Думаю не только мне актуально.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Rotation linked DB version mismatch

Post by admin »

В графе Delete low-CTR thumbs наблюдаются только два параметра:
Delete thumb if it has more then X shows и and CTR less then
да
один показы другой цтр.
какой их них не ясен ?



Есть в сеттингах ротации

Auto Delete Tested Thumbs
ie if gallery has 5 thumbs, all thumbs has been tested
we will delete all thumbs except X best thumbs
for example Best Limit = 2, we will delete 3 (5-2) worst thumbs.
you have the same MANUAL option in Rotation - Special.
The only difference - this one automatically checks DB once a day.
Don't forget to run script update
gelius
Posts: 543
Joined: Wed Jan 23, 2013 2:48 pm

Re: Rotation linked DB version mismatch

Post by gelius »

admin wrote: да
один показы другой цтр.
какой их них не ясен ?
Не ясно почему ставит на удаление не более 10к, и как это пофиксить. Ни один из этих сеттингов не решает проблему.
admin wrote: Есть в сеттингах ротации

Auto Delete Tested Thumbs
ie if gallery has 5 thumbs, all thumbs has been tested
we will delete all thumbs except X best thumbs
for example Best Limit = 2, we will delete 3 (5-2) worst thumbs.
you have the same MANUAL option in Rotation - Special.
The only difference - this one automatically checks DB once a day.
О чем это все? Вообще не понял как это может помочь.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Rotation linked DB version mismatch

Post by admin »

Вы написали что удаляет не более 10к из rotation - list thumb - или я не так понял ?
Возможность автоматически удалять некликабельные тумбы не давая бд разрастаться была бы очень кстати. Думаю не только мне актуально.
Auto Delete Tested Thumbs
ie if gallery has 5 thumbs, all thumbs has been tested
we will delete all thumbs except X best thumbs
for example Best Limit = 2, we will delete 3 (5-2) worst thumbs.
you have the same MANUAL option in Rotation - Special.
The only difference - this one automatically checks DB once a day.
Don't forget to run script update
Post Reply