编程世界 - 计算机爱好者和编程爱好者的天堂!

编程世界

当前位置: 主页 > Oracle > 入门基础 >

Oracle 全球解答的最hot的21个问题(2)

时间:2008-11-29 18:53来源:编程世界 作者:无名 点击:
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

  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 .....) ; (责任编辑:编程世界)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
验证码:点击我更换图片