def parse_key(key):
    """Deconstructs a DB key into the timestamp and designator.
    """
    if not isinstance(key, str): key = key.decode()
    des, ts, = key.split(',')
    return (des, int(ts),)