Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compression of contents of a Long field 1

Status
Not open for further replies.

Custom24

Programmer
Nov 27, 2001
591
GB
Hi
We have a table which has a long field containing essentially clob (text) information.

The text compresses well by zip.

We'd like to compress the text, and have Oracle do this transparently on insert and select for us, ideally.

Is this at all possible?

The field may or may not have to remain a long - I am not sure yet.

A solution based on PL/SQL or Java triggers might only half work. The problem would be that application connecting to the db might extract the contents of the long by streaming it out, or might just get it in one go (like a regular varchar2 field). The unzip function would therefore need to be duplicated in the application code if this approach were taken.

Thanks for any suggestions.
Mark

Mark [openup]
 
Thank you. I will try it. I did not think of that.

Mark [openup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top