Re: Backup throttling

Поиск
Список
Период
Сортировка
От Antonin Houska
Тема Re: Backup throttling
Дата
Msg-id 522650C8.9090805@gmail.com
обсуждение исходный текст
Ответ на Re: Backup throttling  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 09/03/2013 06:56 PM, Alvaro Herrera wrote:

>> +            /*
>> +             * Only the following suffixes are allowed. It's not too useful to
>> +             * restrict the rate to gigabytes: such a rate will probably bring
>> +             * significant impact on the master anyway, so the throttling
>> +             * won't help much.
>> +             */
>> +        case 'g':
>> +            factor <<= 10;
> 
> I don't understand why you allow a 'g' here, given the comment above ...
> but in any case it should be G.
> 

This reflects my hesitation whether GB should be accepted as a unit or
not. I'll probably remove this suffix.

(Will fix the other findings too,)

Thanks,
Tony



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: logical changeset generation v5
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: WAL CPU overhead/optimization (was Master-slave visibility order)