RE: Oracle 12c extended VARCHAR - LOB segment grows indefinitely
From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Tue, 26 Jan 2016 23:12:39 +0000
Message-ID: <CE70217733273F49A8A162EE074F64D9282BFA92_at_EXMBX01.thus.corp>
Date: Tue, 26 Jan 2016 23:12:39 +0000
Message-ID: <CE70217733273F49A8A162EE074F64D9282BFA92_at_EXMBX01.thus.corp>
Another thought, that depends on what you're users are prepared to put up with and the limit you want to impose on the effort/risk, you could do simply: alter table blob_test move; alter index bt_pk rebuild; after the commit. The move locks the table, as does the rebuild, but the LOB segment for the extended varchar gets moved at the same time as the rest of the table (which is not true for normal LOB segments). Regards Jonathan Lewis http://jonathanlewis.wordpress.com _at_jloracle ________________________________________ From: Jonathan Lewis Sent: 25 January 2016 16:25 To: thomas.kellerer_at_mgm-tp.com; oracle-l_at_freelists.org Subject: RE: Oracle 12c extended VARCHAR - LOB segment grows indefinitely Thomas, I said you would get the same problem with a CLOB because I ran your model on 12.1.0.2 then changed the varchar2(32000) to CLOB and got the same size problem. I've just run the test on 11.2.0.4 - and the same thing occurs - massive overallocation for ASSM, relatively small overallocation for freelist management. How have you defined the CLOB in 11.2, and what's the tablespace definition ? (and which version of 11.2?) Regards Jonathan Lewis http://jonathanlewis.wordpress.com _at_jloracle --http://www.freelists.org/webpage/oracle-l Received on Wed Jan 27 2016 - 00:12:39 CET