Subject | Re: [Firebird-Java] Re: Picture Servlet Problems possibly OT |
---|---|
Author | Ann W. Harrison |
Post date | 2003-06-09T16:11:09Z |
At 03:39 PM 6/9/2003 +0000, Roman Rokytskyy wrote:
convenience of tools. The length parameter on the call determines
the actual length of a particular segment.
16K at at time, or less if you pass a smaller buffer.
Regards,
Ann
>Can actual length of one segment be bigger than segment length definedYes. The ddl statement is purely descriptive and exists for the
>in DDL statement?
convenience of tools. The length parameter on the call determines
the actual length of a particular segment.
>Do I understand you correctly, that each call to isc_get_segment willRight. Not, of course, with stream blobs.
>get _only one_ segment? So, when I have 16k buffer and 1k segment, I
>will need to call isc_get_segment 16 times?
>What happens in isc_put_segment if blob has 1k segments defined andOne segment of 16K bytes. And that's how get_segment will return it -
>I'm writing 16k bytes? Will it be stored as 1 segment of 16k size, or
>will it be stored as 16 segments of 1k size?
16K at at time, or less if you pass a smaller buffer.
>What happens if the size of the segment is bigger than page size? IsSure. There's no mapping between pages and segments.
>such situation allowed?
Regards,
Ann