{"id":591,"date":"2015-07-16T15:47:13","date_gmt":"2015-07-16T07:47:13","guid":{"rendered":"http:\/\/www.royalwzy.com\/?p=591"},"modified":"2015-09-10T21:53:02","modified_gmt":"2015-09-10T13:53:02","slug":"securefile-lobs-and-basicfile-lobs","status":"publish","type":"post","link":"http:\/\/www.royalwzy.com\/?p=591","title":{"rendered":"SecureFile LOBs and BasicFile LOBs"},"content":{"rendered":"<p>oracle11g\u63a8\u51fa\u4ee5\u540e\u6709\u4e86\u4e00\u79cd\u65b0\u7684LOBS\u7684\u5b58\u50a8\u6a21\u5f0f\u53eb\u505aSecureFile LOBs  \u4e0e\u4e4b\u533a\u522b \u628a\u4ee5\u524d\u4f7f\u7528\u7684\u53eb\u505abasicFile Lobs<br \/>\n\u6839\u636e\u5b98\u65b9\u6587\u6863\u4e0a\u7684\u8bf4\u6cd5 secure\u662f\u54ea\u54ea\u90fd\u597d\u3002\u63d0\u4f9b\u4e86\u538b\u7f29 \u91cd\u590d\u6d88\u9664 \u52a0\u5bc6\u7b49\u65b0\u7684\u529f\u80fd \u4f46\u662fbasicFile Lobs\u4f9d\u7136\u662fdefault\u7684<br \/>\nsecureFime\u7684\u7528\u6cd5\u662f\u901a\u8fc7\u5728LOB\u5b58\u50a8\u5b50\u53e5\u540e\u6dfb\u52a0SECUREFILE\u5173\u952e\u5b57\u6765\u521b\u5efa<br \/>\n\u6700\u7b80\u5355\u7684\u4e00\u79cd\u5199\u6cd5\uff1a<br \/>\nSQL&gt; CREATE TABLE images (<br \/>\n2    id         NUMBER,<br \/>\n3    i_data  CLOB<br \/>\n4  )<br \/>\n5  LOB(i_data) STORE AS BASICFILE;<\/p>\n<p>Table created<\/p>\n<p>SQL&gt; CREATE TABLE images2 (id         NUMBER,<br \/>\n2  i_data  CLOB<br \/>\n3  )<br \/>\n4  LOB(i_data) STORE AS SECUREFILE;<\/p>\n<p>Table created.<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/>\nSecurefile\u5217\u6807\u660e\u4e86\u662f\u5426\u4e3aSecureFile\u7c7b\u578b\u7684LOB<br \/>\nSQL&gt; SELECT TABLE_NAME,SEGMENT_NAME,INDEX_NAME,SECUREFILE FROM DBA_LOBS WHERE TABLE_NAME like \u2018IMAGES%&#8217;;<\/p>\n<p>TABLE_NAME                     SEGMENT_NAME<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/>\nINDEX_NAME                     SEC<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 \u2014<br \/>\nIMAGES                         SYS_LOB0000076951C00002$$<br \/>\nSYS_IL0000076951C00002$$       NO<\/p>\n<p>IMAGES2                        SYS_LOB0000076948C00002$$<br \/>\nSYS_IL0000076948C00002$$       YES<br \/>\nSecurefile<\/p>\n<p>\u4f7f\u7528Securefile LOB\u7684\u8868\u4e5f\u662f\u81ea\u52a8\u751f\u6210LOB segment\u548cLOB index\u7684\u3002<br \/>\n\u4f46\u662f\u6b64\u65f6LOB index\u53ea\u6709\u5728\u4f7f\u7528\u91cd\u590d\u6d88\u9664\u529f\u80fd\u65f6\u624d\u4f1a\u4f7f\u7528\uff0c\u5728\u5176\u4ed6\u60c5\u51b5\u4e0b\u4e0d\u4f1a\u4f7f\u7528<\/p>\n<p>SQL&gt; CREATE TABLE images2 (id         NUMBER,<br \/>\n2  i_data  CLOB<br \/>\n3  )<br \/>\n4  LOB(i_data) STORE AS SECUREFILE<br \/>\n5  ;<br \/>\nCREATE TABLE images2 (id         NUMBER,<br \/>\n*<br \/>\nERROR at line 1:<br \/>\nORA-43853: SECUREFILE lobs cannot be used in non-ASSM tablespace \u201cSYSTEM\u201d<br \/>\n\u8981\u6ce8\u610f\uff0cSecurefile LOB\u53ea\u80fd\u5728ASSM\u7684\u8868\u7a7a\u95f4\uff08\u81ea\u52a8\u7ba1\u7406\u7684\u8868\u7a7a\u95f4\uff09\u91cc\u521b\u5efa\uff0c<br \/>\n\u4e0d\u8fc7\u65e2\u7136\u4ece9i\u8d77ASSM\u8868\u7a7a\u95f4\u5c31\u662f\u9ed8\u8ba4\u8bbe\u7f6e\u4e86\uff0c\u4e00\u822c\u8fd9\u91cc\u4e0d\u4f1a\u6709\u591a\u5927\u95ee\u9898\u3002<br \/>\n\u53ea\u662f\u8981\u6c42SecureLOB\u6240\u5728\u7684LOB\u5217\u6570\u636e\u9700\u8981\u5b58\u653e\u5728ASSM\u8868\u7a7a\u95f4\u4e2d\uff0c\u800c\u5305\u542bLOB\u5217\u7684\u90a3\u4e2a\u8868\u53ef\u4ee5\u4e0d\u662f<br \/>\nCREATE TABLE images2 (id         NUMBER,i_data  CLOB) LOB(i_data) STORE AS SECUREFILE (tablespace ucjmh);<br \/>\nSQL&gt; conn \/ as sysdba<br \/>\nConnected.<br \/>\nSQL&gt; CREATE TABLE images2 (id         NUMBER,i_data  CLOB) LOB(i_data) STORE AS SECUREFILE (tablespace ucjmh);<\/p>\n<p>Table created.<\/p>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2013<br \/>\nSQL&gt; show parameter DB_SECUREFILE<\/p>\n<p>NAME                                 TYPE        VALUE<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 \u2014\u2014\u2014\u2013 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/>\ndb_securefile                        string      PERMITTED<\/p>\n<p>\u8fd9\u4e2a\u503c\u7684\u53d6\u503c\u8303\u56f4\u6709\uff1a<br \/>\nDB_SECUREFILE = { NEVER | PERMITTED | ALWAYS | IGNORE }<br \/>\nPERMITTED   \u662f\u9ed8\u8ba4\u7684 \u5c31\u662f\u5f53\u4f60\u6307\u5b9a\u662f\u4ec0\u4e48\u7684\u65f6\u5019\u5c31\u662f\u4ec0\u4e48<br \/>\nFORCE  \u662fORA-43853\u7684\u6765\u6e90 \u610f\u601d\u5c31\u662f\u4e0d\u7ba1\u4f60\u662f\u5426\u6307\u5b9a\u7528SecureFile \u521b\u5efa\u7684\u65f6\u5019\u90fd\u662f\u7528Securefile \u5982\u679c\u4e0d\u662f\u5728ASSM\u7684\u8868\u7a7a\u95f4 \u90a3\u4e48\u5c31\u62a5ORA-43853<br \/>\nALWAYS  \u610f\u601d\u5c31\u662f\u4e0d\u7ba1\u4f60\u662f\u5426\u6307\u5b9a\u7528SecureFile \u521b\u5efa\u7684\u65f6\u5019\u90fd\u662f\u7528Securefile \u4f46\u662f\u5982\u679c\u4f60\u662f\u975eASSM\u7684\u8868\u7a7a\u95f4 \u90a3\u5c31\u662fBASICFILE  \u5982\u679c\u975eASSM\u7684\u65f6\u5019\u4f60\u8fd8\u663e\u793a\u7684\u6307\u5b9a\u4e86\u7528SecureFiLE \u90a3\u4e5f\u62a543853<br \/>\nNEVER  \u662f\u4e0d\u7ba1\u600e\u4e48\u6837\u90fd\u662fBasicFile   \u5982\u679c\u6307\u5b9a\u4e86\u4e00\u4e9b\u52a0\u5bc6\u6216\u538b\u7f29\u4e4b\u7c7b\u7684\u53c2\u6570\u90a3\u4e48\u5c31\u62a5ORA-43853<br \/>\nIGNORE  \u662f\u4e0d\u7ba1\u600e\u4e48\u6837\u90fd\u662fBasicFile \u5982\u679c\u6307\u5b9a\u4e86\u4e00\u4e9b\u52a0\u5bc6\u6216\u538b\u7f29\u4e4b\u7c7b\u7684\u53c2\u6570\u4e5f\u4e0d\u62a5\u9519\u3002<\/p>\n<p>chunk:<br \/>\n\u5728BasicFile\u7684LOB\u4e2d\uff0cChunk\u7684\u5927\u5c0f\u662f\u4e00\u5b9a\u7684\uff0c\u6700\u5c0f\u8ddfDB Block\u7684\u5927\u5c0f\u4e00\u6837\uff0c\u6700\u5927\u4e3a32KB<br \/>\n\u2013\u4e00\u4e2achunk\u6700\u591a\u53ea\u4fdd\u7559\u4e00\u884cLOB\u6570\u636e\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u5982\u679c\u4f60\u8bbe\u7f6e\u4e8632K\u7684CHUNK\uff0c\u4f46\u662f\u5982\u679cLOB\u5b57\u6bb5\u5927\u5c0f\u53ea\u67094K\uff0c\u4e5f\u5c06\u5360\u752832K\u7684\u7a7a\u95f4<br \/>\n\u800c\u5728SecureFile\u4e2d\uff0cchunk\u7684size\u662f\u53ef\u53d8\u7684\uff0c\u7531Oracle\u81ea\u52a8\u52a8\u6001\u5206\u914d\uff0c\u6700\u5c0f\u8ddfDB Block\u7684\u5927\u5c0f\u4e00\u6837\uff0c\u6700\u5927\u4e3a64MB<br \/>\n\u2013\u6307\u5b9a\u7684\u503c\u6700\u597d\u662f\u6570\u636e\u5e93\u5757\u7684\u500d\u6570,\u800c\u4e14\u6307\u5b9a\u7684\u503c\u4e0d\u80fd\u5927\u4e8e\u8868\u7a7a\u95f4\u533a\u95f4\u4e2dNEXT\u7684\u503c<\/p>\n<p>\u5f53\u6307\u5b9aenable storage in row\u7684\u65f6\u5019\uff0c\u5f53lob size =4000 bytes\u7684\u65f6\u5019,\u5c06\u5b58\u50a8\u5728lob\u6bb5\u91cc\u9762\uff0c\u5176\u5b58\u50a8\u65b9\u5f0f\u548c\u8868\u6bb5\u5b58\u50a8\u65b9\u5f0f\u5b8c\u5168\u4e0d\u4e00\u6837\uff0c\u4f7f\u7528\u7684\u662fchunk\u4e3a\u6700\u5c0f\u5355\u4f4d\u7684\u5b58\u50a8\uff0c\u6ca1\u6709\u884c\u8fc1\u79fb\u548c\u884c\u94fe\u63a5\u7684\u6982\u5ff5\u3002<br \/>\n\u5982\u679c\u8bbe\u7f6e\u4e86enable storage in row \u90a3\u4e48oracle\u4f1a\u81ea\u52a8\u5c06\u5c0f\u4e8e4000bytes\u7684\u6570\u636e\u5b58\u50a8\u5728\u884c\u5185, \u8fd9\u662fORACLE\u7684\u9ed8\u8ba4\u503c\uff0c<br \/>\n\u5bf9\u4e8e\u5927\u4e8e4000\u5b57\u8282\u7684lob\u5b57\u6bb5\u4fdd\u5b58\u5728lob\u6bb5\uff08\u540cdisable storage in row\uff09\uff0c\u5728\u8868\u6bb5\u5c06\u4fdd\u755936-84\u5b57\u8282\u7684\u63a7\u5236\u4fe1\u606f\u3002<br \/>\n\u5bf9\u4e8edisable storage in row\uff0cOracle\u5c06lob\u5b57\u6bb5\u5206\u5f00\u4fdd\u5b58\u5728lob\u6bb5\u4e2d\uff0c\u800c\u4ec5\u4ec5\u5728\u884c\u4f4d\u7f6e\u4fdd\u755920\u5b57\u8282\u7684\u6307\u9488\u3002<br \/>\n\u5bf9\u4e8e\u76f8\u5f53\u4e8edisable storage in row\u7684\u8fd9\u90e8\u5206\uff08\u4e5f\u5c31\u662f\u5355\u72ec\u4fdd\u5b58\u5728LOB\u6bb5\u7684\u8fd9\u90e8\u5206\u6570\u636e\uff09\uff0cUNDO\u4ec5\u4ec5\u662f\u8bb0\u5f55\u6307\u9488\u4e0e\u76f8\u5173lob\u7d22\u5f15\u6539\u53d8\uff0c\u5982\u679c\u53d1\u751f\u66f4\u65b0\u64cd\u4f5c\u7b49DML\u64cd\u4f5c\uff0c\u539f\u59cb\u6570\u636e\u5c06\u4fdd\u7559\u5728LOB\u6bb5<br \/>\nDISABLE STORAGE IN ROW:\u5982\u679cDISABLE\u8fd9\u4e2a\u5c5e\u6027,\u90a3\u4e48lob\u6570\u636e\u4f1a\u5728\u884c\u5916\u5b58\u50a8,\u884c\u5185\u53ea\u5b58\u50a8\u8be5lob\u503c\u5f97\u6307\u9488,\u800c\u4e14\u8fd9\u4e2a\u5c5e\u6027\u5728\u8868<br \/>\nstorage as(cache|nocahce)\u8868\u793a\u662f\u5426\u5141\u8bb8lob\u6bb5\u7ecf\u8fc7buffer cache\u5e76\u7f13\u5b58\u3002\u9ed8\u8ba4\u662fnocache\uff0c\u8868\u793a\u76f4\u63a5\u8bfb\u4e0e\u76f4\u63a5\u5199\uff0c\u4e0d\u7ecf\u8fc7\u6570\u636e\u5e93\u7684data buffer\u3002\u6240\u4ee5\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5bf9\u4e8e\u5355\u72ec\u4fdd\u5b58\u5728LOB\u6bb5\u7684\u8fd9\u90e8\u5206\u6570\u636e\uff0c\u5728\u53d1\u751f\u7269\u7406\u8bfb\u7684\u65f6\u5019\uff0c\u662f\u76f4\u63a5\u8bfb\uff0c\u5982direct path read (lob)<\/p>\n<p>storage as(nocache logging |nocache nologging)\uff0clogging\/nologging\u5c5e\u6027\u53ea\u5bf9nocache\u65b9\u5f0f\u751f\u6548\uff0c\u9ed8\u8ba4\u662flogging\uff0c\u5982\u679c\u662fnologging\u65b9\u5f0f\uff0c\u5bf9\u4e8e \u4fdd\u5b58\u5728\u884c\u5916\u7684log\u90e8\u5206\uff0c\u5728update\u7b49DML\u64cd\u4f5c\u65f6\u5c06\u4e0d\u8bb0\u5f55redo\u65e5\u5fd7<\/p>\n<p>PCTVERSION integer\u3001RETENTION:\u90fd\u662fORACLE\u7528\u6765\u7ba1\u7406LOB\u5b57\u6bb5\u955c\u50cf\u6570\u636e\u7684\u3002\u5728LOB \u6570\u636e\u7684\u66f4\u65b0\u8fc7\u7a0b\u4e2d,<br \/>\nORACLE\u6ca1\u6709\u7528UNDO TABLESPACE\u7a7a\u95f4\uff0c\u800c\u662f\u4eceLOB\u5b57\u6bb5\u6240\u5728\u7684\u8868\u7a7a\u95f4\u91cc\u5212\u5206\u4e00\u6bb5\u7a7a\u95f4\u6765\u505a\u955c\u50cf\u7a7a\u95f4\u7684,<br \/>\n\u8fd9\u4e2a\u7a7a\u95f4\u7684\u5927\u5c0f\u7531PCTVERSION\u53c2\u6570\u63a7\u5236,\u9ed8\u8ba4\u503c\u4e3a10,\u4ee3\u8868\u5212\u5206\u8868\u7a7a\u95f4\u768410%\u4f5c\u4e3a\u955c\u50cf\u7a7a\u95f4,<br \/>\n\u6bcf\u4e2a\u955c\u50cf\u7a7a\u95f4\u7684\u5355\u5143\u5927\u5c0f\u7531CHUNK\u53c2\u6570\u6307\u5b9a,pctversion\u53ef\u4ee5\u4f7f\u7528\u5728manual undo mode\u548cautomatic undo mode \u73af\u5883\u4e2d<br \/>\nretention\u5e94\u7528\u4e86automatic undo mode\u4e2d\u7684undo_retention\u901a\u8fc7\u65f6\u95f4\u6765\u7ba1\u7406lob\u955c\u50cf\u7a7a\u95f4.<br \/>\npctversion\u548cretention\u4e0d\u80fd\u540c\u65f6\u88ab\u6307\u5b9a.\u5efa\u8bae\u6570\u636e\u5e93\u5728automatic undo mode\u4e0b\u4f7f\u7528retention\u53c2\u6570<\/p>\n<p>SecureFile\u7684COMPRESS\u9009\u9879\u5728\u8868\u6216\u5206\u533a\u4e00\u7ea7\u4e0a\u5f00\u542f\u4e86\u5bf9LOB\u5185\u5bb9\u7684\u538b\u7f29\uff0c\u4f7f\u7528\u5173\u952e\u5b57MEDIUM\u548cHIGH\u8868\u793a\u538b\u7f29\u7684\u7b49\u7ea7\uff0c<br \/>\n\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u538b\u7f29\u7b49\u7ea7\uff0c\u5c31\u9ed8\u8ba4\u4e3aMEDIUM\uff0c\u5bf9LOB\u5185\u5bb9\u8fdb\u884c\u538b\u7f29\u4f1a\u589e\u52a0\u7cfb\u7edf\u5f00\u9500\uff0c<br \/>\n\u56e0\u6b64\u4f7f\u7528\u9ad8\u7b49\u7ea7\u7684\u538b\u7f29\u53ef\u80fd\u4f1a\u5bf9\u7cfb\u7edf\u6027\u80fd\u4ea7\u751f\u4e0d\u826f\u5f71\u54cd\uff0cSecureFile LOB\u7684\u538b\u7f29\u529f\u80fd\u4e0d\u5f71\u54cd\u8868\u538b\u7f29\uff0c\u53cd\u4e4b\u4ea6\u7136<br \/>\nSecureFile LOB\u7684\u52a0\u5bc6\u529f\u80fd\u4f9d\u8d56\u4e8e\u94b1\u5939\u6216\u786c\u4ef6\u5b89\u5168\u6a21\u578b\uff08HSM\uff09\u638c\u7ba1\u52a0\u5bc6\u5bc6\u94a5\uff0c\u94b1\u5939\u8bbe\u7f6e\u4e0e\u900f\u660e\u6570\u636e\u52a0\u5bc6\uff08TDE\uff09\u548c\u8868\u7a7a\u95f4\u52a0\u5bc6\u63cf\u8ff0\u7684\u4e00\u6837\uff0c<br \/>\n\u56e0\u6b64\u5728\u5c1d\u8bd5\u4e0b\u9762\u7684\u4f8b\u5b50\u524d\u5148\u5b8c\u6210\u90a3\u4e24\u4e2a\u5b9e\u9a8c\u3002SecureFile\u7684ENCRYPT\u9009\u9879\u6267\u884c\u5757\u7ea7\u522b\u7684LOB\u5185\u5bb9\u52a0\u5bc6\uff0c<br \/>\n\u4e00\u4e2a\u53ef\u9009\u7684USING\u5b50\u53e5\u5b9a\u4e49\u4e86\u4f7f\u7528\u54ea\u79cd\u52a0\u5bc6\u7b97\u6cd5\uff083DES168, AES128, AES192, \u6216AES256\uff09\uff0c\u9ed8\u8ba4\u4f7f\u7528AES192\u7b97\u6cd5\uff0c<br \/>\nNO SALT\u9009\u9879\u5bf9\u4e8eSecureFile\u52a0\u5bc6\u4e0d\u53ef\u7528\uff0c\u52a0\u5bc6\u662f\u5e94\u7528\u5728\u6bcf\u4e00\u5217\u4e0a\u7684\uff0c\u56e0\u6b64\u5b83\u4f1a\u5f71\u54cd\u6240\u6709\u4f7f\u7528LOB\u7684\u5206\u533a\uff0cDECRPT\u9009\u9879\u7528\u4e8e\u660e\u786e\u5730\u963b\u6b62\u52a0\u5bc6<br \/>\n\u52a0\u5bc6\u662f\u4e0d\u53d7imp\/exp\u6216\u8868\u7a7a\u95f4\u4f20\u8f93\u652f\u6301\u7684\uff0c\u56e0\u6b64\u5fc5\u987b\u4f7f\u7528impdp\/exddp\u6765\u4f20\u8f93\u6570\u636e<\/p>\n<p>BasicFile\u548cSecureFile LOB\u5171\u4eab\u4e86\u90e8\u5206\u57fa\u7840\u7684\u7f13\u5b58\u548c\u65e5\u5fd7\u9009\u9879\uff0c\u5e38\u89c1\u7684\u7f13\u5b58\u9009\u9879\u6709\uff1a<br \/>\nCACHE \u2013 LOB\u6570\u636e\u88ab\u653e\u5728\u7f13\u51b2\u533a\u4e2d\u3002<br \/>\nCACHE READES \u2013 \u4ec5\u8bfb\u53d6LOB\u6570\u636e\u8fc7\u7a0b\u4e2d\u5b83\u653e\u5728\u7f13\u51b2\u533a\u4e2d\uff0c\u5199\u64cd\u4f5c\u65f6\u4e0d\u653e\u8fdb\u53bb\u3002<br \/>\nNOCACHE \u2013 LOB\u6570\u636e\u4e0d\u653e\u5728\u7f13\u51b2\u533a\u4e2d\uff0c\u8fd9\u662fBasicFile\u548cSecureFile LOB\u7684\u9ed8\u8ba4\u503c\u3002<br \/>\n\u57fa\u672c\u7684\u65e5\u5fd7\u9009\u9879\u6709\uff1a<br \/>\nLOGGING \u2013 \u521b\u5efa\u548c\u4fee\u6539LOB\u65f6\u4ea7\u751f\u5b8c\u5168\u91cd\u505a\u65e5\u5fd7\uff0c\u8fd9\u662f\u9ed8\u8ba4\u8bbe\u7f6e\u3002<br \/>\nNOLOGGING \u2013 \u64cd\u4f5c\u4e0d\u8bb0\u5f55\u5728\u91cd\u505a\u65e5\u5fd7\u4e2d\uff0c\u56e0\u6b64\u4e0d\u80fd\u6062\u590d\uff0c\u5728\u9996\u6b21\u521b\u5efa\u548c\u5de8\u5927\u7684\u8f7d\u5165\u8fc7\u7a0b\u4e2d\u6709\u7528\u3002<br \/>\n\u800c\u4e14\uff0cSecureFile LOB\u8fd8\u6709\u4e00\u4e2a\u65e5\u5fd7\u9009\u9879FILESYSTEM_LIKE_LOGGING\uff0c\u53ea\u8bb0\u5f55\u5143\u6570\u636e\uff0c\u5728\u51fa\u73b0\u6545\u969c\u540e\u4ecd\u7136\u5141\u8bb8\u6bb5\u7684\u6062\u590d\u3002<br \/>\nCACHE\u9009\u9879\u610f\u5473\u7740LOGGING\uff0c\u56e0\u6b64\u4f60\u4e0d\u80fd\u5c06CACHE\u4e0eNOLOGGING\u6216FILESYSTEM_LIKE_LOGGING\u5408\u5728\u4e00\u8d77\u4f7f\u7528\u3002<br \/>\n\u5982\u679c\u8981\u79fb\u52a8\u8868<br \/>\nALTER TABLE table_name LOB (lob_item) STORE AS [lob_segment]<br \/>\n(<br \/>\nTABLESPACE tablespace_name<br \/>\n(STORAGE\u2026..)<br \/>\nENABLE|DISABLE STORAGE IN ROW<br \/>\nCHUNK integer<br \/>\nPCTVERSION integer<br \/>\nRETENTION<br \/>\nFREEPOOLS integer<br \/>\nCACHE|NOCACHE|CACHE READS<br \/>\nINDEX lobindexname<\/p>\n<p>(TABLESPACE tablesapce_name<\/p>\n<p>((STORAGE\u2026..))<br \/>\n)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>oracle11g\u63a8\u51fa\u4ee5\u540e\u6709\u4e86\u4e00\u79cd\u65b0\u7684LOBS\u7684\u5b58\u50a8\u6a21\u5f0f\u53eb\u505aSecureFile LOBs \u4e0e\u4e4b\u533a\u522b \u628a\u4ee5\u524d\u4f7f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[34,2],"class_list":["post-591","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-oracle","tag-oracle_basics"],"_links":{"self":[{"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=\/wp\/v2\/posts\/591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=591"}],"version-history":[{"count":1,"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions"}],"predecessor-version":[{"id":896,"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions\/896"}],"wp:attachment":[{"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.royalwzy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}