Protein Production
293FT, 293E, CHO

Truly Functional Protein
95% Purity
1-10 mg in 2 weeks

GeneExpressoMax™
293Expresso™

Transfection Reagents
* 90% Efficiency
* 95% Viability
* No sera interference
* Simple protocol
* High-throughput
* Only $98/ml

Baculovirus
Functional Protein
95% Purity
Fast turnaround
1-10 mg from Sf9 cells

Adenovirus, AAV
& Lentivirus

ORF or shRNA
* High Titer
* Cre, FLP, ΦC31
* Protein Kinases
* Transcription Factors
* Luciferases, GFP, RFP
* Protein Production
* Stable Cell Line


Excellgen

Reorganize tables with a long column: Address table fragmentation in Oracle database using “Copy from …using” command

Tables with a long (or LOB) datatype column is tough to be reorganized once it becomes fragmented, you can not use “Alter table move tablespace” command, you can’t use “Create Table As Select” command either.

But now you still have an option: use “Copy from using” command:

connect deltek/xxx@fin;
set heading off;
set feedback off;
set pagesize 1000;
set linesize 120;
set echo off;
spool C:\Oracle\job\reorg\copy_from.sql;
select 'connect deltek/xxx@fin;' from dual;
select 'select count(*) FROM '|| table_name ||';'||chr(10)||
'COPY FROM deltek/xxx@fin create '|| table_name ||'_ USING select * from '|| table_name ||';'||chr(10)||
'drop table ' || table_name || ';'||chr(10)||
'rename ' || table_name || '_ to '|| table_name ||';'
from user_tables
where table_name in (select table_name from user_tables where tablespace_name='COSTPOINT_DATA' and NUM_ROWS>0 ) ;
select 'exit;' from dual;
spool off;

Then run copy_from.sql to reorganize the tables.

If there is a primary key-foreign key relationship in a table, constraints must be disabled in order to drop the table.

spool C:\Oracle\job\reorg\const.sql;
SELECT 'ALTER TABLE ' || table_name || '
DISABLE CONSTRAINT ' || constraint_name || ';'
FROM user_constraints where table_name
in (select table_name from user_tables where tablespace_name='COSTPOINT_DATA' );

spool off;

Then eable constraints:

SELECT 'ALTER TABLE ' || table_name || '
enable CONSTRAINT ' || constraint_name || ';'
FROM user_constraints;

You may also try dbms_redefinition to do reorganization.

Tags:

March 28, 2007 at 11:53 pm

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


Sponsored Links Excellgen http://www.labsupplymall.com

Transient Protein Expression in CHO and HEK293 Cells
Transient Expression, Truly Functional Protein, 95% purity, 1~20 mg, fast turnaround. $5500, $3950
Recombinant Lentivirus & Adenovirus
High Yield and High Titer up to 1010 (lentivirus) and 1013 (adenovirus) for Guaranteed Expression of GOI. $3000, $2500
Baculovirus Protein Expression
Fast turn around, >95% purity functional protein. No outsourcing to China or India. $5500, $3950