Table query only done at initialization.