动态网站制作指南 [  QQ表情  ]
[ 投票调查 ]
[ 企业邮箱 ]
[ 网站空间 ]
网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
ASP源码 | .Net源码 | PHP源码 | JSP源码 | JAVA源码 | CGI源码 | VB源码 | C++源码 | Delphi源码 | PB源码 | VF源码 | 汇编 | 服务器
电脑书籍下载:程序设计书籍 | 数据库教程书籍 | 平面与多媒体书籍 | 网络通讯书籍 | 系统管理书籍 | 网络安全书籍 | 认证考试书籍
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > 数据库 > Oracle教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
数据库:数据库教程,数据库技巧,Oracle教程,MySQL教程,Sybase教程,Access教程,DB2教程,数据库安全,数据库文摘
文章搜索服务
邮件订阅
输入你的邮件地址,
你将不会错过任何关于:
[ Oracle教程 ]的信息



本月文章推荐
.用Rsync备份Dreamhost 到Windows.
.索引与Null值对于Hints及执行计划.
.Multiple在表中的计算.
.RedHat下如何显示彩色目录列表.
.Oracle 9i新特性研究四(延续性初.
.在ORACLE中实现SELECT TOP N的方.
.Oracle 和 MIcrosoft SQL 的不同.
.TestKing Oracle 1Z0-032 Edt9.0.
.ORACLE里取随机数的方法.
.Oracle 8x中监控sysdba角色用户登.
.ORACLE Virtual Private Databas.
.oracle 在win2000 DOS 下的启动.
.ORACLE DATE和TIMESTAMP数据类型.
.为什么用telnet/ftp登录时特别慢.
.监控当前并行查询运行状况脚本.
.Oracle 数据库中常用操作的具体说.
.用自动ftp提高工作效率.
.ORACLE的几个常见小问题的详细解.
.如何恢复数据库的内容.
.Oracle PL/SQL Profiler应用指南.

OracleSupport全球解答的最hot的21个问题(english)

发表日期:2008-2-9 |


   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 .....) ;
上一篇:ORACLE SQL性能优化 (上)(1) 人气:612
下一篇:Start Console on Oracle9i VS Oracle10G 人气:324
浏览全部Oracle教程的内容 Dreamweaver插件下载 常用网页广告代码全集
  最新网站源码 最新软件下载
2008-7-23 Menalto Gallery v2.3 Rc1 多国语
2008-7-23 深度学习网址导航系统 v2.6.1
2008-7-23 因特达crm2008客户关系管理系统
2008-7-23 60度 CMS v1.0 Build 080723
2008-7-23 幻影动漫网视频系统(Ppdong) v1.
2008-7-23 好易祝福墙 2008
2008-7-23 APJE私服发布系统 v2.0 PHP版
2008-7-23 毕业论文在线指导系统源码
2008-7-23 Jacky法律在线网站源码
2008-7-19 UltraEdit 简体中文增强版 14.10
2008-7-19 CentOS 5.2 i386 LiveCD
2008-7-19 Snapture多功能相机 v1.4
2008-7-19 iAcces中文输入法 v1.0Build016
2008-7-19 Cookbook烹饪秘籍 v2.5
2008-7-19 苹果专用DVD转换工具 v1.1.59汉化
2008-7-19 Modem修复软件ZiPhone修改版04.0
2008-7-19 AgileMessenger即时通讯工具美化
2008-7-19 Sketches画图软件 v0.7b6破解版


  发表评论
姓 名: 验证码:
内 容:
[ 汉字翻译拼音 ] [ 广告代码 ] [ 符号对照表 ] [ 进制转换 ] [ 经典小工具 ] [ 个税计算 ] [ 汉字简繁转换 ] [ 普通单位换算 ] [ 公制单位换算 ]
[ 生辰老黄历 ] [ 国内电话区号 ] [ 国家代码与域名缩写 ] [ 文字加密解密 ] [ 健康查询 ] [ 万年历 ] [ 手机号码查询 ] [ ip搜索 ] [ Google PR查询 ]
业务联系 | 广告刊登 | 频道合作 | 投稿荐稿 | 联系方式 | 加入收藏 | RSS订阅
Copyright © 2000-2008 www.knowsky.com All rights reserved | 网络实名:动态网站制作指南 | 沪ICP备05001343号
ホームページ制作 不動産検索システム 求人情報
防水工事·改修工事 フットサル大会 探偵