Sun solaris user set process
Hi friend;
Need your help one more time. I will make instalaltion on Sun can you show me path how i can set user source limit in Sun Solaris Sparc(didnt learn yet their version,still waiting response) ,
How i can do those?
X Display Server
For x display i will use this right:
rpm -qa vnc << if this exist i will run
vncserver -depth 24 -geometry 1280x1024 ( do i need to say service vncserver start or something like that?)
Set umask 022 :
Set 'ulimit' Parameters as 'unlimited' : (Using Korn Shell)
Should i set them where and how?
The following command will display the current ulimit settings :
I should set those for root,applmgr and oramgr, if i follow below i just set them for session right? If yes how i can set those value permanently?
$ ulimit -a
time(seconds) : unlimited
file(blocks) : unlimited
data(kbytes) : 131072
stack(kbytes) : 2048
memory(kbytes): 216272
coredump(blocks) : unlimited
nofiles(descriptors) : 4096
vmemory(kbytes) : 1048576
Set all of them as unlimited as follows :
ulimit -t unlimited
ulimit -f unlimited
ulimit -d unlimited
ulimit -s unlimited
ulimit -m unlimited
ulimit -c unlimited
ulimit -n unlimited
ulimit -v unlimited
=================================================
Section 5: Additional Steps for Sun SPARC Solaris
=================================================
Make sure /usr/ccs/bin, /usr/bin and /bin appear in the $PATH before /usr/ucb.
The 'tr' should be coming from the /usr/bin directory instead of /usr/ucb.
If that is the case, modify your $PATH as follows :
/usr/bin:/usr/ccs/bin:/usr/sbin/:usr/ucb
I will use echo $PATH if those are not exist in path what i should type?
Thanks a lot
Hi,
vncserver -depth 24 -geometry 1280x1024 ( do i need to say service vncserver start or something like that?)Yes, or make sure that Xserver is up and running. As root user, issue "xclock" to verify.
Should i set them where and how?You already have the commands posted above (set all of them as unlimited).
Make sure /usr/ccs/bin, /usr/bin and /bin appear in the $PATH before /usr/ucb.
The 'tr' should be coming from the /usr/bin directory instead of /usr/ucb.
If that is the case, modify your $PATH as follows :
/usr/bin:/usr/ccs/bin:/usr/sbin/:usr/ucb
I will use echo $PATH if those are not exist in path what i should type?$ export PATH=<directory name>:$PATH
Regards,
Hussein
Similar Messages
-
Iplanet mail server 5.1 sun solaris user management
hallo,
i opened a new user using the mail server console, but when trying to send email to the new user it is considered as unknown..
Any suggestion ?
Thank you
GiacomoThe forum should be for webserver.
Please post your question in the mail server forum.
http://swforum.sun.com/jive/forum.jspa?forumID=15
-Yuji -
Help needed on installation of Oracle 9i on Sun Solaris 8
Hey,
Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
SimonI have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
Edited by: 916438 on Mar 31, 2012 5:55 PM -
Help needed on installation of Oracle 9i EE on Sun Solaris 8
Hey,
Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
SimonI have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
Edited by: 916438 on Mar 31, 2012 5:55 PM -
How to prevent a solaris user to telnet from multiple computers
Hello,
How to prevent Solaris users to telnet from multiple computers? They should be able to telnet from only one PC.
Please help..ora_tech have a good point, i was about to suggest ipfilter, which is a built-in-firewall in Solaris, but using tcp wrappers would probably be easier. It all depends on which level of security you want (blocking the telnet requests in a firewall would generally be safer than blocking them at the tcp wrapper level, since its prevents some processing).
Since Solaris 10 you can also easily enable tcp wrappers on the inetd services with inetadm, see:
http://blogs.sun.com/gbrunett/entry/tcp_wrappers_on_solaris_10
.. for more details..
.7/M. -
Disable commands BUG under Sun-Solaris 10 ?
<p>If you execute a disable commands while another user is justdoing a "force restructure",</p><p>you got no error and the command "display application"shows the command-flag with false.</p><p> </p><p>But every user can still execute a "force restructer",even if the user log in later.</p><p> </p><p>This behaviour occurs under OS=Sun Solaris with essbase Version9.2.0.1,</p><p>under windows with essbase version 9.2 Build 082 it worksfine.</p><p> </p><p>Is this a known BUG ?</p>
I can't help you solaris tuning, but some things to look at.
1. Is the Essbase.cfg file the same on both servers? You might have parallel calculation turned on in one and not the other. Caches could also be set differently
2. Are the database caches set the same? This could impact performance as well
3. Are you doing an apples to apples comparison? Is one database loaded and recalculated many times while the other is not (or restructured or reloaded) -
Oracle for Sun Solaris (Intel Platform)
I want to know that if oracle for sun solaris 8 (intel platform) is available and anyone has installed it. On OTN only oracle for sun solaris (For SPARC ) is available for download.
if anyone know it for solaris 8 (intel platform) then please tell me where to get it from.
rohit
[email protected]
So that we may better diagnose DOWNLOAD problems, please provide the following information.
- Server name ORACLE 9I DATABASE
- Filename
- Date/Time 5 JULY 2K2
- Browser + Version IE 6
- O/S + Version SUN SOLARIS
- Error MsgI didn't see anything on the Sun site, but the disk arrived with my Solaris media. I have installed it on one machine (you need to create the "oracle" user id, the "dba" group, and you must set the tunable parameters for shared memory to install the software and example database.)
I tried to install a second machine and the Oracle installer terminates half way through without errors. I'm still working that issue. -
Performance issue EP on Sun Solaris
Hi All,
I have a EP NW04 SR1 installation on Sun solaris 5.9 machine , single CPU. When i stop the EP server , the idle time on the server shoots up to 98%. On the r other hand when i run "startsap" ( the server is just starting) , the idle time comes down to 0%.
Are there any parameters to be tuned on the Sun Solaris.
Because even with no users logged on, the idle time is almost 0%.
Pasting a output of the vmstat command.
Regards
PN
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s6 s7 s8 in sy cs us sy id
0 0 0 6098056 603680 42 974 328 0 0 0 0 0 0 0 0 441 556 374 72 24 3
0 0 0 6098040 597320 36 80 370 0 0 0 0 0 0 0 8 480 2526 582 88 7 4
0 0 0 6098024 596800 77 107 143 0 0 0 0 0 0 0 2 445 1321 528 89 7 3
1 0 0 6098024 594520 69 106 223 0 0 0 0 0 0 0 2 446 856 443 91 8 1
0 0 0 6098024 596280 17 633 100 0 0 0 0 0 0 0 2 442 788 423 84 15 1
4 0 0 6098024 582304 15 314 28 0 0 0 0 1 0 0 2 428 1284 432 79 20 1
1 0 0 6097960 581720 87 104 796 0 0 0 0 0 0 0 14 466 3379 659 86 7 7
0 0 0 6097896 581544 82 125 462 0 0 0 0 0 0 0 16 519 3639 723 78 14 7
0 0 0 6097896 581384 29 87 271 0 0 0 0 1 0 0 2 505 985 404 92 5 2
1 0 0 6097856 581128 33 64 107 4 4 0 0 0 0 0 4 449 1342 340 96 4 0
0 0 0 6097824 573552 16 518 52 8 8 0 0 1 0 0 5 433 674 330 86 14 0
1 0 0 6097824 572656 16 40 8 0 0 0 0 0 0 0 3 414 1762 541 96 4 0
2 0 0 6097752 572336 8 49 72 4 4 0 0 0 0 0 1 437 1176 555 93 7 0
2 0 0 6097376 570176 25 60 215 0 0 0 0 0 0 0 2 473 1337 560 92 8 0
4 0 0 6097368 572080 37 70 163 0 0 0 0 0 0 0 2 457 1219 521 94 6 0
21 0 0 6097368 571896 8 36 64 0 0 0 0 0 0 0 0 426 1734 594 93 6 0
18 0 0 6097368 570608 83 103 64 0 0 0 0 1 0 0 2 433 1327 464 88 11 0
2 0 0 6096936 566680 6 480 48 0 0 0 0 3 0 0 2 428 807 486 86 14 0
1 0 0 6096448 562640 16 49 56 0 0 0 0 0 0 0 2 422 1982 465 98 2 0
Message was edited by: Portal NewbieHi ,
I have noticed that if the end users are working on Portal, the performance seems to be fine.
If i log on to as an ADMIN and go to PCD , or try to change a role or attach a role, then the performance goes down and the amount of idle time goes to zero.
Any idea what parameters can be set to fine tune this ?
Regards
PN -
Unix(Sun Solaris)-Servlet settings
Hi all,
Iam a new user to unix and trying to compile a servlet in unix(sun solaris)platform.getting error as follows
"Package javax.servlet.http not found in import"
i assume that this is a problem with classpath setting.Can anybody help me how to set classpath and what is the command for it for servet package.
the basic java classes are compiling fine.
Expecting a reply soon.
regards
saraI imagine that your are including the lines:
import javax.servlet.*;
import javax.servlet.http.*;
in your servlet. If that is the case, when you compile your project try:
javac -classpath .:<path to servlet.jar>:<path to server.jar>: YourServlet.java
I hope this helps.
Regards
Cardwell -
Deployment of the sample application on Sun Solaris
Hi,
I have downloaded the sample application 'EJB Order Entry System' and its help file 'EJBDirections.pdf'. It gives details about deploying the application on the Oracle running on NT Server. Pl help me as I am facing problems in deploying a EJB component to the Oracle Jserver 8.1.7 running on the Sun Solaris. I am getting the following exception when I am trying to deploy in from my local system onto the Sun Oracle Server:
call deployejb -republish -temp temp -u cs -p callserver -s sess_
iiop://10.18.2.23:32800:ndb -descriptor empBeanDesc.ejb myBean.jar
Reading Deployment Descriptor...done
Verifying Deployment Descriptor...done
Gathering users...done
Generating Comm Stubs.........................................done
Compiling Stubs...done
Generating Jar File...done
Loading EJB Jar file and Comm Stubs Jar file...done
Generating EJBHome and EJBObject on the server...
Message [IOEXCEPTION_DESERIALIZING] not found in 'oracle.aurora.ejb.deployment.s
erver.Messages'.
Is there something wrong in the way I am trying to deploy the EJB. Pl advice.
Thanks,
JagdishNo problem.
Make sure your resources are set at the proper location. Could be that tje jni.jar is under a 'lib' folder?
Normally you don't have to worry about deployment a lot if you are using like Netbeans 7.2 or higher.
When you press 'Clean and build' it creates your deployed files in the 'dist' folder.
You can change specification by adapting the build.xml file.
Of course lot of different possibilities are available for deployment!
You can find lot of info here:
[http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm|http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm]
Important to know is if you want to work with
- a standalone application (self-contained or not)
- with webstart
- or with applets
(In my case I'm using webstart, but also Self-Contained Application Packaging (jre is also installed!) -
제품 : ORACLE SERVER
작성날짜 : 2003-06-02
(V7.3 ~ V8.X) ORACLE DB AUTO STARTUP/SHUTDOWN ON SUN SOLARIS 2.6/2.7
====================================================================
PURPOSE
이 자료는 O/S startup 시에 Oracle RDBMS 서비스를 자동으로 startup하
는 방법에 대한 자료이다.
Explanation
sun solaris 부팅 시 oracle DB를 auto startup하도록 하는 데 관련된 화일들이다.
/etc/inittab : o/s의 초기화 과정을 조절하는 화일
/etc/rc2 : 부팅 run-level 2 에서 사용되는 스크립트
/etc/rc0 : 부팅 run-level 0 에서 사용되는 스크립트
/etc/rc2.d/S99dbstart : /etc/init.d/dbstart 에 대한 symbolic link
/etc/rc0.d/K01dbshut : /etc/init.d/dbshut 에 대한 symbolic link
/var/opt/oracle/oratab : 시스템에 설치된 오라클 인스턴스에 대한 정보.
(참고)
/etc/init.d/dbstart, dbshut 화일은 super user(root)로 생성하시고,
symbolic link도 super user로 만드시기 바랍니다.
이 화일들은 super user가 owner가 되도록 하고, super user(root)만이
실행 가능하도록 해야 합니다.
1. 먼저 vi /etc/inittab 화일을 열어보십시오.
ap::sysinit:/sbin/autopush -f /etc/iu.ap
fs::sysinit:/sbin/rcS >/dev/console 2>&1 </dev/console
is:3:initdefault:
p3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/console 2>&1
s0:0:wait:/sbin/rc0 >/dev/console 2>&1 </dev/console
s1:1:wait:/usr/sbin/shutdown -y -iS -g0 >/dev/console 2>&1 </dev/console
s2:23:wait:/sbin/rc2 >/dev/console 2>&1 </dev/console
s3:3:wait:/sbin/rc3 >/dev/console 2>&1 </dev/console
s5:5:wait:/sbin/rc5 >/dev/console 2>&1 </dev/console
s6:6:wait:/sbin/rc6 >/dev/console 2>&1 </dev/console
fw:0:wait:/sbin/uadmin 2 0 >/dev/console 2>&1 </dev/console
of:5:wait:/sbin/uadmin 2 6 >/dev/console 2>&1 </dev/console
rb:6:wait:/sbin/uadmin 2 1 >/dev/console 2>&1 </dev/console
sc:234:respawn:/usr/lib/saf/sac -t 300
co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T
sun
-d /dev/console -l console -m ldterm,ttcompat
s1부터 s6까지 os file들에 대해 위와 같이 device redirection이 연결되어
있으면 됩니다.
s2:23:wait:/sbin/rc2 >/dev/console 2>&1 </dev/console
위와 같이 설정하면 run-level 2일 경우 /sbin/rc2 스크립트가 실행된다.
/sbin/rc2 는 /etc/rc2.d 디렉토리에 들어있는 스크립트를 실행한다.
만약 스크립트가 S 로 시작하면 /sbin/rc2 는 이 스크립트에 startup 파라미
터를 부여하고 여기서 지정된 프로세스를 실행시킨다.
따라서 /etc/rc2.d/S99dbstart 화일을 사용하여 dbstart를 실행한다.
shutdown 과정도 거의 비슷하다. /etc/inittab 에 다음과 같은 라인을 보자.
s0:0:wait:/sbin/rc0 >/dev/console 2>&1 </dev/console
이것은 /sbin/rc0 를 실행시키는데 /sbin/rc0 는 /etc/rc0.d 디렉토리에
들어있는 스크립트를 실행시킨다.
스크립트 이름이 K 로 시작하면 이것은 stop 파라미터를 갖고 실행되어서 이
스크립트에 지정된 프로세스를 정지시킨다.
따라서 /etc/rc0.d/K01dbshut 스크립트는 stop 파라미터를 갖고 실행되며
이 스크립트는 $ORACLE_HOME/bin/dbshut 스크립트를 실행시켜서 오라클을
shutdown 시킨다.
2. 그 다음에 vi /etc/rc2 화일을 한번 열어보세요.
이 스크립트 화일은 run-level 2에서 사용되는 스크립트입니다.
특별히 수정할 내용은 없으나, 이 화일이 존재하는지 확인해 보십시오.
PATH=/usr/sbin:/usr/bin
set `/usr/bin/who -r`
if [ x$9 = "xS" -o x$9 = "x1" ]
then
echo 'The system is coming up. Please wait.'
BOOT=yes
3. 그 다음에 vi /etc/rc0 화일을 한번 열어보세요.
이 스크립트 화일은 run-level 0에서 사용되는 스크립트입니다.
특별히 수정할 내용은 없으나, 이 화일이 존재하는지 확인해 보십시오.
PATH=/usr/sbin:/usr/bin
echo 'The system is coming down. Please wait.'
# make sure /usr is mounted before proceeding since init scripts
# and this shell depend on things on /usr file system
/sbin/mount /usr > /dev/null 2>&1
# The following segment is for historical purposes.
# There should be nothing in /etc/shutdown.d.
if [ -d /etc/shutdown.d ]
then
for f in /etc/shutdown.d/*
if [ -s $f ]
then
/sbin/sh ${f}
fi
fi
4. /etc/init.d/dbstart 와 /etc/init.d/dbshut 스크립트를 만들어야 합니다.
그 내용은 각각 다음과 같이 한 줄로 작성합니다.
/etc/init.d/dbstart 화일은 다음과 같이 만듭니다.
su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
/etc/init.d/dbshut 화일은 다음과 같이 만듭니다.
su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
5. /etc/rc2.d/S99dbstart 화일을 /etc/init.d/dbstart에 대한 link로 생성합니다.
ln -s /etc/init.d/dbstart /etc/rc2.d/S99dbstart
6. /etc/rc0.d/K01dbshut 화일을 /etc/init.d/dbshut에 대한 link로 생성합니다.
ln -s /etc/init.d/dbshut /etc/rc0.d/K01dbshut
7. /var/opt/oracle/oratab 화일을 엽니다.
oratab 화일은 일반 텍스트 화일로서 시스템에 설치된 오라클 인스턴스에 대한
정보를 가지고 있는데 보통 3개의 필드로 이루어져 있으며,
첫번재 필드는 ORACLE_SID, 두번째 필드는 ORACLE_HOME, 세번째 필드는 Y 또는
N으로 구성되어 있습니다. 해당 인스턴스를 auto startup 시키려면 세번째
필드가 반드시 Y로 세팅되어 있어야 합니다.
아래에 예를 참조하세요.
ORA805:/oracle4/ora8/app/oracle/product/8.0.5:Y
ORA815:/oracle4/ora8i/app/oracle/product/8.1.5:Y
(주)
만약, <$ORACLE_HOME>/bin/dbstart 수행에 오류가 있으면 기존의 dbstart 화
일을 다른 path에 rename하고, 아래 내용만 가지고 <$ORACLE_HOME>/bin/ 아래
에 dbstart 화일을 다음과 같이 만든다.
svrmgrl <<EOF
connect internal
startup
exit
EOF
Example
none
Reference Documents
noneHi Frank,
This is a bug in 9.0.1. It is fixed in 9.2 and
backported to 9.0.1.2 (rdbms 9.0.1.2 patch). Note that you
need to specify the sdo_indx_dims=2 in the parameter clause.
As a workaround in 9.0.1.0 you could do:
(1) remove the z coordinate (as you mentioned),
(2) set the srid to null (instead of 8307) both in
the geometries as well as the index metadata,
(3) set geodetic=false in the create-index parameters.
Hope that helps,
Ravi. -
System Stats on Sun Solaris poor than on Windows
Hi,
I have freshly gathered system stats on my Windows 64bit DB and Sun Solaris T3 SPARC but for some reason the stats on Windows look superior to those on Windows.
Windows
select
sname
, pname
, pval1
, pval2
from
SYS.AUX_STATS$;
SNAME PNAME PVAL1 PVAL2
SYSSTATS_INFO STATUS COMPLETED
SYSSTATS_INFO DSTART 06-13-2011 20:36
SYSSTATS_INFO DSTOP 06-13-2011 20:37
SYSSTATS_INFO FLAGS 1
SYSSTATS_MAIN CPUSPEEDNW 2600.213
SYSSTATS_MAIN IOSEEKTIM 11.207
SYSSTATS_MAIN IOTFRSPEED 4096
SYSSTATS_MAIN SREADTIM 3.226
SYSSTATS_MAIN MREADTIM
SYSSTATS_MAIN CPUSPEED 2600
SYSSTATS_MAIN MBRC
SYSSTATS_MAIN MAXTHR
SYSSTATS_MAIN SLAVETHR
13 rows selected
Solaris
SNAME PNAME PVAL1 PVAL2
SYSSTATS_INFO STATUS COMPLETED
SYSSTATS_INFO DSTART 06-13-2011 20:32
SYSSTATS_INFO DSTOP 06-13-2011 20:33
SYSSTATS_INFO FLAGS 1
SYSSTATS_MAIN CPUSPEEDNW 411.566
SYSSTATS_MAIN IOSEEKTIM 6.197
SYSSTATS_MAIN IOTFRSPEED 52653.625
SYSSTATS_MAIN SREADTIM 463.529
SYSSTATS_MAIN MREADTIM
SYSSTATS_MAIN CPUSPEED 412
SYSSTATS_MAIN MBRC
SYSSTATS_MAIN MAXTHR
SYSSTATS_MAIN SLAVETHR
13 rows selectedCan anyone please explain why? Anu OS level params to be set?To give a background, the overall db performance on Solaris is slower than Windows. Therefore I am putting down info as required for a performance tuning thread.
=====================================================================================================
The following SQL statement has been identified to perform poorly on my new Sun Solaris machine. It performs as expected on my Wondows 2003 x64 server.
It currently takes 15 seconds to execute on Windows and 78 seconds on Solaris.
OS Configurations
Windows: 2003 Server x64 with single 250GB HDD 4GB RAM
Solaris:
Operating System : Solaris 5.10/08
Sun SPARC T3 -1 Server
CPU : SPARC T3 16-Core 1.65 GHz Processor
RAM : 16 GB DDR3
HDD : 4*300 GB= 1200 TB
This is the statement:
select * from v_a_rd_data_entry; -- This is a view.
The view query is:
SELECT 1 RN,
I.RD_TYPE_CODE,
I.RD_TYPE,
I.RD_CODE,
I.TCNT,
V1.VERSION_ID,
V1.FLAG_1,
V1.FLAG_2,
V1.QUANTITY_1,
V1.QUANTITY_2,
V2.IDENTITY_START_DATE,
V2.IDENTITY_TERMINATION_DATE,
V1.VERSION_VALID_FROM,
V1.CRE_USER,
V1.CRE_DATIM,
V1.IS_DELETING_VERSION,
V1.DELETES_VERSION_ID,
V1.CODE_1,
V1.CODE_2,
CAST (NULL AS DATE) AS lc_start,
CAST (NULL AS DATE) AS lc_end,
CAST (NULL AS DATE) AS version_valid_till,
CAST (NULL AS DATE) AS next_lc_start,
CAST ( MULTISET
SELECT RD_TYPE_CODE,
VERSION_ID,
LANGUAGE_CODE,
SHORT_DESCRIPTION,
LONG_DESCRIPTION
FROM RD_DATA_ENTRY_T
WHERE RD_DATA_ENTRY_T.RD_TYPE_CODE = V1.RD_TYPE_CODE
AND RD_DATA_ENTRY_T.VERSION_ID = V1.VERSION_ID
) AS RD_DATA_ENTRY_T_TAB_TYPE) RD_DATA_ENTRY_T
FROM RD_DATA_ENTRY_I I,
RD_DATA_ENTRY_V V1,
RD_DATA_ENTRY_V V2
WHERE V1.RD_TYPE_CODE = I.RD_TYPE_CODE
AND V2.RD_TYPE_CODE = I.RD_TYPE_CODE
AND V1.version_id = get_version_id.RD_DATA_ENTRY (V1.RD_TYPE_CODE, 'CURRENT', V1.VERSION_VALID_FROM)
AND V2.version_id = get_version_id.RD_DATA_ENTRY (V2.RD_TYPE_CODE, 'KNOWLEDGE');The DB parameters:
Windows:
SQL> show parameters optimizer
NAME TYPE VALUE
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 11.1.0.6
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
SQL> show parameter db_file_multi
NAME TYPE VALUE
db_file_multiblock_read_count integer 128
SQL> show parameter db_block_size
NAME TYPE VALUE
db_block_size integer 8192
SQL> show parameter cursor_sharing
NAME TYPE VALUE
cursor_sharing string EXACT
select
sname
, pname
, pval1
, pval2
from
sys.aux_stats$;
SNAME PNAME PVAL1 PVAL2
SYSSTATS_INFO STATUS COMPLETED
SYSSTATS_INFO DSTART 06-13-2011 20:36
SYSSTATS_INFO DSTOP 06-13-2011 20:37
SYSSTATS_INFO FLAGS 1
SYSSTATS_MAIN CPUSPEEDNW 2600.213
SYSSTATS_MAIN IOSEEKTIM 11.207
SYSSTATS_MAIN IOTFRSPEED 4096
SYSSTATS_MAIN SREADTIM 3.226
SYSSTATS_MAIN MREADTIM
SYSSTATS_MAIN CPUSPEED 2600
SYSSTATS_MAIN MBRC
SYSSTATS_MAIN MAXTHR
SYSSTATS_MAIN SLAVETHR
13 rows selected Solaris:
SQL> show parameters optimizer
NAME TYPE VALUE
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 11.2.0.1
optimizer_index_caching integer 50
optimizer_index_cost_adj integer 50
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
SQL> show parameter db_file_multi
NAME TYPE VALUE
db_file_multiblock_read_count integer 256
SQL> show parameter db_block_size
NAME TYPE VALUE
db_block_size integer 8192
SQL> show parameter cursor_sharing
NAME TYPE VALUE
cursor_sharing string SIMILAR
select
sname
, pname
, pval1
, pval2
from
sys.aux_stats$;
SNAME PNAME PVAL1 PVAL2
SYSSTATS_INFO STATUS COMPLETED
SYSSTATS_INFO DSTART 06-13-2011 20:32
SYSSTATS_INFO DSTOP 06-13-2011 20:33
SYSSTATS_INFO FLAGS 1
SYSSTATS_MAIN CPUSPEEDNW 411.566
SYSSTATS_MAIN IOSEEKTIM 6.197
SYSSTATS_MAIN IOTFRSPEED 52653.625
SYSSTATS_MAIN SREADTIM 463.529
SYSSTATS_MAIN MREADTIM
SYSSTATS_MAIN CPUSPEED 412
SYSSTATS_MAIN MBRC
SYSSTATS_MAIN MAXTHR Here is the output of EXPLAIN PLAN:
Windows:
SQL> select * from v_a_rd_data_entry;
4434 rows selected.
Elapsed: 00:00:03.26
Execution Plan
Plan hash value: 275055418
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 111 | 73 (3)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID | RD_DATA_ENTRY_T | 1 | 38 | 2 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | RD_DE_T_RD_DE_V_FK1X | 1 | | 1 (0)| 00:00:01 |
| 3 | NESTED LOOPS | | | | | |
| 4 | NESTED LOOPS | | 1 | 111 | 73 (3)| 00:00:01 |
| 5 | NESTED LOOPS | | 1 | 79 | 71 (3)| 00:00:01 |
|* 6 | TABLE ACCESS FULL | RD_DATA_ENTRY_V | 1 | 60 | 70 (3)| 00:00:01 |
| 7 | TABLE ACCESS BY INDEX ROWID| RD_DATA_ENTRY_I | 1 | 19 | 1 (0)| 00:00:01 |
|* 8 | INDEX UNIQUE SCAN | RD_DATA_ENTRY_I_PKX | 1 | | 0 (0)| 00:00:01 |
|* 9 | INDEX RANGE SCAN | RD_DATA_ENTRY_V_PKX | 1 | | 1 (0)| 00:00:01 |
| 10 | TABLE ACCESS BY INDEX ROWID | RD_DATA_ENTRY_V | 1 | 32 | 2 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("RD_DATA_ENTRY_T"."RD_TYPE_CODE"=:B1 AND "RD_DATA_ENTRY_T"."VERSION_ID"=:B2)
6 - filter("V1"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V1"."RD_TYPE_CODE",'CURRENT',
INTERNAL_FUNCTION("V1"."VERSION_VALID_FROM")))
8 - access("V1"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
9 - access("V2"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
filter("V2"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V2"."RD_TYPE_CODE",'KNOWLEDGE
Statistics
53704 recursive calls
0 db block gets
197001 consistent gets
0 physical reads
0 redo size
785437 bytes sent via SQL*Net to client
3747 bytes received via SQL*Net from client
299 SQL*Net roundtrips to/from client
26850 sorts (memory)
0 sorts (disk)
4434 rows processedSolaris:
SQL> select * from v_a_rd_data_entry;
4015 rows selected.
Elapsed: 00:00:09.50
Execution Plan
Plan hash value: 1399662582
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 135 | 19 (16)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID | RD_DATA_ENTRY_T | 1 | 39 | 1 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | RD_DE_T_RD_DE_V_FK1X | 1 | | 1 (0)| 00:00:01 |
| 3 | NESTED LOOPS | | | | | |
| 4 | NESTED LOOPS | | 1 | 135 | 19 (16)| 00:00:01 |
| 5 | NESTED LOOPS | | 1 | 51 | 19 (16)| 00:00:01 |
|* 6 | TABLE ACCESS FULL | RD_DATA_ENTRY_V | 1 | 32 | 18 (17)| 00:00:01 |
| 7 | TABLE ACCESS BY INDEX ROWID| RD_DATA_ENTRY_I | 1 | 19 | 1 (0)| 00:00:01 |
|* 8 | INDEX UNIQUE SCAN | RD_DATA_ENTRY_I_PKX | 1 | | 1 (0)| 00:00:01 |
|* 9 | INDEX RANGE SCAN | RD_DE_V_RDE_I_FK1X | 2 | | 1 (0)| 00:00:01 |
|* 10 | TABLE ACCESS BY INDEX ROWID | RD_DATA_ENTRY_V | 1 | 84 | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("RD_DATA_ENTRY_T"."RD_TYPE_CODE"=:B1 AND "RD_DATA_ENTRY_T"."VERSION_ID"=:B2)
6 - filter("V2"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V2"."RD_TYPE_CODE",'KNOWLEDGE
8 - access("V2"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
9 - access("V1"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
10 - filter("V1"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V1"."RD_TYPE_CODE",'CURRENT',
INTERNAL_FUNCTION("V1"."VERSION_VALID_FROM")))
Note
- 'PLAN_TABLE' is old version
Statistics
32000 recursive calls
0 db block gets
101816 consistent gets
0 physical reads
0 redo size
631809 bytes sent via SQL*Net to client
2214 bytes received via SQL*Net from client
271 SQL*Net roundtrips to/from client
15998 sorts (memory)
0 sorts (disk)
4015 rows processedThe problematic portion is the call to the package function. The queries in there are the ones causing trouble
The TRCANLZR output for those statement looks like the following:
Windows:
224270.1 TRCA Trace Analyzer 11.4.2.4 Report: trcanlzr_43915.txt
hecr_ora_3300.trc (32608792 bytes)
Total Trace Response Time: 15.286 secs.
2011-JUN-03 11:12:56.453 (start of first db call in trace 3717579.240823).
2011-JUN-03 11:13:11.739 (end of last db call in trace 3717594.526453).
RESPONSE TIME SUMMARY
~~~~~~~~~~~~~~~~~~~~~
pct of pct of pct of
Time total Time total Time total
Response Time Component (in secs) resp time (in secs) resp time (in secs) resp time
CPU: 6.422 42.0%
Non-idle Wait: 0.000 0.0%
ET Unaccounted-for: 0.359 2.4%
Total Elapsed(1): 6.782 44.4%
Idle Wait: 14.745 96.5%
RT Unaccounted-for: -6.241 -40.8%
Total Response(2): 15.286 100.0%
---SQl in question
2262144708 cv4dua23db5q4
Rank:3(14.1%) Self:3.036s Recursive:0.003s Invoker:83 Definer:83 Depth:1
SELECT V.VERSION_ID FROM RD_DATA_ENTRY_V V WHERE V.RD_TYPE_CODE = :B3 AND V.VERSION_VALID_FROM <= :B2 AND V.CRE_DATIM <= :B1 AND
V.DELETES_VERSION_ID IS NULL AND NOT EXISTS (SELECT NULL FROM RD_DATA_ENTRY_V V2 WHERE V.VERSION_ID = V2.DELETES_VERSION_ID AND
V2.VERSION_VALID_FROM <= :B2 AND V2.CRE_DATIM <= :B1 ) ORDER BY V.VERSION_VALID_FROM DESC, V.CRE_DATIM DESC
SQL SELF - TIME, TOTALS, WAITS, BINDS AND ROW SOURCE PLAN
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Response Time Elapsed Non-Idle Elapsed Time Idle
Call Accounted-for Time CPU Time Wait Time Unaccounted-for Wait Time
Parse: 0.000 0.000 0.000 0.000 0.000 0.000
Execute: 2.456 2.456 2.438 0.000 0.019 0.000
Fetch: 0.579 0.579 0.547 0.000 0.032 0.000
Total: 3.036 3.036 2.984 0.000 0.051 0.000
OS BG Consistent BG Current Rows Library Times Times
Call Buffer Gets Read Mode Mode Processed Cache Waited Waited
Call Count (disk) (query) (current) or Returned Misses Non-Idle Idle
Parse: 1 0 0 0 0 1 0 0
Execute: 13260 0 0 0 0 1 0 0
Fetch: 13260 0 100502 0 13070 0 0 0
Total: 26521 0 100502 0 13070 2 0 0
BG OS OS
Consistent Buffer Write Estim
Estim Actual Read Mode Gets Calls Time Size
ID PID Card Rows Row Source Operation (cr) (pr) (pw) (secs) ObjCost (bytes)
1: 0 1 1 SORT ORDER BY 8 0 0 0.000 0 6 58
2: 1 1 4 NESTED LOOPS ANTI 8 0 0 0.000 0 5 58
3: 2 3 4 . TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V 6 0 0 0.000 73471 4 111
4: 3 3 4 .. INDEX RANGE SCAN RD_DE_V_RDE_I_FK1X 2 0 0 0.000 73475 1 0
5: 2 109 0 . TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V 2 0 0 0.000 73471 1 2289
6: 5 1 0 .. INDEX RANGE SCAN RD_DE_V_RD_DE_V_FK2X 2 0 0 0.000 73476 0 0
EXPLAIN PLAN
~~~~~~~~~~~~
Estim Search
ID PID Card Cost Explain Plan Operation Cols(1)
0: 1 11 SELECT STATEMENT
1: 0 1 11 SORT ORDER BY
2: 1 1 10 . HASH JOIN ANTI
3: 2 1 4 .. TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V
4: 3 3 1 ... INDEX RANGE SCAN RD_DE_V_RDE_I_FK1X 1/1
5: 2 1 5 .. TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V
6: 5 1 4 ... INDEX RANGE SCAN RD_DE_V_VVF_CDT_ID1 2/2
(1) X/Y: Where X is the number of searched columns from index, which has a total of Y columns.
Indexed Cols and Predicates(1)
2 - Access Predicates: V2.DELETES_VERSION_ID=V.VERSION_ID
3 - Filter Predicates: V.VERSION_VALID_FROM<=:B2 AND V.CRE_DATIM<=TO_TIMESTAMP(:B1)
AND V.DELETES_VERSION_ID IS NULL
4 - Indexed Cols for RD_DE_V_RDE_I_FK1X (search 1/1):
RD_TYPE_CODE
4 - Access Predicates: V.RD_TYPE_CODE=:B3
5 - Filter Predicates: V2.DELETES_VERSION_ID IS NOT NULL
6 - Indexed Cols for RD_DE_V_VVF_CDT_ID1 (search 2/2):
SYS_NC00014$
SYS_NC00015$
6 - Access Predicates: SYS_OP_DESCEND(VERSION_VALID_FROM)>=SYS_OP_DESCEND(:B2) AND SYS_OP_DESCEND(CRE_DATIM)>=SYS_OP_DESCEND(TO_TIMESTAMP(:B1))
AND SYS_OP_DESCEND(VERSION_VALID_FROM) IS NOT NULL
6 - Filter Predicates: SYS_OP_UNDESCEND(SYS_OP_DESCEND(VERSION_VALID_FROM))<=:B2
AND
SYS_OP_UNDESCEND(SYS_OP_DESCEND(CRE_DATIM)
)<=TO_TIMESTAMP(:B1)
(1) Identified by operation ID.
TABLES AND INDEXES
~~~~~~~~~~~~~~~~~~
in Row in Avg
Source Explain Current Num Sample Row Chain Empty Avg Global
# Owner.Table Name Plan Plan Count(*)(2) Rows(1) Size(1) Last Analyzed(1) Len(1) Count(1) Blocks(1) Blocks(1) Space(1) Stats(1) Part Temp
1: HECR.RD_DATA_ENTRY_V Y Y 13261 13255 13255 30-MAY-11 22:02:09 90 0 244 12 3864 YES NO N
(1) CBO statistics.
(2) COUNT(*) up to threshold value of 1000000 (tool configuartion parameter).
in Row in
Source Explain Cols
# Owner.Table Name Owner.Index Name Plan Plan Index Type Uniqueness Count Indexed Columns
1: HECR.RD_DATA_ENTRY_V HECR.RD_DATA_ENTRY_V_PKX N N NORMAL UNIQUE 2 RD_TYPE_CODE VERSION_ID
2: HECR.RD_DATA_ENTRY_V HECR.RD_DE_V_RDE_I_FK1X N Y NORMAL NONUNIQUE 1 RD_TYPE_CODE
3: HECR.RD_DATA_ENTRY_V HECR.RD_DE_V_RD_DE_V_FK2X N N NORMAL NONUNIQUE 1 DELETES_VERSION_ID
4: HECR.RD_DATA_ENTRY_V HECR.RD_DE_V_VID_UN1X N N NORMAL UNIQUE 1 VERSION_ID
5: HECR.RD_DATA_ENTRY_V HECR.RD_DE_V_VVF_CDT_ID1 N Y FUNCTION-BASED NORMAL NONUNIQUE 2 SYS_NC00014$ SYS_NC00015$
Avg Avg
Leaf Data
Blocks Blocks
Num Sample Distinct Leaf per per Clustering Global
# Owner.Table Name Owner.Index Name Rows(1) Size(1) Last Analyzed(1) Keys(1) Blevel(1) Blocks(1) Key(1) Key(1) Factor(1) Stats(1) Part Temp
1: HECR.RD_DATA_ENTRY_V HECR.RD_DATA_ENTRY_V_PKX 13255 13255 30-MAY-11 22:02:09 13255 1 75 1 1 12018 YES NO N
2: HECR.RD_DATA_ENTRY_V HECR.RD_DE_V_RDE_I_FK1X 13255 13255 30-MAY-11 22:02:10 4389 1 59 1 2 11986 YES NO N
3: HECR.RD_DATA_ENTRY_V HECR.RD_DE_V_RD_DE_V_FK2X 114 114 30-MAY-11 22:02:10 114 0 1 1 1 61 YES NO N
4: HECR.RD_DATA_ENTRY_V HECR.RD_DE_V_VID_UN1X 13255 13255 30-MAY-11 22:02:10 13255 1 53 1 1 687 YES NO N
5: HECR.RD_DATA_ENTRY_V HECR.RD_DE_V_VVF_CDT_ID1 13255 13255 30-MAY-11 22:02:10 1015 2 143 1 1 807 YES NO N
(1) CBO statistics.
Col Asc/ Num Sample Num Num Num
# Owner.Index Name Pos Column Name Desc Rows(1) Size(1) Last Analyzed(1) Nulls(1) Distinct(1) Density(1) Buckets(1)
1: HECR.RD_DATA_ENTRY_V_PKX 1 RD_TYPE_CODE ASC 13255 13255 30-MAY-11 22:02:08 0 4389 2.8920e-04 254
2: HECR.RD_DATA_ENTRY_V_PKX 2 VERSION_ID ASC 13255 13255 30-MAY-11 22:02:08 0 13255 7.5443e-05 1
3: HECR.RD_DE_V_RDE_I_FK1X 1 RD_TYPE_CODE ASC 13255 13255 30-MAY-11 22:02:08 0 4389 2.8920e-04 254
4: HECR.RD_DE_V_RD_DE_V_FK2X 1 DELETES_VERSION_ID ASC 13255 114 30-MAY-11 22:02:08 13141 114 8.7719e-03 1
5: HECR.RD_DE_V_VID_UN1X 1 VERSION_ID ASC 13255 13255 30-MAY-11 22:02:08 0 13255 7.5443e-05 1
6: HECR.RD_DE_V_VVF_CDT_ID1 1 SYS_NC00014$ DESC 13255 13255 30-MAY-11 22:02:08 0 126 3.7722e-05 126
7: HECR.RD_DE_V_VVF_CDT_ID1 2 SYS_NC00015$ DESC 13255 13255 30-MAY-11 22:02:08 0 1010 4.1923e-03 254
(1) CBO statistics.
RECURSIVE SQL - TIME AND TOTALS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Response Time Elapsed Non-Idle Elapsed Time Idle
Call Accounted-for Time CPU Time Wait Time Unaccounted-for Wait Time
Parse: 0.000 0.000 0.000 0.000 0.000 0.000
Execute: 0.003 0.003 0.000 0.000 0.003 0.000
Fetch: 0.000 0.000 0.000 0.000 0.000 0.000
Total: 0.003 0.003 0.000 0.000 0.003 0.000
OS BG Consistent BG Current Rows Library Times Times
Call Buffer Gets Read Mode Mode Processed Cache Waited Waited
Call Count (disk) (query) (current) or Returned Misses Non-Idle Idle
Parse: 0 0 0 0 0 0 0 0
Execute: 44 0 60 0 300 0 0 0
Fetch: 0 0 0 0 0 0 0 0
Total: 44 0 60 0 300 0 0 0
RELEVANT EXECUTIONS
~~~~~~~~~~~~~~~~~~~
There are 2 relevant executions of this SQL statement.
Their aggregate "Response Time Accounted-for" represents 0.1% of this "SQL Response Time Accounted-for", and 0.0% of the "Total Response Time Accounted-for".
Within these 2 SQL execuctions, there isn't any with "Response Time Accounted-for" larger than threshold of 5.0% of the "SQL Response Time Accounted-for".
SQL Trace Self Recursive
First/ RT RT Response Elapsed Non-Idle Idle Response Response
Last Rank Pct(1) Pct(2) Time(3) Time CPU Time Wait Time Wait Time Time(4) Start Timestamp End Timestamp Time(5)
First: 3 0.1% 0.0% 0.004 0.004 0.000 0.000 0.000 0.003 JUN-03 11:12:56.497 JUN-03 11:12:56.504 0.007
Last: 12638 0.0% 0.0% 0.000 0.000 0.000 0.000 0.000 0.000 JUN-03 11:13:11.738 JUN-03 11:13:11.739 0.000
(1) Percent of "SQL Response Time Accounted-for", which is 3.036 secs.
(2) Percent of "Total Response Time Accounted-for", which is 21.526 secs.
(3) "Self Response Time Accounted-for" in secs (caused by this execution).
(4) "Recursive Response Time Accounted-for" in secs (caused by recursive SQL invoked by this execution).
(5) According to timestamps of first and last calls for this execution.
-
Oracle 10g R2 installation on sun solaris 10 Sparc machine
Hi there,
I encountered the following problem during oracle 10g R2 installation on sun solaris 10 Sparc machine
Error encountered:
Using paramFile: /u01/Oracle/10gr2_db_sol/install/oraparam.ini
Checking installer requirements...
Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10
Passed
Checking Temp space: must be greater than 250 MB. Actual 2266 MB Passed
Checking swap space: must be greater than 500 MB. Actual 2335 MB Passed
Checking monitor: must be configured to display at least 256 colors Failed <<<<
>>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set.
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,at which time they will be rechecked.
Continue? (y/n) [n]
The following were the steps taken before encountering the above error
1. logged into a workstation
2. From its xterm terminal I logged to the oracle server via ssh oracle@ip
3. keyed in the following at the command prompt
DISPLAY=machine_name:0.0; export DISPLAY
4. executed the following from the command prompt
./runInstaller
Note: when executing the ./runInstaller, the preinstallation checking just hangs at Checking monitor: must be configured to display at least 256 colors. But the log file shows it failed during preinstallation checking as shown in Error encountered
Please help me with this problem.
Thank you
Ravindran KanniahIt is because of UNIX shell. I also faced this error during installation.
First check your shell by the following command.
$ echo $SHELL
Then select the below.
For csh shell
$ setenv DISPLAY 192.168.1.128:0.0
$ export DISPLAY
For sh,ksh and bash
$ DISPLAY=192.168.1.128:0.0
$ export DISPLAY
After you do this check the value of DISPLAY variable.
$ echo $DISPLAY
If the DISPLAY variable is set then run ./runInstaller.
One advice: Keep a complete log of your terminal session. This will help you in future :)
-aijaz -
https://gallery.technet.microsoft.com/System-Center-Service-fca7af29
A few months ago on the Technet Gallery, I submitted this custom control to be used on SCSM console forms. The purpose of the control is to eliminate the "This item cannot be updated because it has been changed by another user or process" error
message that we all have seen at least once (a day :) ).
The details are in the gallery description (along with installation instructions for existing forms and your own custom forms).
Here's a "short" description (nothing I ever post here is short :) ): This is a custom control that can be applied to an SCSM form like the Service Request form or Windows Computer form or your own custom form built with the authoring tool or Visual
Studio. When you click "OK" or "Apply" on the form, this control scans the form and Service Manager's database for any changes to the object you have open. If a property that _you_ have changed on the form was _also_ changed in the CMDB
(by a workflow or another user), this control will present a dialog box letting you know what happened. It will also let you choose which value to keep (yours, theirs, or the original value).
Just as importantly (and important in a greater percentage of cases), if a workflow changes a "background" property (like FirstAssignedDate) while you have the form open and you click OK, the control will detect the change and allow the form submission
to go through while keeping your changes and the FirstAssignedDate change that the workflow made. You won't get an error message or even a warning. And most importantly, you won't lose your changes.
That's where the "optimistic" part of the control's name comes from. It applies optimistic concurrency control to SCSM forms, while also providing an anti-collision interface for you to use so you no longer lose any of your changes.
Furthermore, this control will work on related items that are opened in memory; for example, the activities on a Service Request. So if you change an activity's title while the workflow engine sets it in progress, you won't get an error. The activity will
be in progress and will get your new title when you click OK or Apply.
Lastly, (and I admit this part is getting into the deep inner workings of console forms) if your form loads a sub projection at run time (to the root object) this control will detect the load and treat that sub projection as if it were apart of the original
form all along.
I've gotten a little feedback about this control, but I'd like to get more since it's a work in progress. So, I'm announcing it here on the forums. Please give it a try and let me know if you have any questions. I'll be happy to answer them here. Thanks,
folks!
Oh, and to answer the most common question right away: It's free. There is no paid version or anything like that. This is something I built for the SCSM community.Great job!
Will definitely try it out.
Best regards,
Marcus -
PCC-S-02014 error while compiling with in Sun Solaris
We are porting our application from HP-UX to Sun Solaris and as part of that I am trying the compile a Pro*C program in Sun Solaris using SUNWspro C++ compiler. Precompiling is failing with following error.
PRECOMP set: /u01/app/oracle/product/10.2.0/bin/proc dbms=native code=cpp mode=ansi include=/u01/app/oracle/product/10.2.0/precomp
ireclen=255 oreclen=255
define=__sparc define=__SUNPRO_C include=/usr/include include=. include=/u01/app/SUNWspro/prod/include/CC/stlport4 include=/u01/app/oracle/product/10.2.0/rdbms/public/ include=/u01/app/oracle/product/10.2.0/network/public/ include=/u01/app/oracle/product/10.2.0/rdbms/demo/ errors=yes select_error=no
sqlcheck=limited ltype=NONE
release_cursor=no hold_cursor=no
Pro*C/C++: Release 10.2.0.3.0 - Production on Thu Dec 18 03:09:59 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from: /u01/app/oracle/product/10.2.0/precomp/admin/pcscfg.cfg
Syntax error at line 44, column 30, file /u01/app/SUNWspro/prod/include/CC/stlport4/algorithm:
Error at line 44, column 30 in file /u01/app/SUNWspro/prod/include/CC/stlport4/a
lgorithm
# include STLPNATIVE_HEADER(algorithm)
.............................1
PCC-S-02014, Encountered the symbol "(" when expecting one of the following:
: [ ] + / . .. an identifier, a numeric constant, newline,
define, elif, else, endif, error, if, ifdef, ifndef, include,
line, pragma, undef, exec, sql, begin, end, var, type,
oracle, an immediate preprocessor command, a C token, create,
function, package, procedure, trigger, or, replace,
Normal C++ files are getting compiled with out eny issues. This particular file is having functions written in C fashion. Any idea what is missing in the compiler option.
regards
VinuHi Vinu,
I'm not sure if this is still an issue for you. When I have encountered issues like this with Pro*C I have ended up specifying parse=none to the proc command and then putting all declarations between "EXEC SQL BEGIN DECLARE SECTION" and "EXEC SQL END DECLARE SECTION" markers. I have also moved any "special" declarations into a specific header file and then placed the "#include <special header file>" inside the declare section as well.
Perhaps that will help a bit,
Regards,
Mark
Maybe you are looking for
-
The bullets on my web site do not look right, i.e. 'p' or 'u' instead of a tick or an arrow. Is there any way that I can change this or is there something that you can do to make it display properly? I have lots of ticks and arrows so an easy solutio
-
Boot Loader Problem(rEFIt & GRUB/LILO)
Hi, I'm planning to "triple boot" my iMac with "Mac SL, Win 7, & openSUSE". But installing the "GRUB/LILO" makes my origanel boot loader rEFIt cannot work directly. I have to select "Win 7/openSUSE" from the rEFIt, and select "WIn 7/openSUSE" again (
-
Accessing shares on CentOS server
Since the 10.6.5 update, we are seeing some issues writing and deleting files to share(s) on our CentOS server. We can log on, see the share, browse and read and write. If we remove a file, in this case an index.html file, and try to place a file by
-
Is it possible to have WLC redundancy through wired guest interfaces? We have two WLC anchors and I want to use them both for wired guests. If they are both setup on the same wired guest VLAN will this work?
-
Cannot create scheduled task, access denied
Windows Server 2003 R2 I am logged in as a local administrator and cannot create a scheduled task: [Task Scheduler] The new task could not be created. The specific error is: 0x80070005: Access is denied. Try using the Task page Browse button to locat