KX Community

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

Home Forums KX Solutions RDB/IHDB/HDB – What is the best way of a copy of the values of an in-memory table? Re: RDB/IHDB/HDB – What is the best way of a copy of the values of an in-memory table?

  • Laura

    Administrator
    July 7, 2021 at 12:00 am

    Hi Kate and David,

    Both of your tips were great, thank you very much

    It seems I will have to adopt the solution for on-disk tables that Kate suggested because the function doSomething is routed to the IHDB and performs its operations on on-disk tables.

    So, when people is an on-disk table, if i try pass by value:

    people: `name xkey people

    then the IHDB throws a int error message
    if i do:

    `name xkey select from people

    then the IHDB is happy. Since I won’t dare to change the key of my table on the IHDB, it looks like pulling the values to the memory first is the safest option.

    Thanks again!