|
we have a procedure...
dcl-pi
i_5000000 varchar(5242880) value;
end-pi;
dcl-s g_clob sqltype(clob:5242880) inz;
g_clob_data = i_5000000;
g_clob_len = %len(g_clob_data);
insert into table(myClob)
values (:g_clob);
thoughts?
Jay
On Tue, Apr 16, 2024 at 9:31 AM Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:
If you have RPG code writing out the table, I'd look there first.should
Make sure the RPG code is properly handling the varchar data.
Charles
On Tue, Apr 16, 2024 at 7:00 AM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:
So Charles,clob
We have a table developed to hold a request clob (5mb) and a response
(5mb) ONLY for storage and auditing purposes.
Not to run queries against.
We have been finding out that some off platform load tests are being
performed and even though the api calls to put rows in this table
boxhave 1mb or less requests/responses, we are maxing out the DASD on that
test box and this table ends up with 821G of data.
Again our requests/responses should be well under 1mb each.
So is this table just a bad idea or are we simply over dominating the
Onewith our load test volume?these
Next time this happens I really want to look at the rows and see what
columns have in them.table...
thanks
Jay
On Mon, Apr 15, 2024 at 6:51 PM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:
Thanks Charles.
I’lllook into the allocate but big relief on the storage concern.
Jay
On Apr 15, 2024, at 5:44 PM, Charles Wilt <charles.wilt@xxxxxxxxx>wrote:
Nope...
variable length data is stored in the overflow section of the
Downside of that is that when you read the row, it takes 2 I/Os.
lookfor
the row space and one for the overflow.
If you were mostly writing less that 32k, I'd tell you to take a
I/Oat
the ALLOCATE clause. That does cause space to be reserved in thestandard
table space. Which wastes space, but then the data only needs 1
torelated
jeffersonvaughn@xxxxxxxxxbe
read.
Charles
On Mon, Apr 15, 2024 at 2:20 PM Jay Vaughn <
64k
wrote:
Let’s say I have a table with a 5mb clob column.
Most of my transactions that write to the table mostly consist of
higherand
less chars written to the clob but we want to reserve the much
5mbstorage allocation for when we need it
When the 64k chars are written to that clob on the row, the entire
mailingof
storage is not written to disk is it??
Tia
Jay
Sent from my iPhone
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailinglist
relatedTo post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
questions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
listlist--
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxxrelated questions.
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
listquestions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.