上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
  2012年4月10日
摘要: Oracle 作为一种大型数据库,广泛应用于金融、邮电、电力、民航等数据吞吐量巨大,计算机网络广泛普及的重要部门。对于系统管理员来讲,如何保证网络稳定运行,如何提高数据库性能,使其更加安全高效,就显得尤为重要。作为影响数据库性能的一大因素 -- 数据库碎片,应当引起 DBA 的足够重视,及时发现并整理碎片乃是 DBA 一项基本维护内容。 1、碎片是如何产生的 当生成一个数据库时,它会分成称为表空间( Tablespace )的多个逻辑段( Segment ),如系统(System)表空间 , 临时(Temporary)表空间等。一个表空间可以包含多个数据范围(Extent)和一个或多个自由.. 阅读全文
posted @ 2012-04-10 17:55 weaver_chen 阅读(405) 评论(0) 推荐(0) 编辑
摘要: --collect index infocreate table idx_statsas select * from index_stats where 1=2beginfor mycur in (select index_name from user_indexes) loopexecute immediate 'analyze index '|| mycur.index_name || ' validate structure'; insert into idx_stats select * from index_stats;commit;end loop; 阅读全文
posted @ 2012-04-10 17:30 weaver_chen 阅读(163) 评论(0) 推荐(0) 编辑
摘要: create or replace procedure show_space(v_segment_name in varchar2, v_segment_owner in varchar2 default user, v_segment_type in varchar2 default 'TABLE', p_analyzed in varchar2 default 'Y', p_partition_name in varchar2 default null) as p_segment_name varchar2(30); p_segment_owner varc 阅读全文
posted @ 2012-04-10 17:10 weaver_chen 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 如果你管理的Oracle数据库下某些应用项目有大量的修改删除操作, 数据索引是需要周期性的重建的。 它不仅可以提高查询性能, 还能增加索引表空间空闲空间大小。 在ORACLE里大量删除记录后, 表和索引里占用的数据块空间并没有释放。 重建索引可以释放已删除记录索引占用的数据块空间。 转移数据, 重命名的方法可以重新组织表里的数据。 下面是可以按ORACLE用户名生成重建索引的SQL脚本:SET ECHO OFF;SET FEEDBACK OFF;SET VERIFY OFF;SET PAGESIZE 0;SET TERMOUT ON;SET HEADING OFF;ACCEPT usernam 阅读全文
posted @ 2012-04-10 13:53 weaver_chen 阅读(354) 评论(0) 推荐(0) 编辑
  2012年3月29日
摘要: 未来的几十年,80后必将成为社会的中坚力量,但如今的80后,却还有太多需要磨炼的。没有50年代的苦难、60年代的动荡、70年代的包袱,出生于改革开放风云际会之时的80后都有一种自我、执著、狂热、不循规蹈矩、敢作敢为的精神特质。因此,也常被长辈们习惯性的贴上幼稚、骄纵、享乐、浮躁、桀骜不驯等标签。这或许是代沟产生的原因,但是,与前辈们相比,80后还不够成熟也是事实。这也导致了其身上的优点很容易成为创业过程中的最大阻力。但我们毫不怀疑的是,在商业领域,80后一定会如先辈们一样,在社会的熔炉中百炼成钢,成长为新一代的领军者。虽然,在这个群体中,只有那些用时间来换取到成长空间的人,才会最终到达巅峰的顶 阅读全文
posted @ 2012-03-29 14:13 weaver_chen 阅读(188) 评论(0) 推荐(0) 编辑
  2012年3月28日
摘要: @echo offtitle opentelnet cheng...MODE con: COLS=44 LINES=15:zjmclscolor 0afor /l %%i in (1,1,5) do echo.echo -简介- echo.echo 依靠ipc$来开启Telnet!echo 请按提示输入...echo.set/p ip= 输入IP: if /i "%ip%"=="q" exitset/p user= 用户名: if /i "%user%"=="q" exitset/p password= 密 码: 阅读全文
posted @ 2012-03-28 01:49 weaver_chen 阅读(560) 评论(0) 推荐(0) 编辑
  2012年3月23日
摘要: ASYNC Network IOThe “async network io” (in SQL 2005/2008) and “networkio” (in SQL 2000) wait types can point to network related issues, but most often are caused by a client application that is not processing results from the SQL Server quickly enough. This will result in filling the network buffers 阅读全文
posted @ 2012-03-23 13:44 weaver_chen 阅读(647) 评论(0) 推荐(0) 编辑
  2012年3月20日
摘要: 1.先安装libssh.[root@localhost ~]# tar -zxvf libssh-0.11.gz[root@localhost ~]# cd libssh-0.11[root@localhost ...Author : EcoreDate : 2008/06/15Website: http://www.ishacker.orghttp://www.80sec.org1.先安装libssh.[root@localhost ~]# tar -zxvf libssh-0.11.gz[root@localhost ~]# cd libssh-0.11[root@localhost ~] 阅读全文
posted @ 2012-03-20 00:24 weaver_chen 阅读(1523) 评论(0) 推荐(0) 编辑
  2012年3月16日
摘要: 今天在架设LAMP服务器的时候遇到了数据库中比较经典的问题。在mysql 中插入中文的时候出现乱码! 在网上找了一下解决方法. 呵呵,方法基本上都是一致的. 1. copy 一个文件成 /etc/my.cnf cp /usr/share/mysql/my-large.cnf /etc/my.cnf然后修改 /etc/my.cnf 文件 在 [client ] 下面加入 default-character-set=utf8 在[ mysqld ] 下面加 default-character-set=utf8 init_connect='SET NAMES utf8' 在[... 阅读全文
posted @ 2012-03-16 17:06 weaver_chen 阅读(416) 评论(0) 推荐(0) 编辑
  2012年3月15日
摘要: 在CentOS 5不再区分客户端和服务器,只要配置了NTP,它就会提供NTP服务。 1.确认已经ntp程序包: # yum install ntp 2.配置时间源 # vi /etc/ntp.conf server pool.ntp.org #可选择其他优先服务器 server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org 3.配置是否为其他PC提供时间服务 # vi /etc/ntp.conf restrict 192.168.1.0 mask 255.255.255.0 nomodify no... 阅读全文
posted @ 2012-03-15 09:47 weaver_chen 阅读(1534) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页