`

oracle index online

阅读更多

create index IX_表名_列名   on  表名(列名) online;

 

online关键字作用:对非空表创建索引需要添加online减少锁表时间。

 

从作用可以看出,没有数据的空表就不需要添加online了。

分享到:
评论

相关推荐

    Oracle Database Online Documentation 12c Release 1 (12.1)手册文档

    1. 双击 index.chm 来启动文档,当然其他的chm文件也可以单独使用, 基本上没有依赖性,一份Oracle文档对应一个CHM文件 2. 支持跨文档索引和搜索,这是相对pdf的最大的优点

    Oracle CRM 产品功能介绍 - 销售在线

    Oracle Sales Online的Web体系结构使得能够实现全球部署、远程用户轻而易举地进行升级,并容易定制。所有用户在任何地点任何时间都能访问它。Oracle Sales Online是Oracle电子商务套件的一部分,后者是一个集成的...

    Oracle CRM 产品功能介绍 - 服务在线

    Oracle Service Online 将现场服务组织的功能从严格限制在提供服务,扩展到更加强调整体关系管理的水平上。在这方面,服务组织可以通过管理售后交互活动为客户提供更优质的服务,从而使客户受益;为公司提供寻求交叉...

    ORACLE重建索引总结

    因为使用现有索引项来重建新索引,如果客户操作时有其他用户在对这个表操作,尽量使用带online参数来最大限度的减少索引重建时将会出现的任何加锁问题,alter index index_name rebuild online。 但是,由于新旧...

    数据自动导入程序(不同oracle数据库之间的数据交换)

    使用VB中的ADO编程实现不同oracle数据库之间数据交换! 源代码需要指定的不 同ORACLE环境下才能运行!

    Oracle Exception汇总(自定义Oracle异常)

    Oracle Exception汇总(自定义Oracle异常) 使用方法举例: Exception When no_data_found then Dbms_output.put_line(‘no_data_found’);...DUP_VAL_ON_INDEX 在惟一索引所对应的列上键入重复值。对应ORA-00001错误。

    Oracle.RMAN.11g.Backup.and.Recovery.2010(Oracle RMAN 11g 备份和恢复)

    Create online, offline, and incremental system backups Perform full and partial Oracle RMAN database restores Correct user-induced errors with Oracle Flashback Product clone and standby databases ...

    最全的oracle常用命令大全.txt

    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 13:53:53 2003 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. SQL> connect / as sysdba Connected to an idle instance. SQL> ...

    Perl.for.Oracle.DBAs

    The online edition of this book was created by the Safari production group (John Chodacki, Becki Maisch, and Madeleine Newell) using a set of Frame-to-XML conversion and cleanup tools written and ...

    oracle学习文档 笔记 全面 深刻 详细 通俗易懂 doc word格式 清晰 连接字符串

    主要包括select, update, insert, alter, index, delete, all其中all包括所有权限。  授予实体权限 用法:grant 实体权限1[,实体权限2]… on 表名 to用户名1[,用户名2]…. 例子:  实体权限回收 用法:revoke ...

    最完整的Toad For Oracle使用手册

    Entering Comments on Check in or out 710 Check In All 711 Undo Checkout 712 Freezing an Object 713 TC Locks not selected 726 TC Locks selected 726 Working from the Command Line 738 Command Line Syntax...

    Oracle - New Features for Developers in 12c (Arup Nanda)-计算机科学

    • DML continues as usual– drop index i1 online – alter index i1 unusable online – alter table t1 set unused columns online – alter table t1 drop column c1 online – alter table t1 move partit

    Oracle数据库中建立索引的基本方法讲解

    create index index_name on table_name(field_name) tablespace tablespace_name pctfree 5 initrans 2 maxtrans 255 storage ( minextents 1 maxextents 16382 pctincrease 0 ); 2、创建基于函数的索引 常用与...

    Oracle事例

    sql> alter index xay_id allocate extent(size 200k datafile \'c:/oracle/index.dbf\'); <8>.alter index xay_id deallocate unused; 、查看索引 SQL>select index_name,index_type,table_name from user...

    oracle truncate恢复

    1 2 2 D:\ORACLE\ORADATA\XJ\UNDOTBS01.DBF 4096 3 3 3 D:\ORACLE\ORADATA\XJ\DRSYS01.DBF 4096 4 4 4 D:\ORACLE\ORADATA\XJ\EXAMPLE01.DBF 4096 5 5 5 D:\ORACLE\ORADATA\XJ\INDX01.DBF 4096 6 6 6 D:\ORACLE\...

    Oracle9i的init.ora参数中文说明

    Oracle9i初始化参数中文说明 Blank_trimming: 说明: 如果值为TRUE, 即使源长度比目标长度 (SQL92 兼容) 更长, 也允许分配数据。 值范围: TRUE | FALSE 默认值: FALSE serializable: 说明: 确定查询是否获取表级...

    最新的Java SE Tutorials chm文档,到今天(2013-05-03)为止最新,最完整

    http://docs.oracle.com/javase/tutorial/index.html(online documents) http://www.oracle.com/technetwork/java/javase/downloads/java-se-7-tutorial-2012-02-28-1536013.html(bundle file download)

    Oracle sqldeveloper without jdk (win+linux)

    完整版下载:http://www.oracle.com/technology/global/cn/software/products/sql/index.html 1. Known Issues 1.1 General - Print prints only one page that is a truncation of the current tab. - Can't ...

    Physical Database Design (2007)

    Every form of relational database, such as Online Transaction Processing (OLTP), Enterprise Resource Management (ERP), Data Mining (DM), or Management Resource Planning (MRP), can be improved using ...

    Oracle P/L SQL实现发送Email、浏览网页等网络操作功能

    DBMS_Output.Put_Line( :ls_ObjectName ); Exception When No_Data_Found Then Execute Immediate 'Create Sequence SYS_RAND_ID minvalue 1 maxValue 99999999999999999 Start With 1 increment by 1 cache 5 ...

Global site tag (gtag.js) - Google Analytics