![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oracle
edisonrf
这个作者很懒,什么都没留下…
展开
-
plsql developer 中文乱码
1,先检查DB设置 select * from v$nls_parameters p NLS_LANGUAGE NLS_CHARACTERSET 2,本地客户端设置: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_***_home1\NLS_LANG SIMPLIFIED CHINESE.ZHS16GBK 改完重启客户端...原创 2013-03-11 17:00:56 · 80 阅读 · 0 评论 -
oracle join local table with remote table
oracle join local table with remote table 这是一件不好的事情, 最好不要这么做, 会把remote的表数据全拉到本地db, 然后再join, 试想如果远程数据很大, 岂不是很恐怖? 真的要这么做, 如果本地数据小, 而远程数据大的话, 可以在select上加上DRIVING_SITE(tab) hint, 告诉优化器, 远程是主,把本地数据拉到re...原创 2013-01-16 17:30:39 · 138 阅读 · 0 评论 -
maximum file size of blocks in autoextend clause is out of range
Oracle数据库的物理文件可以设置成自动增长的类型, 这样数据库在需要更多空间时, 物理文件会按设定 的增长量自动增长到指定的最大值. 这样会有一些好处: 保证不会因为分配数据区域(extent)失败而终止应用. 但如果没有设定这个最大值, 它将会是一个非常大的数字. 数据块大小不同, 其最大值也不一样. 因为Oracle 的物理文件最大只允许4194303个数据块(datablock)....原创 2013-01-17 11:20:45 · 1079 阅读 · 0 评论 -
drop tablespace直接删除文件(转)
create tablespace svn_dir_tree_1 logging datafile '/data/oracle/product/10.2/db_1/dbs/test_1.dbf' size 512m autoextend on next 512m maxsize 32767M extent management local; drop tablespa...原创 2013-01-17 11:31:19 · 363 阅读 · 0 评论 -
tom关于oracle的connection, session, process的总结
A connection is a physical circuit between you and the database. A connection might be one of many types -- most popular begin DEDICATED server and SHARED server. Zero, one or more sessions ...2014-03-04 14:56:54 · 265 阅读 · 0 评论 -
关于oracle session的状态
最近同事做oracle的监控, 问我要不要把inactive的session kill掉, 释放更多的资源. 这个问题其实要考虑2个方面: 1,inactive的session能不能kill? session状态里面有active, inactive等.active表示当前session中有sql正在执行. inactive表示当前没有sql在执行, 但并不代表这个sessi...2014-03-04 15:10:07 · 417 阅读 · 0 评论