Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 82618 invoked from network); 19 Jan 2009 13:36:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jan 2009 13:36:29 -0000 Received: (qmail 78595 invoked by uid 500); 19 Jan 2009 13:36:28 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 78571 invoked by uid 500); 19 Jan 2009 13:36:28 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 78561 invoked by uid 99); 19 Jan 2009 13:36:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 05:36:28 -0800 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 13:36:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A19F5234C48C for ; Mon, 19 Jan 2009 05:35:59 -0800 (PST) Message-ID: <371528912.1232372159660.JavaMail.jira@brutus> Date: Mon, 19 Jan 2009 05:35:59 -0800 (PST) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3934) Improve performance of reading modified Clobs In-Reply-To: <784215246.1225881704489.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-3934: ----------------------------------- Attachment: derby-3934-5a-UTF8Reader_cleanup.diff Patch 5a removes a constructor and a method called only from that constructor. Updated the code in EmbedCallableStatement20 to use the new constructor. Running regression tests, will commit tomorrow if the tests pass. > Improve performance of reading modified Clobs > --------------------------------------------- > > Key: DERBY-3934 > URL: https://issues.apache.org/jira/browse/DERBY-3934 > Project: Derby > Issue Type: Improvement > Components: JDBC > Affects Versions: 10.5.0.0 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Fix For: 10.5.0.0 > > Attachments: derby-3934-1a-clob_replace_test.diff, derby-3934-2a-intclob_new_methods.diff, derby-3934-3a-clobupdreader_utf8reader.diff, derby-3934-3a-clobupdreader_utf8reader.stat, derby-3934-4a-getinternalreader_cachedlength.diff, derby-3934-5a-UTF8Reader_cleanup.diff > > > The performance of reading modified Clobs is poor, which is demonstrated by running a test program selecting a 10 MB Clob and then getting the contents using getSubString: > - unmodified Clob (StoreStreamClob) : ~1 300 ms > - modified Clob (TemporaryClob): ~156 000 ms > In this case, the Clob was modified by changing the first character. > A number of subtasks will be created to handle the various issues, which will be related to both performance and code cleanup. > For a brief overview, see http://www.nabble.com/Suggestion-for-improving-ClobUpdatableReader-and-related-code-to20308303.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.