Couchbase compressed data storage

I’m trying to store data in couchbase in compressed form by using lookup table.
Could anyone suggest how could I do?
like transaction identity is save as Ti in couchbase but in UI we see transaction identity

What kind of lookup table? Couchbase is using snappy to compress your data on the disk. Future releases will also support compression for in-memory store and for network traffic.

What are you trying to achieve? Do you want to compress data on the client using LZ-like algorithm, but still want the server to understand it and index your data with views and n1ql?

like transaction identity is save as Ti in couchbase but in UI we see transaction identity.

UI shows what you have saved into the database. It does not know about conventions you are using in the application code.