Connor and Chris will both be at AI World from October 12 to October 17 , the premier Oracle conference of 2025. If you're in Vegas, please come say Hi or pop into our sessions
Thanks for the question, Tae.
Asked: May 16, 2017 - 12:15 pm UTC
Last updated: May 17, 2017 - 4:01 pm UTC
Version: Oracle 12.1.0.2
Viewed 1000+ times
create table contracts_sec_fs ( contract_id number(12), contract_name varchar2(80), file_size number, orig_file blob ) tablespace users lob (orig_file) store as securefile ( tablespace users enable storage in row chunk 8192 pctversion 20 nocache filesystem_like_logging )
CREATE TABLE "CHAD"."CONTRACTS_SEC_FS" ( "CONTRACT_ID" NUMBER(12,0), "CONTRACT_NAME" VARCHAR2(80 BYTE), "FILE_SIZE" NUMBER, "ORIG_FILE" BLOB ) SEGMENT CREATION DEFERRED PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING TABLESPACE "USERS" LOB ("ORIG_FILE") STORE AS SECUREFILE ( TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 NOCACHE NOLOGGING NOCOMPRESS KEEP_DUPLICATES ) ;
Complete documentation on Securefiles and Large Objects here