KX Community

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

Home Forums kdb+ Size of message received by .z.pg/.z.ps

  • Size of message received by .z.pg/.z.ps

    Posted by nugend on April 27, 2022 at 12:00 am

    Hi,

     

    Wondering if there was any way to get the size of the message that was sent to .z.pg/.z.ps aside from re-serializing with -8!

     

    Having to re-serialize would be very costly for larger messages, so it’d be nice if there was a variable like .z.u or .z.a that could just be accessed.

    nugend replied 8 months, 1 week ago 1 Member · 1 Reply
  • 1 Reply
  • nugend

    Member
    April 27, 2022 at 12:00 am

    Ah, nm. Thought about it a bit more and realized Q would just be running -22! to do a count since the on-the-wire size would be compressed anyway.

Log in to reply.