ITeye博客

wkf41068的博客

wkf41068 · 共 135 篇文章

[置顶] nohup 启动 WebLogic Server

但是如果终端关闭,那么程序也会被关闭。但是为了能够后台运行,那么我们就可以使用nohup这个命令, The trick to do nohup and be able to enter username and passwd etc. is to go into C-Shell, csh. I usually use an advanced C-Shell called "tcsh". This is the exact steps: $ tcsh $ cd <to the directory>(Where the startWebLogic.sh locates) $ nohup ./st…

2013-11-07T11:21:27Z · 开源软件 · 评论(2)

PL/SQL Developer 注册码

Product Code: kfj6yg6rfyhqcha6cbgs6fsw3kyje7a6qr Serial Number: 276182 Password: xs374ca

2014-09-25T17:36:36Z · 非技术 · 评论(0)

Weblogic Managed Server 启动失败

近来启动WebLogic Managed Server 时出现如下错误: <Nov 11, 2013 1:04:27 AM PST> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot ide…

2013-11-11T20:01:34Z · 开源软件 · 评论(0)

Oracle11g Performance笔记3

The table partitions where there is data in the table partition but the corresponding index partition does not contain any rows. select table_name , high_value , num_rows , last_analyzed from dba_tab_partitions where table_name = '&P_TABLE_NAME' ; select index_name , high_value , num_rows , last_an…

2013-09-13T17:30:10Z · 数据库 · 评论(0)

Oracle11g Performance笔记2

'PERFORMANCE' is a relative thing; it can be measured but the numbers are only meaningful if you have previous numbers to compare them to. RE - performance issues with existing queries 1. What are the indications that there is a performance issue? Is it really slow or did a user just report that 'i…

2013-09-12T18:30:25Z · 数据库 · 评论(0)

Oracle11g Performance笔记1

1. 跳跃式索引(Skip Scan Index) 当表有一个复合索引,而在查询中有除了索引中第一列的其他列作为条件,并且优化器模式为CBO,这时候查询计划就有可能使用到SS。此外,还可以通过使用提示index_ss(CBO下)来强制使用SS。 select /*+index_ss(test1 test_idx1)*/* from test1 where column_b ='sdfee'; 并不是任何情况下都会使用到SS。在Oracle的官方文档中,除了提到需要CBO,并且对表进行过分析外,还需要保证第一列的distinct value非常小。 2. 对于local索引,每一个表分区对应一…

2013-09-12T18:15:18Z · 数据库 · 评论(0)

数据库中SQl执行计划--01

执行计划说明: call count cpu elapsed disk query current rows ------- ------ -------- ---------- ---------- ---------- ---------- ---------- Parse 1 0.00 0.00 0 0 0 0 Execute 1 0.00 0.00 0 0 0 0 Fetch 1 140.64 921.65 286181 7035288 0 1 ------- ------ -------- ---------- ---------- ---------- ---------- --…

2013-08-30T16:37:01Z · 数据库 · 评论(0)

Oracle11g---细粒度审计

前面的语句审计、权限审计以及对象审计等标准审计: 只能发现访问了哪些对象以及由哪个用户访问,而不能知道用户访问了哪个对象中的哪些行哪些列。为此Oracle从9i开始加入了细粒度审计. 细粒度审计<使得审计变得更为关注某个方面,并且更为精确。可以在访问某些行和列时审计对表的访问,从个极大地减少了审计表的记录数量。 细粒度审计被称为FGA,有dbms_fga的pl/sql程序来实现。 dbms_fga包含了以下4个过程: add_policy() 添加使用为此和审计列的审计策略。 drop_policy() 删除审计策略 disable_policy() 禁用审计策略,但保留与表或视图关联的策略…

2013-08-25T13:48:17Z · 数据库 · 评论(0)

Oracle11g审计--权限审计+对象审计

2> 权限审计: 对某一个系统权限的使用状况进行审计。这里强调系统权限()。 a. 使用audit语句定义权限审计语法如下: audit privilege_name [by user_name]| [by session|access] [whenever [not] successful] privilege_name: 表示系统权限名称 user_name: 表示用户名 例如:audit create table 可以表示对涉及creat table 权限的操作进行审计。 b. 使用noaudit语句取消权限审计 如:noaudit alter table by scott; 查看对哪…

2013-08-25T13:23:55Z · 数据库 · 评论(0)

Oracle11g审计--语句审计

数据库中审计(Audit) 是指对用户所执行的数据库活动做跟踪记录,它是数据库管理系统安全性重要部分。通过审计功能,与数据库安全性相关的操作均可被记录下来。 Oracle11g中,对数据的审计相对于10g等作了简单的改动。以提供更方便\更强大的审计功能。 1>默认情况下,DB Audit参数AUDIT_TRAIL的值被设置成DB(表示审计功能默认开启,而在以前的版本中默认NONE是关闭的)。这样oracle11g中允许对任何对象、语句或权限进行Audit。 2>默认情况下,有更多的语句将处于DB Audit审计范围内,并且这些Audit操作不会导致严重的I/O问题。所有,将Audit活动维持…

2013-08-25T11:49:57Z · 数据库 · 评论(0)

Oracle11g权限--角色

角色: 是具有名称的一组相关权限的组合,即将不同权限组合在一起就形成了角色。可以使用角色为用户授权,同样也可以从用户中回收角色。 一个角色集合了多种权限,所以为用户授予某个角色时,相当于为用户授予多种权限。 使用角色的特点和优点 1> 并不是一次一个地将权限直接授予一个用户,而是先创建角色,想该角色授予一些权限,然后在将该角色授予多个用户。 2> 在增加或者删除一个角色的权限时,被授予该角色的所有用户都会自动获得或失去相应权限。 3> 可以将多个角色授予一个用户。 4> 可以为角色摄者口令。 Oracle DB系统提供的预定义角色。 connect 具有最终用户的典型权限和最基本的权限,如:…

2013-08-21T22:45:57Z · 数据库 · 评论(0)

Oracle11g权限--对象权限

对象权限: 是指某一个用户对其它用户中表、视图等等数据库模式对象操作的权限。 授予对象权限使用grant 语句 grant object_provilege[,...]|all [privileges]on <schema.> object_name to{user_name[,..]|role_name[,...]|public} [with grant option] a. object_privilege 表示对象权限。 b. all[privileges]使用all关键字,可以授予对象上的所有权限 c. schema 用户模式 d. object_name 对象名称 e.with g…

2013-08-21T22:43:15Z · 数据库 · 评论(0)

Oracle11g权限--系统权限

用户权限 1.权限:数据库中执行某种操作的权力,是预先定义好的,执行某种SQL语句或访问其他用户模式对象的能力。 创建一个用户,表示该用户具有了连接和操作数据库的资格,但是要对数据库进行实际操作,则该用户还需要具有相应的操作权限。 权限的分类(按照系统管理方式的不同,权限分为两类:系统权限和对象权限) 系统权限: 在系统级控制数据库的存取和使用机制。系统级控制决定是否可以连接到数据库,在数据库中可以进行哪些操作等。 如:创建会话,创建表,创建视图和创建用户等。DBA在创建一个用户时,可以将其中的一些权限授予用户。 系统权限是针对用户来设置的,用户必须被授予相应的系统权限,才可以连接到数据库中…

2013-08-14T21:55:52Z · 数据库 · 评论(0)

Oracle11g用户权限和安全2--创建修改管理用户资源配置文件

5. 创建用户配置文件<dba角色>(create profile ...limit) create profile profile_name limit [资源限制参数名/口令限制参数名 参数值|....]; 例如:create profile myprofile limit sessions_per_user 10 failed_login_attempts 3; 如果需要创建复杂的资源文件,那么在自定义用户配置文件之前,需要对用户口令策略和资源限制进行分析,例如: a. 容许连续3次输入错误的口令,如果第四次依旧错误,则该登录用户被锁定。 b. 每隔15天修改一次登录口令。 c. 在1…

2013-08-08T23:53:18Z · 数据库 · 评论(0)

Oracle11g用户权限和安全1--用户创建修改、资源文件参数

1. 创建用户 在创建用户时,可以为用户指定表空间、临时表空间和资源文件等。另外还可以使用password expire子句和account子句对用户 进行管理。 create user user_name 创建的用户名user_name identified by password_default 为创建的用户指定口令 [default tablespace default_tablespace| 可选的指定默认表空间 temporary tablespace tmp_tablespace| 可选的指定临时表空间 profile profile_name 指定资源文件 quota [int…

2013-08-08T23:49:42Z · 数据库 · 评论(0)