¡¾×ª¡¿ Oracle±í½éÉÜ Ë÷Òý×éÖ¯±í
http://hi.baidu.com/wzbg/blog/item/005f9c098e31a12f6b60fbfb.html
Oracle±í½éÉÜ--Ë÷Òý×éÖ¯±í
2010-01-12 16:03
Ë÷Òý×éÖ¯±í(IOT)²»½ö¿ÉÒÔ´æ´¢Êý¾Ý£¬»¹¿ÉÒԴ洢Ϊ±í½¨Á¢µÄË÷Òý¡£Ë÷Òý×éÖ¯±íµÄÊý¾ÝÊǸù¾ÝÖ÷¼üÅÅÐòºóµÄ˳Ðò½øÐÐÅÅÁеģ¬ÕâÑù¾ÍÌá¸ßÁË·ÃÎʵÄËٶȡ£µ«ÊÇÕâÊÇÓÉÎþÉü²åÈëºÍ¸üÐÂÐÔÄÜΪ´ú¼ÛµÄ(ÿ´ÎдÈëºÍ¸üкó¶¼ÒªÖØнøÐÐÖØÐÂÅÅÐò)¡£
Ë÷Òý×éÖ¯±íµÄ´´½¨¸ñʽÈçÏ£º
create table indexTable(
ID varchar2 ( 10 ),
NAME varchar2 ( 20 ),
constraint pk_id primary key ( ID )
)
organization index ;ʽ
×¢ÒâÁ½µã£º
¡ñ ´´½¨IOTʱ£¬±ØÐëÒªÉ趨Ö÷¼ü£¬·ñÔò±¨´í¡£
¡ñ Ë÷Òý×éÖ¯±íʵ¼ÊÉϽ«ËùÓÐÊý¾Ý¶¼·ÅÈëÁËË÷ÒýÖС£
Ë÷Òý×éÖ¯±íÊôÐÔ
1¡¢OVERFLOW×Ó¾ä(ÐÐÒç³ö)
ÒòΪËùÓÐÊý¾Ý¶¼·ÅÈëË÷Òý£¬ËùÒÔµ±±íµÄÊý¾ÝÁ¿ºÜ´óʱ£¬»á½µµÍË÷Òý×éÖ¯±íµÄ²éѯÐÔÄÜ¡£´ËʱÉèÖÃÒç³ö¶Î½«Ö÷¼üºÍÒç³öÊý¾Ý·Ö¿ªÀ´´æ´¢ÒÔÌá¸ßЧÂÊ¡£Òç³ö¶ÎµÄÉèÖÃÓÐÁ½ÖÖ¸ñʽ£º
PCTTHRESHOLD n £ºÖƶ¨Ò»¸öÊý¾Ý¿éµÄ°Ù·Ö±È£¬µ±ÐÐÊý¾ÝÕ¼ÓôóС³¬³öʱ£¬¸ÃÐеÄÆäËûÁÐÊý¾Ý·ÅÈëÒç³ö¶Î
INCLUDING column_name £ºÖ¸¶¨ÁÐ֮ǰµÄÁж¼·ÅÈëË÷Òý¿é£¬Ö®ºóµÄÁж¼·Åµ½Òç³ö¶Î
¡ñ µ±ÐÐÖÐij×ֶεÄÊý¾ÝÁ¿ÎÞ·¨È·¶¨Ê±Ê¹ÓÃPCTTHRESHOLD¡£
¡ñ ÈôËùÓÐÐоù³¬³öPCTTHRESHOLD¹æ¶¨´óС£¬Ôò¿¼ÂÇʹÓÃINCLUDING¡£
create table t88(
ID varchar2 ( 10 ),
NAME varchar2 ( 20 ),
constraint pk_id primary key ( ID )
)
organization index
PCTTHRESHOLD 20
overflow tablespace users
INCLUDING name ;
¡
Ïà¹ØÎĵµ£º
Ç°Á½Ì콫×Ô¼º±¾»úÆ÷ÖеÄASP.NETÓ¦Óò¿Êðµ½ÁË·þÎñÆ÷ÉÏ,½á¹û³öÏÖÁËЩÎÊÌâ.ÕÛÌÚÁËÁ½Ìì²Å¸ãÇå³þ.
Ê×ÏÈ·¢ÏÖ°²×°.NET3.5ʱºòÐèÒªÁ¬½ÓInternet,(Æäʵ°²×°°üÍêÕûµÄÀëÏß°²×°°ü)¶ø·þÎñÆ÷ÊÇÄÚ²¿ÍøÂçµÄ,ÿ°ì·¨Ö»ÄÜ°²×°Ò»¸öVS2008ÉÏÈ¥,Õæ²»Ã÷°×ΪºÎ°²×°VSʱºòdotNetFrameworkÓÖ²»ÐèÒªÁ¬½ÓInternetÁË.
ºóÀ´·¢ÏÖÔÚ±¾»úÆ÷ûÓÐÎÊÌâµÄÓ¦Óò¿ ......
SELECT * from ALL_SOURCE
where TYPE='PROCEDURE' AND TEXT LIKE
'%0997500%';
--²éѯALL_SOURCEÖУ¬£¨½Å±¾´úÂ룩ÄÚÈÝÓë0997500Ä£ºýÆ¥ÅäµÄÀàÐÍΪPROCEDURE£¨´æ´¢¹ý³Ì£©µÄÐÅÏ¢¡£
¸ù¾ÝGROUP
BY TYPE
¸ÃALL_SOURCEÖÐÖ»ÓÐÒÔÏÂ5ÖÖÀàÐÍ
1 FUNCTION
2 JAVA
SOURCE
3 PACKAGE
4 P ......
mysql ´ó¶ÔÏó´æÈ¡:
ÀàÐÍÒ»°ãÓ¦¸ÃÓÃmediumblod,
blobÖ»ÄÜ´æ2µÄ16´Î·½¸öbyte,
mediumblodÊÇ24´Î·½,
Ò»°ãÀ´Ëµ¹»ÓÃÁË.longblobÊÇ32´Î·½ÓÐЩ´ó.
MYSQLĬÈÏÅäÖÃÖ»ÄÜ´æ1M´óСµÄÎļþ,ÒªÐÞ¸ÄÅäÖÃ,WIN°æ±¾µÄÔÚmysql.iniÎļþÖÐ
ÐÞ¸Ämax_allowed_packet,net_buffer_lengthµÈ¼¸¸ö²ÎÊý,»òÖ±½ÓSET GLOBAL varName=value.
linux°æ± ......
Ò». µ¼³ö¹¤¾ß exp
1. ËüÊDzÙ×÷ϵͳÏÂÒ»¸ö¿ÉÖ´ÐеÄÎļþ ´æ·ÅĿ¼/ORACLE_HOME/bin
expµ¼³ö¹¤¾ß½«Êý¾Ý¿âÖÐÊý¾Ý±¸·ÝѹËõ³ÉÒ»¸ö¶þ½øÖÆϵͳÎļþ.¿ÉÒÔÔÚ²»Í¬OS¼äǨÒÆ
ËüÓÐÈýÖÖģʽ£º
a. Óû§Ä£Ê½£º µ¼³öÓû§ËùÓжÔÏóÒÔ¼°¶ÔÏóÖÐµÄ ......