db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3907) Save useful length information for Clobs in store
Date Fri, 09 Jan 2009 14:49:59 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kristian Waagan updated DERBY-3907:

    Attachment: derby-3907-2c-header_write_preparation-PREVIEW.stat

Attached 'derby-3907-2c-header_write_preparation-PREVIEW.diff'.
This is an early version of revision 2c. In general, Derby should behave as before, but it
should now have the framework it needs to handle multiple header formats for the streams coming
This is a partial solution only, Derby must also learn how to handle multiple header formats
for non-streaming situations. I expect most of these changes will come in SQLChar and SQLClob.
Finally, the new header format must be added.

I'm thinking about making StreamHeaderHolder immutable again, because the holder for a 10.4
header for a stream with unknown length will be used a lot. That way we can keep an instance
in SQLChar that can be shared. I'll look some more at it an comment further.

Feel free to have a look and give me some early feedback :)

> Save useful length information for Clobs in store
> -------------------------------------------------
>                 Key: DERBY-3907
>                 URL: https://issues.apache.org/jira/browse/DERBY-3907
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC, Store
>    Affects Versions:
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-3907-1a-alternative_approach.diff, derby-3907-2b-header_write_preparation.diff,
derby-3907-2b-header_write_preparation.diff, derby-3907-2b-header_write_preparation.stat,
derby-3907-2c-header_write_preparation-PREVIEW.diff, derby-3907-2c-header_write_preparation-PREVIEW.stat,
derby-3907-3a-readertoutf8stream_cleanup.diff, derby-3907-3a-readertoutf8stream_cleanup.diff,
derby-3907-3a-readertoutf8stream_cleanup.stat, derby-3907-3b-readertoutf8stream_cleanup.diff
> The store should save useful length information for Clobs. This allows the length to
be found without decoding the whole data stream.
> The following thread raised the issue on what information to store, and also contains
some background information: http://www.nabble.com/Storing-length-information-for-CLOB-on-disk-tp19197535p19197535.html
> The information to store, and the exact format of it, is still to be discussed/determined.
> Currently two bytes are set aside for length information, which is inadequate.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message