import math


def compute_tlog_size(total_size):
    """
    compute the size of the tlog shard
    :param total_size: data size of the archive in GB
    :type total_size: int
    :return: size to use for tlog shard in GB
    :rtype: int
    """
    return math.ceil(total_size / 2000)