网站建设| 数据库类| 图形图象| 程序设计| 现代办公| 操作系统| 考试认证| 网络技术| 软件工程| 电脑相关| 文学作品
网站开发| 网页制作| 操作系统| 图象图形| 考试认证| 数据库类| 程序设计| 硬件技术| 现代办公| 网络技术| 笑话频道
 
您的位置: 电脑书库首页-> 电脑文摘-> 数据库类-> Oracle-> Oracle Support全球解答的最hot的21个问题

Oracle Support全球解答的最hot的21个问题
作者:佚名 来源:InterNet 加入时间:2003-7-20
相关文章
  • 夺取月薪之冠-Oracle认证!
  • Oracle数据安全面面观(2)
  • Oracle数据安全面面观(1)
  • Oracle10g数据库的创建
  • Oracle新技术对Linux意味着什么?
  • 在Oracle里设置访问多个SQL Server
  • 深入分析Oracle数据库日志文件
  • 在ORACLE里用存储过程定期分割表
  • 用Linux完成Oracle自动物理备份
  • Oracle Rman/tivoli-TDP/下数据恢复到节点
  • 相关书籍:
  • 利用 DBCA建立 Oracle 9i 资料库
  • Oracle 数据库DBA管理手册
  • Oracle 管理员手册
  • Oracle 官方文档CHM合集-SQL参考手册
  • Oracle WebServer 中文手册
  • Oracle 9i 数据库管理员指南
  • Oracle 9i 数据库管理实务讲座
  • Oracle 9I 入门基础(第02部分)
  • Oracle 9I 入门基础(第01部分)
  • Oracle 9i 官方教材
  • RDBMS SUPPORT's TOP 21

       Oracle Worldwide Technical Support answers approximately 6000 questions
    a week.  In the RDBMS support group we find there is often a common theme to
    the questions. Following are some of the most commonly asked questions and
    problems encountered in the RDBMS technical support group. These questions
    are based on problems encountered by relatively new DBA's.  Also included
    are answers and/or tools to help further identify the problem.

    1.  Q. What should I do about this warning: "Warning in SQLPLUS "product
           information table not loaded"?
        A. Run $ORACLE_HOME/sqlplus/admin/pupbld.sql as system (see appendix of
           sqlplus reference guide for details).

    2.  Q. How can users be restricted from issuing DML from SQLPLUS (when within
           forms they are restricted but in SQLPLUS they aren't)
        A. Use the Product User Profile table in SQLPLUS (created by pupbld.sql.)

    3.  Q. Trying to restore from a full export and getting "duplicate key in
           index".  Why is this occurring?
        A. The DB was not reinitialized before import
           recreate DB, run catalog.sql and expvew.sql.

    4.  Q. Why is performance slow on an particular application?
        A. Run EXPLAIN PLAN and Tkprof to gather info about execution plan and
           some statistics (this doesn't necessarily solve the problem but will
           help to identify it).

    5.  Q. Why is a tablespace that has been dropped still in the Data
           Dictionary?
        A. It is probably in the DD as 'invalid'...it will remain there unless
           the DB is reinitialized.

    6.  Q. I can't create objects in new tablespaces. What's wrong?
        A. Look in DBA_ROLLBACK_SEGS to be sure there are 2 rollback segments. If
           there isn't create another (restart DB with it added to init.ora if
           it is private) before creating objects.

    7.  Q. Why is the private rollback segment that was just created not being
           used?
        A. If it is private it must be added to init.ora and the DB restarted
           before it will be acquired.

    8.  Q. What do I do when an application is hanging?
        A. Use SQLDBA Monitor Locks (also tables and processes) to determine if
           the table (or row) is locked and review tracefiles and alert.log for
           errors (this doesn't necessarily solve the problem but will help to
           identify it).

    9.  Q. How can you shrink a Rollback Segment?? (Or the variation: aren't
           Rollback Segments deallocated?)
        A. In V6 rollback segments aren't deallocated and you must drop and
           recreate to "shrink" them...in V7 you can specify an "OPTIMAL SIZE"
           that the rollback segment will shrink to.

    10. Q. How do you move data from one tablespace to another?
        A. See page 3-3 of the V6 Utilities Guide (you need to revoke, grant,
           alter user,imp)

    11. Q. Why is a created Public Rollback Segment not used by the application?
        A. If transactions/transactions_per_rollback_segment is less than one
           than only one rollback_segment will be acquired and it will be system.
           Make the ration of the two be equal to the number of Rollback Segments.

    12. Q. The database is hanging, users can logon, but not do any work.  What
           can I do?
        A. Check whether the archiver is stuck (alert.log would show ORA-255).
           Either make space in the archival destination, or change the
           log_archive_dest parameter.

    13. Q. How can I get a full error listing?
        A. Add tracing to your session by issuing an
           'alter session set sql_trace true'.
           Look for trace files in the USER_DUMP_DEST directory.

    14. Q. I removed the datafile before dropping the tablespace. How can I
           recover from this ?
        A. 1) shutdown
           2) startup mount
           3) alter database datafile 'fullpath_of_removed_DF' offline drop
           4) alter database open
           5) drop tablespace ts_name including contents

    15. Q. I have DBA privileges and still can't connect internal.  Why?
        A. 'connect internal' is checked at the OS level. In Unix it means that
           your userid needs to be listed at the DBA group in the /etc/group
           file.

    16. Q. How can I create a copy of my database ?
        A. Do a full export of the database, pre-create the second database
           including the needed tablespace, then perform full import.

    17. Q. Why are some tables missing from a full export ?
        A. Objects owned by SYS are not exported. You shouldn't be creating
           tables as sys.

    18. Q. Why is 'Character type conversion 3 to 1 not supported' on an import?
        A. That's import telling you it's trying to load a varchar into a char.
           You need to get a v6 export of the v7 database by using the v6 export
           utility against the v7 database:
            1) run 'catexp6.sql' as sys on the v7 database (this will establish
               the views needed for a v6 export.
            2) From the v6, set up TWO_TASK to point to the v7 database, then
               perform the export.

    19. Q. What do I do if Drop tablespace is hanging in v6?
        A. Make sure that the DC_ parameters are high enough.
           dc_free_extents > select count(*) from sys.fet$;
           dc_used_extents > select count(*) from sys.uet$;
           row_cache_enqueue >= dc_free_extents + dc_used_extents;

    20. Q. How many blocks are actually used by the data in my tables ?
        A. This query will count all the blocks occupied by the table's data:
             select count(distinct(substr(ROWID, 1, 8) ||
                                  (substr(ROWID, 15, 4))
                 from

    21. Q. How can I find all the duplicate entries in a table ?
           A. select * from real_table_name X
                 where rowid < (select max(ROWID) from real_table_name where col1=X.col1 and col2=X.col2 .....) ;


    [文章录入员:tonny]

    相关文章
  • 夺取月薪之冠-Oracle认证!
  • Oracle数据安全面面观(2)
  • Oracle数据安全面面观(1)
  • Oracle10g数据库的创建
  • Oracle新技术对Linux意味着什么?
  • 在Oracle里设置访问多个SQL Server
  • 深入分析Oracle数据库日志文件
  • 在ORACLE里用存储过程定期分割表
  • 用Linux完成Oracle自动物理备份
  • Oracle Rman/tivoli-TDP/下数据恢复到节点
  • 相关书籍:
  • 利用 DBCA建立 Oracle 9i 资料库
  • Oracle 数据库DBA管理手册
  • Oracle 管理员手册
  • Oracle 官方文档CHM合集-SQL参考手册
  • Oracle WebServer 中文手册
  • Oracle 9i 数据库管理员指南
  • Oracle 9i 数据库管理实务讲座
  • Oracle 9I 入门基础(第02部分)
  • Oracle 9I 入门基础(第01部分)
  • Oracle 9i 官方教材
  • 本站推荐内容

    近期主机类热搜关键词:
    美国服务器 美国服务器租用 海外服务器租用 国外服务器租用

    Oracle
    ACCESS
    MS SQL
    MySQL
    Oracle
    Foxpro
    PowerBuilder
    Sybase
    其它
    电脑教程阅读排行
    ·Oracle 常用技巧和脚本
    ·Oracle常用数据字典
    ·Oracle8 数据类型
    ·Oracle 8.1.6 for...
    ·Oracle 基本知识
    ·深入分析Oracle数据库日志文...
    ·安装Oracle后,经常使用的修...
    ·怎样快速查出Oracle数据库中...
    ·Oracle 8.0.4 for...
    ·Oracle10g数据库的创建