摘要: 全局索引============CREATE INDEX month_ix ON sales(sales_month)本地索引============CREATE INDEX loc_dept_ix ON dept(deptno) LOCAL;全局分区索引============CREATE INDEX month_ix ON sales(sales_month) GLOBAL PARTITION BY RANGE(sales_month) (PARTITION pm1_ix VALUES LESS THAN (2) PARTITION pm2_ix VALUES LESS THAN (3) 阅读全文
posted @ 2011-02-15 14:54 skyme 阅读(17972) 评论(1) 推荐(0) 编辑
摘要: 1、查找表的所有索引(包括索引名,类型,构成列):select t.*,i.index_type from user_ind_columns t,user_indexes i where t.index_name = i.index_name and t.table_name = i.table_name and t.table_name = 要查询的表2、查找表的主键(包括名称,构成列):select cu.* from user_cons_columns cu, user_constraints au where cu.constraint_name = au.constraint_nam 阅读全文
posted @ 2011-02-15 14:34 skyme 阅读(6938) 评论(0) 推荐(0) 编辑
摘要: 对于linux的权限掌握以下几个命令就可以非常熟练的操作系统中的各种权限了。使用权限 : 所有使用者 使用方式 : chmod [-cfvR] [--help] [--version] mode file... 说明 : Linux/Unix 的档案存取权限分为三级 : 档案拥有者、群组、其他。利用 chmod 可以藉以控制档案如何被他人所存取。 mode : 权限设定字串,格式如下 : [ugoa...][[+-=][rwxX]...][,...],其中u 表示该档案的拥有者,g 表示与该档案的拥有者属于同一个群体(group)者,o 表示其他以外的人,a 表示这三者皆是。 + 表示增加权限 阅读全文
posted @ 2011-02-15 13:34 skyme 阅读(13547) 评论(0) 推荐(0) 编辑