KX Community

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

Home Forums kdb+ insert into global table in peach Re: insert into global table in peach

  • sstantoncook

    Member
    October 7, 2021 at 12:00 am

    The q insert is highly optimised, it can handle millions of rows a second per core.

    The insert must be performed in the main thread to ensure data consistency and sequencing. This is why it cannot by run with peach, even though in this example it is appending to different tables.

    What use case is there to insert identical data into two tables? There may be a more appropriate process architecture to manage these tables or mechanism to achieve the same result.