Programme works on Windows hangs on Sun Solaris(8) 5.8
The programme works fine on Windows but hangs on Solaris 8(5.8).
The programme hangs after processing of files is done .
Yes my programme has Synchronization and threading.
The code waits on a method.
engine.GetName().equalsIgnoreCase(name)
the GetName is Synchronized method , if i remove that synchronization it waits on the next synchronizatoin.
It seems like the locks on the Synch code are not getting released.
The same programee does not hang on some solaris machines but takes almost 8--9 minutes to exit from that piece of code and safe shutdown of the process on similar configuration machine.
1)My Question is it a patch issue ,If yes what are the patches I should have for sun solaris8(5.8)
2)Anything to do with the Environ??
3)The compilation etc??
Let me know your answers I can definitely provide more Clues.
Ani
The programme works fine on Windows but hangs on
Solaris 8(5.8)....And this leads you to believe it must be the OS fault and not your code's fault?
Maybe you have a race/deadlock condition that just so happens to manifest itself when you run it on Solaris because of different processor timing. I'm suggesting maybe it could also hang on Windows, given the right timing condition.
Similar Messages
-
RUN_REPORT_OBJECT is working in Windows but not in Solaris
hi
I have written the following code. It's working in Windows(when I give windows path). But it's not working in Solaris
It's not either giving me any error message. Could you please help me?
declare
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
List_id ParamList;
BEGIN
List_id := GET_PARAMETER_LIST('input_params');
IF NOT ID_NULL(List_id) THEN
DESTROY_PARAMETER_LIST(List_id);
END IF;
List_id := Create_Parameter_List('input_params');
Add_Parameter(List_id, 'p_1',TEXT_PARAMETER,'100008456');
Add_Parameter(List_id, 'p_2',TEXT_PARAMETER,'P22');
Add_Parameter(List_id, 'p_3',TEXT_PARAMETER,'600015');
repid := FIND_REPORT_OBJECT(RE1');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,ASYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'/home/oracle/OraHome2/rep/rep3.rdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'/home/oracle/OraHome2/rep/aa.pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'you_report_server_name');
v_rep := RUN_REPORT_OBJECT(repid, List_id);
Destroy_Parameter_List(List_id);
message('v_rep '||v_rep);
message(1);
exception
when others then
message(sqlerrm);
message(1);
end;hi
it is showing me following. I could not understand it. Is there any error message here
Reports Server Queue Status
Security Mode Non-secure
Queue on server rep_SIT-02_10gAS, on Tue Dec 08 13:13:21 IST 2009 To kill a current (enqueued or scheduled) job, click on the status icon for the specific job. Then click on Cancel Job button in next page.To get a cached output of a successfully finished past job, click on the Job Name hyperlink of that job (if available).
View
View Current JobsPast JobsScheduled Jobs
Result
Previous Next
Job ID Job Type Job Name Job Status Job Owner Output Type Output Name Server Name Queued At Started At Finished At
None
Help
Copyright (c) 2002, 2005, Oracle. All rights reserved.
------------------------------------------------------------------------------------------------------- -
Runtime.exec work in windows but not in solaris??
hi all,
can someone tell me why the following code work in windows platform but doesnt work in solaris?The program tries to ping 127.0.0.1 and the output is correct in windows, but when i try it in solaris, it produces the following exception :
Internal error: Unexpected Java exception thrown ( unknown exception, no description ) , stack:java.lang.NoClassDefFoundError: StreamGobbler
at java.lang.Class.getDeclaredConstructors()(Native Method) ....
The code is as follow:
import java.util.*;
import javax.servlet.http.*;
import javax.servlet.*;
import java.io.*;
class StreamGobbler extends Thread
InputStream is=null;
String type=null;
PrintWriter out=null;
StreamGobbler(InputStream is,String type,PrintWriter out)
this.is=is;
this.type=type;
this.out=out;
public void run()
try
InputStreamReader isr=new InputStreamReader(is);
BufferedReader br=new BufferedReader(isr);
System.out.println("finishing inputstreamReader and BufferedReader");
String line=null;
while ( (line=br.readLine())!=null )
{ out.println(type+"> "+line);
out.println("<br>");
catch (IOException ioe)
{ ioe.printStackTrace();
public class ping extends HttpServlet
public void init(ServletConfig config) throws ServletException
{ super.init();
public void service(HttpServletRequest req,HttpServletResponse res) throws ServletException, IOException
res.setContentType("text/html");
PrintWriter out=res.getWriter();
try {
Runtime rt=Runtime.getRuntime();
System.out.println("pinging 127.0.0.1");
String[] cmd={"ping","127.0.0.1"};
Process proc=rt.exec(cmd);
System.out.println("finishing process proc=rt.exec(cmd)");
StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(),"ERROR",out);
StreamGobbler outputGobbler= new StreamGobbler(proc.getInputStream(),"OUTPUT",out);
errorGobbler.start();
outputGobbler.start();
int exitVal=proc.waitFor();
out.println("Process exitValue: "+exitVal);
out.close();
catch (Throwable t)
t.printStackTrace();Did you copy all the class files to your solaris machine ? SOunds like you didn't copy all your files correctly.
-
Weblogic 7.0 Server hangs on Sun Solaris 5.7
Hi,
We are facing a problem with weblogic server 7.0 SP2 running on jre 1.3.1_01
Hotspot Client VM. The operating system used is SunOS 5.7 .
Symptom : The weblogic server hangs after running for around 8 to 10 hours . the
log file contains messages which says 'Connection created for Oracle Pool'Hello,
Could you take a thread dump at that state?
kill -3 <pid of WLS>
Whats the state of the client application
- Exception (PeerGone, No Router)
- or just hangs
Also, you could run WLS using the JRE that ships with it. AFAIK, its v1.3.1_06.
rgds
MS -
Hi,
I have a pc with windows XP Home edition installed on it. I want to remove windows
and install sun solaris on it. I don't have a floppy drive on my laptop pc.
My question is, when I remove windows and do i need bootable disc to install sun solaris ?
again, I have only CD drive.
What are the problems involved on that ?
Thanks in advance.I have a pc with windows XP Home edition installed on it. I want to remove windows
and install sun solaris on it. I don't have a floppy drive on my laptop pc.
My question is, when I remove windows and do i need bootable disc to install sun solaris ?
again, I have only CD drive.As long as your machine is supported and supports CD booting then you should have no issues.
Check the HCL first.
alan -
Mounting windows directory to the solaris for linkage of files to the DB
Hi,
I want to know how to access windows directory in sun solaris 5.0,actually in the windows directory we are havig JPG images and we want to crreate a link to the database and our database is oracle 10 g, but i am unable to mount the win directory to the solaris.............
can anybody help me out to solve the problem..........You can have the image directory shifted to database server itself. That would solve a lot of issues in first place.
If you are having trouble setting up the windows share on Solaris, get in touch with your system administrator. -
Migrate portal 306 (Windows NT) to portal 308 (Sun Solaris)
is it possible to migrate portal 306 on Windows NT to portal 308 on Sun Solaris.
the portal on Windows NT has only external portlets integrated into it. is it possible to migrate ...?
any answers would be great help.
thanx a bunch.
nullYes, it is possible to migrate up to the current release on Solaris, but it's not easy. First, upgrade from 3.0.6 to 3.0.8 on the NT box. Then, export everything from NT to Solaris (import/export only works across the same Portal release). Check out the Export/Import paper here on OTN for more info.
You might find it quicker to manually recreate everything within the new portal instance on Solaris.
Best,
Jay -
Servlet works in windows but does not work in solaris?
hi all,
can someone tell me why the servlet work in windows platform but doesnt work in solaris?The servlet tries to ping 127.0.0.1 and the output is correct in windows, but when i try it in solaris, it produces the following exception :
Internal error: Unexpected Java exception thrown ( unknown exception, no description ) , stack:java.lang.NoClassDefFoundError: StreamGobbler
at java.lang.Class.getDeclaredConstructors()(Native Method) ....
The code is as follow:
import java.util.*;
import javax.servlet.http.*;
import javax.servlet.*;
import java.io.*;
class StreamGobbler extends Thread
InputStream is=null;
String type=null;
PrintWriter out=null;
StreamGobbler(InputStream is,String type,PrintWriter out)
this.is=is;
this.type=type;
this.out=out;
public void run()
try
InputStreamReader isr=new InputStreamReader(is);
BufferedReader br=new BufferedReader(isr);
System.out.println("finishing inputstreamReader and BufferedReader");
String line=null;
while ( (line=br.readLine())!=null )
{ out.println(type+"> "+line);
out.println("<br>");
catch (IOException ioe)
{ ioe.printStackTrace();
public class ping extends HttpServlet
public void init(ServletConfig config) throws ServletException
{ super.init();
public void service(HttpServletRequest req,HttpServletResponse res) throws ServletException, IOException
res.setContentType("text/html");
PrintWriter out=res.getWriter();
try {
Runtime rt=Runtime.getRuntime();
System.out.println("pinging 127.0.0.1");
String[] cmd={"ping","127.0.0.1"};
Process proc=rt.exec(cmd);
System.out.println("finishing process proc=rt.exec(cmd)");
StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(),"ERROR",out);
StreamGobbler outputGobbler= new StreamGobbler(proc.getInputStream(),"OUTPUT",out);
errorGobbler.start();
outputGobbler.start();
int exitVal=proc.waitFor();
out.println("Process exitValue: "+exitVal);
out.close();
catch (Throwable t)
t.printStackTrace();
Thanks for help.java.lang.NoClassDefFoundError: StreamGobblerBecause you didn't put that class into the classpath of the servlet you are trying to run on Solaris.
-
Is there any difference between sun solaris 8 and windows for Garb.Collecti
Hi All,
is there any difference between refreshing the java virtual memory between sun solaris 8 and windows.i am fetching 25 records for every search action.in windows usage of java virual memory is 5 mb after every search it refreshes the memory.while using the same code in sun solaris 8 it throws heap out of memory error and for every search it wont refresh the memory.Some other related links
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
http://e-docs.bea.com/wls/docs81/perform/JVMTuning.html -
Now I am using Windows Xp Labview program now i want control the Sun Solaris OS Board.Is it Possible in Windows XP Labview?
You better should post your question in the LabVIEW forum - this one here is dedicated to LabWindows/CVI...
-
Urgently require a Programmer for TOP Dubai Co. (Oracle on Sun Solaris)
Need a good integration programer, experienced on Oracle Database, and Sun Solaris operating system. Budget is Dhs 8,000 per month Negotiable, depending on the experience. ( For a leading Dubai Company) - Revert back with detailed CV NOW........
Appointment in a week.
Location - Dubai UAE
Sadsack
00 91 98 60 225 225
[email protected]Maybe there should be a category like "job offers" in this forum?
As a side note: maybe add some more details next time, such as: which version of Oracle products, which kind of operating system skills (I read programmer as developer, not as administrator), etc.
C. -
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.
-
Problems in installing msi k9n6gm-v drivers in sun solaris
I have problems in installing drivers of my msi motherboard. Please help me. Also im new in using sun solaris. I dont know how to run executable and .ini files format which is windows compatible.
You are new to the forum, so some advice:
Do not post the same question to multiple forums.
Pick one and place it there.
You will get a response or you will not get a response.
Cross-posting will not get any answer, any faster, and it is considered bad forum manners.
ini and exe files are for Microsoft's OS.
They don't work in *NIX.
Your motherboard drivers are for Windows and cannot be used for Solaris.
Here are a few links for you to spend some time with:
http://www.sun.com/bigadmin/hcl/hcts/device_detect.html
http://www.sun.com/bigadmin/hcl/
http://72.5.124.61/software/solaris/howtoguides/installationhowto.jsp
http://docs.sun.com/app/docs/doc/817-0544/ -
How to configure the network on Sun Solaris 8
The Sun workstation is a license server, and Window NT workstation need to access the license file that located in the sun workstation.
Now the Window NT workstation cannot connect with the sun solaris, and I guess that I need to configure the network on Sun Solaris 8.
Could you please tell me how to do that step by step?
If there is the system tool like the window system to configure the network easily and quickly.
I appreciate it.
MarkIf your sun system is working then probably it has network configured already .You can check it by the following command on the sun.
ifconfig -a
Generally applications asks where license server is located and you need to give the ip-address or host name only . Application docs will give more detail about it.
You can get ip-address from ifconfig comand above.
Hemant Sharma
http://www.adminschoice.com -
How do I setup high speed internet on Sun Solaris 10?
Hello,
I have comcast high speed internet. It doesn't work automatically. How can I setup my high speed internet connection to work with Sun Solaris 10?
MateuszPickup a broadband router, made by dlink, linksys, netgear, SMC or Cisco. If possible get a wireless with 4 port switch built in. This will give you added flexibility if you happen to get another system or a wireless laptop. You want a gateway router that does NAT, SPI firewall, DHCP.
Plug it into your cable modem then into your sun box, default settings on the router will generally self configure to the broadband you connect to and there will be no problems. However if you are using a DSL or bigpond they require a username and password to get the line active, this requires an initial login to the firewall to pick PPoE on the WAN side.
Different brands default to different 'non routeable' internal IP's, all are 192.168.x.x, smc defaults to 192.168.1.x or 192.168.2.x depending on release date, Linksys defaults to 192.168.2.x as does linksys, Netgear defaults to 192.168.1.x, the owners manual will usually tell you this.
They are generally made to default to a windows box so configuring a unix box has to be done either manually or with the dhcp option. www.dslreports.com has alot of good vendor specific information on configuring these things.
At any rate you need to create a file in /etc called 'defaultrouter' with the routers IP address, in the smc case it would be 192.168.2.1, pick a couple of outside DNS servers and put them in a file in /etc called resolv.conf in the format
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
copy nsswitch.dns nsswitch.conf
pick an address in the 192.168.2 range like .25 and add it in the /etc/hosts file, create a hostname.hme0 file with the host name thats in the hosts file and reboot.
Then try to ping the router, if no ping then the chang the 3td octet 1 instead of 2 and try again.
I've never tried doing the .dhcp thing but I've never used dhcp for a sun box before because all I do is servers.
I think I'd try the DHCP thing first then get to the router to get all it's information and write it down. Usually the ISP will populate the router with dns servers and any dns requests are answered by the router in the dhcp configuration. I think thats about it...
Maybe you are looking for
-
Data Connection Library used in the workbook is not in a trusted location.
I got a requirement to display excel charts with data source as SharePoint list. Here are the steps which I am following: Exported SharePoint list to excel sheet and exported connection file to local drive. Uploaded to data connection library. Create
-
Icloud and multiple users on a single iMac
I am keen to use icloud at least for calendar and address book and email. My wife and I both have Apple id's and we both use the iMac, where all usage is under my user name / environment. I also run a Macbook Air that is also discrete from the iMac.
-
Get fields from R/3 in to BW
Hi All, Can anyone please help me with the following? I need to flag (check mark) the fields WAERS, DMBTR, DMBE2, DMBE3, PSWSL, PSWBT in R/3 so that I can find them in my update rules to map against the Infoobjects in my update rules. Can any please
-
Having trouble installing Photoshop on Mac OSX 10.7.4
Hello Im having trouble installing Photoshop CS6 and Illustator CS6. I am geting the following errow while trying to install in Creative Cloud Download Manager: Exit Code: 34 -------------------------------------- Summary ----------------------------
-
My Photoshop Element 9 Organizer does not run.
Photoshop Elements on my mac runs fine but when I open the Organizer it is very slow. I tried running an update but the installation failed.