KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ Partitioning Tables Intraday by Custom Fields? Re: Partitioning Tables Intraday by Custom Fields?

  • leahs

    Member
    November 11, 2021 at 12:00 am

    Hi all,

    A follow up question here: is it possible to disable querying for a SINGLE table in the query router (disable instances with GW and QR)?

    DS_LOG_REPLAY template uses these function to stop queries during writedown, but is it possible to do this on table by table basis to reduce downtime.

      disableServers[];
      // disable local services with QR
      .ds.serv.disableLocal[.ds.serv.rdbClasses, .ds.serv.ihdbClasses, .ds.serv.hdbClasses];

    Thanks,

    Leah