ClassCastException when querying an entry set w/ Comparator
Hi,
I have come across a problem trying to retrieve a sorted entry set from a distributed cache. I have a cache containing objects of a single class (OrderHistory) and am using the NamedCache.entrySet(filter, comparator) method. The results are fine when only a filter is used, and also when 'null' is passed as the comparator (correctly sorting OrderHistories in natural order). However, a ClassCastException occurs when I specify my own OrderSorter as a comparator. This occurs even when the OrderSorter class is stripped of all mention of the OrderHistory class and the compare method is reduced to:
public int compare(Object o1, Object o2) {
return 1;
OrderSorted implements both Comparator and ExternalizableLite. It appears that Tangosol is attempting to perform the cast internally. The stack trace is as follows:
Failed request execution for DistributedCache service on Member(Id=1, Timestamp=2007-05-14 15:19:34.9, Address=10.142.194.36:8088, MachineId=17956))
java.lang.ClassCastException: com.[...].OrderHistory
at com.tangosol.util.comparator.EntryComparator.compare(EntryComparator.java:103)
at com.tangosol.util.comparator.SafeComparator.compareEntries(SafeComparator.java:106)
at com.tangosol.util.comparator.EntryComparator.compare(EntryComparator.java:114)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.sort(Arrays.java:1223)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$Storage.extractBinaryEntries(DistributedCache.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$Storage.query(DistributedCache.CDB:209)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache.onQueryRequest(DistributedCache.CDB:23)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$QueryRequest.run(DistributedCache.CDB:1)
at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheRequest.onReceived(DistributedCacheRequest.CDB:12)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:122)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache.onNotify(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35)
at java.lang.Thread.run(Thread.java:595)
Any ideas?
Thanks in advance,
James
Err, seems that bug is not fixed yet, at least version 3.5/459 still has it. Too bad.
Here is my test case & stack trace:
log("building cache instance");
NamedCache cache = CacheFactory.getCache("mycache");
log("put some objects into the cache");
cache.put("#TEST#10#001","#1111");
cache.put("#TEST#10#012","#2222");
cache.put("#TEST#10#003","#3333");
cache.put("#TEST#20#1","#4444");
log("building filter object");
Filter filter = new LikeFilter(new KeyExtractor(), "#TEST#10%",'\\',true);
testComparator comparator = new testComparator();
for (Iterator it = cache.entrySet(filter,new EntryComparator(comparator, EntryComparator.CMP_KEY)).iterator(); it.hasNext();) {
Map.Entry curr_entry = (Map.Entry)it.next();
System.out.println("curr_key="+curr_entry.getKey().toString()+
"curr_value="+curr_entry.getValue().toString()
Exception in thread "main" java.lang.ClassCastException: java.lang.String
at com.tangosol.util.comparator.EntryComparator.compare(EntryComparator.java:99)
at com.tangosol.util.comparator.SafeComparator.compareSafe(SafeComparator.java:166)
at com.tangosol.util.comparator.SafeComparator.compare(SafeComparator.java:84)
at com.tangosol.util.comparator.EntryComparator.compare(EntryComparator.java:115)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.sort(Arrays.java:1223)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap.entrySet(DistributedCache.CDB:105)
at com.tangosol.coherence.component.util.SafeNamedCache.entrySet(SafeNamedCache.CDB:1)
-------------------------------------
Similar Messages
-
Intermittent errors when querying the AD
HI,
We recently replaced 2 old windows 2003 dc'S with windows 2008r2 dc'S. All is working ok except on odd occasions when query the AD i get errors such as "Server not operational" or "Domain does not exist" Everything looks correct on DNS
and there are no entries for the old servers so i am looking at alternatives. If i run wireshark i get entries such as
192.168.180.132 192.168.180.255 NBNS 92 Name query NB XXXXXXX
192.168.180.132 is the ip of a standard workstation
192.168.180.255 is an ip that has no harware associated with it
XXXXXX is the server name for one of the old servers i removed
not sure if this is realted or not, but i think both need to be resolved.
New to all this, can anybody guide on where to start
Thansk
Garethrunning standard dcdiag produces:
DC1
Directory Server Diagnosis
Performing initial setup:
Trying to find home server...
Home Server = JIGSAWFS6
* Identified AD Forest.
Done gathering initial info.
Doing initial required tests
Testing server: Default-First-Site-Name\JIGSAWFS6
Starting test: Connectivity
......................... JIGSAWFS6 passed test Connectivity
Doing primary tests
Testing server: Default-First-Site-Name\JIGSAWFS6
Starting test: Advertising
......................... JIGSAWFS6 passed test Advertising
Starting test: FrsEvent
......................... JIGSAWFS6 passed test FrsEvent
Starting test: DFSREvent
......................... JIGSAWFS6 passed test DFSREvent
Starting test: SysVolCheck
......................... JIGSAWFS6 passed test SysVolCheck
Starting test: KccEvent
......................... JIGSAWFS6 passed test KccEvent
Starting test: KnowsOfRoleHolders
......................... JIGSAWFS6 passed test KnowsOfRoleHolders
Starting test: MachineAccount
......................... JIGSAWFS6 passed test MachineAccount
Starting test: NCSecDesc
Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
Replicating Directory Changes In Filtered Set
access rights for the naming context:
DC=ForestDnsZones,DC=jigsawtransport,DC=com
Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
Replicating Directory Changes In Filtered Set
access rights for the naming context:
DC=DomainDnsZones,DC=jigsawtransport,DC=com
......................... JIGSAWFS6 failed test NCSecDesc
Starting test: NetLogons
......................... JIGSAWFS6 passed test NetLogons
Starting test: ObjectsReplicated
......................... JIGSAWFS6 passed test ObjectsReplicated
Starting test: Replications
......................... JIGSAWFS6 passed test Replications
Starting test: RidManager
......................... JIGSAWFS6 passed test RidManager
Starting test: Services
......................... JIGSAWFS6 passed test Services
Starting test: SystemLog
An error event occurred. EventID: 0xC0002719
Time Generated: 12/06/2013 09:29:59
Event String:
DCOM was unable to communicate with the computer 8.8.8.8 using any of the configured protocols.
......................... JIGSAWFS6 failed test SystemLog
Starting test: VerifyReferences
......................... JIGSAWFS6 passed test VerifyReferences
Running partition tests on : ForestDnsZones
Starting test: CheckSDRefDom
......................... ForestDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... ForestDnsZones passed test
CrossRefValidation
Running partition tests on : DomainDnsZones
Starting test: CheckSDRefDom
......................... DomainDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... DomainDnsZones passed test
CrossRefValidation
Running partition tests on : Schema
Starting test: CheckSDRefDom
......................... Schema passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Schema passed test CrossRefValidation
Running partition tests on : Configuration
Starting test: CheckSDRefDom
......................... Configuration passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Configuration passed test CrossRefValidation
Running partition tests on : jigsawtransport
Starting test: CheckSDRefDom
......................... jigsawtransport passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... jigsawtransport passed test
CrossRefValidation
Running enterprise tests on : jigsawtransport.com
Starting test: LocatorCheck
......................... jigsawtransport.com passed test LocatorCheck
Starting test: Intersite
......................... jigsawtransport.com passed test Intersite
DC2
Directory Server Diagnosis
Performing initial setup:
Trying to find home server...
Home Server = JIGSAWFS8
* Identified AD Forest.
Done gathering initial info.
Doing initial required tests
Testing server: Default-First-Site-Name\JIGSAWFS8
Starting test: Connectivity
......................... JIGSAWFS8 passed test Connectivity
Doing primary tests
Testing server: Default-First-Site-Name\JIGSAWFS8
Starting test: Advertising
......................... JIGSAWFS8 passed test Advertising
Starting test: FrsEvent
......................... JIGSAWFS8 passed test FrsEvent
Starting test: DFSREvent
......................... JIGSAWFS8 passed test DFSREvent
Starting test: SysVolCheck
......................... JIGSAWFS8 passed test SysVolCheck
Starting test: KccEvent
......................... JIGSAWFS8 passed test KccEvent
Starting test: KnowsOfRoleHolders
......................... JIGSAWFS8 passed test KnowsOfRoleHolders
Starting test: MachineAccount
......................... JIGSAWFS8 passed test MachineAccount
Starting test: NCSecDesc
Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
Replicating Directory Changes In Filtered Set
access rights for the naming context:
DC=ForestDnsZones,DC=jigsawtransport,DC=com
Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
Replicating Directory Changes In Filtered Set
access rights for the naming context:
DC=DomainDnsZones,DC=jigsawtransport,DC=com
......................... JIGSAWFS8 failed test NCSecDesc
Starting test: NetLogons
......................... JIGSAWFS8 passed test NetLogons
Starting test: ObjectsReplicated
......................... JIGSAWFS8 passed test ObjectsReplicated
Starting test: Replications
......................... JIGSAWFS8 passed test Replications
Starting test: RidManager
......................... JIGSAWFS8 passed test RidManager
Starting test: Services
......................... JIGSAWFS8 passed test Services
Starting test: SystemLog
An Error Event occurred. EventID: 0xC0002719
Time Generated: 12/06/2013 09:31:07
EvtFormatMessage failed, error 15100 Win32 Error 15100.
(Event String (event log = System) could not be retrieved, error
0x3afc)
......................... JIGSAWFS8 failed test SystemLog
Starting test: VerifyReferences
......................... JIGSAWFS8 passed test VerifyReferences
Running partition tests on : ForestDnsZones
Starting test: CheckSDRefDom
......................... ForestDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... ForestDnsZones passed test
CrossRefValidation
Running partition tests on : DomainDnsZones
Starting test: CheckSDRefDom
......................... DomainDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... DomainDnsZones passed test
CrossRefValidation
Running partition tests on : Schema
Starting test: CheckSDRefDom
......................... Schema passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Schema passed test CrossRefValidation
Running partition tests on : Configuration
Starting test: CheckSDRefDom
......................... Configuration passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Configuration passed test CrossRefValidation
Running partition tests on : jigsawtransport
Starting test: CheckSDRefDom
......................... jigsawtransport passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... jigsawtransport passed test
CrossRefValidation
Running enterprise tests on : jigsawtransport.com
Starting test: LocatorCheck
......................... jigsawtransport.com passed test LocatorCheck
Starting test: Intersite
......................... jigsawtransport.com passed test Intersite -
Receiving OCI/ORA-27163 when querying XML data in 11g.
When querying a table with a column stored in XML format, we get this error for large XML values. This works in Oracle 10g but this error happens when the same data is queried in an 11.2.0.3 instance. I have had a support request open with Oracle for about a month and so far it has not made any progress. What we've seen are the following:
1. The xml data itself is good.
2. The good xml data when queried with a wholly 10g client/server environment, works.
3. The same good xml data when inserted into a table in an 11g instance through a stored package run from the 11g instance (server to server) gets the 27163 error.
4. The same xml data when queried in a 10g instance from an 11g client fails with the 27163 error.
5. If we disable the 11g XML parser by setting an internal event (alter session set events='31156 trace name context forever, level 0x400';), then run the same code that was run in item 3 above, it does not get the 27163 error. However, the xml loaded to the 11g instance can then only be queried without getting the 27163 error if we use an older 10g client. An 11g client consistently gets the error.
The server versions are 11.2.0.3 (upgraded from 10.2.0.4). The SQL*Net client versions that we have tested on are 11.2.0.2 and 11.2.0.3 (both produce the 27163 error).
With considerable trial and error, we found that it is some combination of the file size and format that causes the error. Copied below is the smallest sample data of a failing XML that will produce this erro (about 8K). Remove any single character even in an a comment and the file parses successfully – but it’s not the file size alone as the original 800+KB file where we first dicovered this problem will process if the period in the attribute: @value=”${item.id}” is removed.
We are at our wit's end, and with an 11g migration project looming, any ideas anyone can suggest would be very helpful.
Thanks,
Joe
Here is a test case to play around with. Sorry I don't have a way to upload a zip file for this, but you can cut & paste from the post:
1. CREATE TABLE my_xml_test
(record_id NUMBER(4,0),
xml SYS.XMLTYPE,
comments VARCHAR2(200))
ALTER TABLE my_xml_test
ADD CONSTRAINT my_xml_test_pk PRIMARY KEY (record_id)
USING INDEX
2. mkdir SampleData
3. cd into SampleData, copy the XML I will post in the first reply to this message into a new text document called xml_items_removed.xml.
4. cd .. and create a file called 20120112_11g_bad_xml_issue.txt with this in it:
1, .\SampleData\xml_items_removed.xml,"Fails: OriginalXML w/ all instances of <Item> removed (count 600) -- reduces file size to ca. 55KB but still fails (Saved by XMLSpy)"
5. Next create your SQL*Loader control file (call it my_xml_test.ctl):
LOAD DATA
APPEND INTO TABLE my_xml_test
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
record_id,
ext_fname FILLER CHAR(200),
xml LOBFILE(ext_fname) TERMINATED BY EOF,
comments
6. sqlldr <username>/<password>@<database> control=my_xml_test.ctl data=20120112_11g_bad_xml_issue.txt log=20120112_11g_bad_xml_issue.log bad=20120112_11g_bad_xml_issue.bad
7. Once the data is loaded, query my_xml_test table that you created in step 1. You should get the 27163 error:
SELECT a.record_id,
comments,
a.XML,
length(a.XML.GetClobVal()) clob_length
FROM my_xml_test a<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2012 sp1 (http://www.altova.com) by Martin l (National Board of Medical Examiners) -->
<IRData application="Item Review" version="1.3" itempool="2006001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ViewerTypes>
<Viewer id="its-viewer">
<Title>Item Text</Title>
<Description>Item Text</Description>
<BaseUrl>https://www.starttest.com/flex/4.3.0.0/InstitutionViewItem.aspx</BaseUrl>
<Parameters>
<Parameter name="pid" value="MSST"/>
<Parameter name="iid" value="01123"/>
<Parameter name="username" value="SomeUser"/>
<Parameter name="item" value="${item.id}"/>
<Parameter name="code" value="${CODE}"/>
</Parameters>
</Viewer>
</ViewerTypes>
<Filters>
<Filter id="drop-single-filter">
<AttributeSource>drop</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="onoff-single-filter">
<AttributeSource>onoff</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="reviewed-single-filter">
<AttributeSource>reviewed</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="build-multi-filter">
<AttributeSource>build</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="flag-multi-filter">
<AttributeSource>flag</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="u1dt-multi-filter">
<AttributeSource>U1DT</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="fb2-multi-filter">
<AttributeSource>FB2</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="fb1t-multi-filter">
<AttributeSource>FB1T</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="scorecat-multi-filter">
<AttributeSource>scorecat</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="images-multi-filter">
<AttributeSource>PIXN</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
<Filter id="vignettes-multi-filter">
<AttributeSource>VIG1</AttributeSource>
<ControlType>select-1-drop-down-plus-all</ControlType>
</Filter>
</Filters>
<DataPanels>
<Control displayed="true">
<Filters>
<Filter>
<Description>Drop</Description>
<FilterSource>drop-single-filter</FilterSource>
</Filter>
<Filter>
<Description>Version</Description>
<FilterSource>build-multi-filter</FilterSource>
</Filter>
<Filter>
<Description>On/Off Test</Description>
<FilterSource>onoff-single-filter</FilterSource>
</Filter>
<Filter>
<Description>Review status</Description>
<FilterSource>reviewed-single-filter</FilterSource>
</Filter>
<Filter>
<Description>Flag</Description>
<FilterSource>flag-multi-filter</FilterSource>
</Filter>
<Filter>
<Description>Discipline</Description>
<FilterSource>fb1t-multi-filter</FilterSource>
</Filter>
<Filter>
<Description>Organ System</Description>
<FilterSource>u1dt-multi-filter</FilterSource>
</Filter>
<Filter>
<Description>Step 1 outline</Description>
<FilterSource>fb2-multi-filter</FilterSource>
</Filter>
<Filter>
<Description>Images</Description>
<FilterSource>images-multi-filter</FilterSource>
</Filter>
<Filter>
<Description>Vignettes</Description>
<FilterSource>vignettes-multi-filter</FilterSource>
</Filter>
<Filter>
<Description>Score categories</Description>
<FilterSource>scorecat-multi-filter</FilterSource>
</Filter>
</Filters>
</Control>
<ItemList displayed="true">
<Attributes>
<Attribute displayed="true">
<Description>Item</Description>
<AttributeSource>itemref</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>On test</Description>
<AttributeSource>onoff</AttributeSource>
<ControlType>checkbox-select</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Drop</Description>
<AttributeSource>drop</AttributeSource>
<ControlType>checkbox-select</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Reviewed</Description>
<AttributeSource>reviewed</AttributeSource>
<ControlType>check-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Flag</Description>
<AttributeSource>flag</AttributeSource>
<ControlType>select-1-drop-down</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Description</Description>
<AttributeSource>DESCR</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Discipline</Description>
<AttributeSource>FB1T</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Organ System</Description>
<AttributeSource>U1DT</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Step 1 outline</Description>
<AttributeSource>FB2</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<!-- Attribute displayed="false"> <Description>Organ System plus</Description> <AttributeSource>ORGA</AttributeSource> <ControlType>text-display</ControlType> </Attribute -->
<Attribute displayed="true">
<Description>Images</Description>
<AttributeSource>PIXN</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Vignettes</Description>
<AttributeSource>VIG1</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Diff</Description>
<AttributeSource>pvalue</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Discr</Description>
<AttributeSource>rbvalue</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Answer Key</Description>
<AttributeSource>key</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
<Attribute displayed="true">
<Description>Notes</Description>
<AttributeSource>notes</AttributeSource>
<ControlType>text-display</ControlType>
</Attribute>
</Attributes>
</ItemList>
<CurrentItemInfo>
<ItemText displayed="true"/>
<ItemData>
<Attribute>
<DataSource>scorecat</DataSource>
<ControlType>select-each-value</ControlType>
</Attribute>
</ItemData>
</CurrentItemInfo>
</DataPanels>
</IRData>
<?BASELINE FB2-A.02.01 on:4 off:3?>
<?BASELINE FB2-A.02.02 on:4 off:4?>
<?BASELINE FB2-A.03.01 on:3 off:1?>
<?BASELINE FB2-A.03.02 on:0 off:1?>
<?BASELINE FB2-A.03.04 on:3 off:2?>
<?BASELINE FB2-A.03.05 on:1 off:0?>
<?BASELINE FB2-A.03.07 on:4 off:2?>
<?BASELINE FB2-A.04.01 on:2 off:5?>
<?BASELINE FB2-A.04.02 on:5 off:3?>
<?BASELINE FB2-A.04.03 on:3 off:1?>
<?BASELINE FB2-A.04.04 on:1 off:1?>
<?BASELINE FB2-A.05.01 on:12 off:14?>
<?BASELINE FB2-A.05.02 on:9 off:1?>
<?BASELINE FB2-A.05.03 on:0 off:6?>
<?BASELINE FB2-A.06.01 on:7 off:9?>
<?BASELINE FB2-A.06.02 on:2 off:6?>
<?BASELINE FB2-A.06.03 on:10 off:5?>
<?BASELINE FB2-A.06.04 on:1 off:1?>
<?BASELINE FB2-A.07 on:23 off:20?> -
Strange explain plan when query SYS tables
Oracle Version 9.2.0.7
We have an application that runs the following query on Oracle 9.2.0.7
SELECT T1.TABLE_NAME,T1.COLUMN_NAME, T1.SRID, T2.SDO_UB, T2.SDO_LB, T1.OWNER FROM ALL_SDO_GEOM_METADATA T1, TABLE(T1.DIMINFO) T2 WHERE T1.OWNER=UPPER(:"SYS_B_0") AND T1.TABLE_NAME=UPPER(:"SYS_B_1")
Without the self join the query is fine, but with the self join on our customers database the explain plan is doing full table scans and Hash Joins on SYS tables and takes 2 minutes.
Rows Row Source Operation
2 FILTER
2 NESTED LOOPS
1 TABLE ACCESS FULL SDO_GEOM_METADATA_TABLE
2 COLLECTION ITERATOR PICKLER FETCH
1 UNION-ALL
0 FILTER
0 NESTED LOOPS OUTER
0 HASH JOIN
37 TABLE ACCESS FULL TS$
0 HASH JOIN OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS
1 NESTED LOOPS
1 TABLE ACCESS BY INDEX ROWID USER$
1 INDEX UNIQUE SCAN I_USER1 (object id 44)
1 TABLE ACCESS BY INDEX ROWID OBJ$
1 INDEX RANGE SCAN I_OBJ2 (object id 37)
0 TABLE ACCESS CLUSTER TAB$
1 INDEX UNIQUE SCAN I_OBJ# (object id 3)
0 TABLE ACCESS CLUSTER SEG$
0 INDEX UNIQUE SCAN I_FILE#_BLOCK# (object id 9)
0 TABLE ACCESS BY INDEX ROWID OBJ$
0 INDEX UNIQUE SCAN I_OBJ1 (object id 36)
0 TABLE ACCESS FULL USER$
0 INDEX UNIQUE SCAN I_OBJ1 (object id 36)
0 NESTED LOOPS
0 FIXED TABLE FULL X$KZSRO
0 INDEX RANGE SCAN I_OBJAUTH2 (object id 109)
0 FIXED TABLE FULL X$KZSPR
0 FILTER
0 NESTED LOOPS OUTER
0 HASH JOIN
54 TABLE ACCESS FULL USER$
0 HASH JOIN
29447 TABLE ACCESS FULL OBJ$
0 HASH JOIN OUTER
0 HASH JOIN OUTER
0 HASH JOIN OUTER
0 NESTED LOOPS
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS
0 NESTED LOOPS
0 NESTED LOOPS
1 NESTED LOOPS
1 TABLE ACCESS BY INDEX ROWID USER$
1 INDEX UNIQUE SCAN I_USER1 (object id 44)
1 TABLE ACCESS BY INDEX ROWID OBJ$
1 INDEX RANGE SCAN I_OBJ2 (object id 37)
0 TABLE ACCESS CLUSTER TAB$
1 INDEX UNIQUE SCAN I_OBJ# (object id 3)
0 TABLE ACCESS CLUSTER TS$
0 INDEX UNIQUE SCAN I_TS# (object id 7)
0 TABLE ACCESS CLUSTER COL$
0 TABLE ACCESS CLUSTER SEG$
0 INDEX UNIQUE SCAN I_FILE#_BLOCK# (object id 9)
0 TABLE ACCESS BY INDEX ROWID OBJ$
0 INDEX UNIQUE SCAN I_OBJ1 (object id 36)
0 TABLE ACCESS CLUSTER COLTYPE$
0 TABLE ACCESS FULL USER$
0 TABLE ACCESS FULL OBJ$
0 TABLE ACCESS FULL USER$
0 INDEX UNIQUE SCAN I_OBJ1 (object id 36)
0 NESTED LOOPS
0 FIXED TABLE FULL X$KZSRO
0 INDEX RANGE SCAN I_OBJAUTH2 (object id 109)
0 FIXED TABLE FULL X$KZSPR
1 FILTER
1 NESTED LOOPS
1 NESTED LOOPS OUTER
1 NESTED LOOPS
1 TABLE ACCESS BY INDEX ROWID USER$
1 INDEX UNIQUE SCAN I_USER1 (object id 44)
1 TABLE ACCESS BY INDEX ROWID OBJ$
1 INDEX RANGE SCAN I_OBJ2 (object id 37)
0 INDEX UNIQUE SCAN I_TYPED_VIEW1 (object id 105)
1 INDEX UNIQUE SCAN I_VIEW1 (object id 104)
0 NESTED LOOPS
0 FIXED TABLE FULL X$KZSRO
0 INDEX RANGE SCAN I_OBJAUTH2 (object id 109)
0 FIXED TABLE FULL X$KZSPR
On our development database it takes 0.07 sec with no full table scans and no hash joins.
Rows Row Source Operation
2 NESTED LOOPS
1 TABLE ACCESS BY INDEX ROWID SDO_GEOM_METADATA_TABLE
1 INDEX RANGE SCAN SDO_GEOM_IDX (object id 36753)
1 UNION-ALL
0 FILTER
0 NESTED LOOPS
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS
1 NESTED LOOPS
1 TABLE ACCESS BY INDEX ROWID USER$
1 INDEX UNIQUE SCAN I_USER1 (object id 44)
1 TABLE ACCESS BY INDEX ROWID OBJ$
1 INDEX RANGE SCAN I_OBJ2 (object id 37)
0 TABLE ACCESS CLUSTER TAB$
1 INDEX UNIQUE SCAN I_OBJ# (object id 3)
0 TABLE ACCESS BY INDEX ROWID OBJ$
0 INDEX UNIQUE SCAN I_OBJ1 (object id 36)
0 INDEX UNIQUE SCAN I_OBJ1 (object id 36)
0 TABLE ACCESS CLUSTER USER$
0 INDEX UNIQUE SCAN I_USER# (object id 11)
0 TABLE ACCESS CLUSTER SEG$
0 INDEX UNIQUE SCAN I_FILE#_BLOCK# (object id 9)
0 TABLE ACCESS CLUSTER TS$
0 INDEX UNIQUE SCAN I_TS# (object id 7)
0 NESTED LOOPS
0 FIXED TABLE FULL X$KZSRO
0 INDEX RANGE SCAN I_OBJAUTH2 (object id 109)
0 FIXED TABLE FULL X$KZSPR
0 FILTER
0 NESTED LOOPS
0 NESTED LOOPS
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS OUTER
0 NESTED LOOPS
0 NESTED LOOPS
0 NESTED LOOPS
0 NESTED LOOPS
1 NESTED LOOPS
1 TABLE ACCESS BY INDEX ROWID USER$
1 INDEX UNIQUE SCAN I_USER1 (object id 44)
1 TABLE ACCESS BY INDEX ROWID OBJ$
1 INDEX RANGE SCAN I_OBJ2 (object id 37)
0 TABLE ACCESS CLUSTER TAB$
1 INDEX UNIQUE SCAN I_OBJ# (object id 3)
0 TABLE ACCESS CLUSTER TS$
0 INDEX UNIQUE SCAN I_TS# (object id 7)
0 TABLE ACCESS CLUSTER COL$
0 TABLE ACCESS CLUSTER COLTYPE$
0 TABLE ACCESS CLUSTER SEG$
0 INDEX UNIQUE SCAN I_FILE#_BLOCK# (object id 9)
0 TABLE ACCESS BY INDEX ROWID OBJ$
0 INDEX UNIQUE SCAN I_OBJ1 (object id 36)
0 TABLE ACCESS CLUSTER USER$
0 INDEX UNIQUE SCAN I_USER# (object id 11)
0 TABLE ACCESS BY INDEX ROWID OBJ$
0 INDEX UNIQUE SCAN I_OBJ1 (object id 36)
0 TABLE ACCESS CLUSTER USER$
0 INDEX UNIQUE SCAN I_USER# (object id 11)
0 INDEX UNIQUE SCAN I_OBJ1 (object id 36)
0 TABLE ACCESS BY INDEX ROWID OBJ$
0 INDEX RANGE SCAN I_OBJ3 (object id 38)
0 TABLE ACCESS CLUSTER USER$
0 INDEX UNIQUE SCAN I_USER# (object id 11)
0 NESTED LOOPS
0 FIXED TABLE FULL X$KZSRO
0 INDEX RANGE SCAN I_OBJAUTH2 (object id 109)
0 FIXED TABLE FULL X$KZSPR
1 FILTER
1 NESTED LOOPS
1 NESTED LOOPS OUTER
1 NESTED LOOPS
1 TABLE ACCESS BY INDEX ROWID USER$
1 INDEX UNIQUE SCAN I_USER1 (object id 44)
1 TABLE ACCESS BY INDEX ROWID OBJ$
1 INDEX RANGE SCAN I_OBJ2 (object id 37)
0 INDEX UNIQUE SCAN I_TYPED_VIEW1 (object id 105)
1 INDEX UNIQUE SCAN I_VIEW1 (object id 104)
0 NESTED LOOPS
0 FIXED TABLE FULL X$KZSRO
0 INDEX RANGE SCAN I_OBJAUTH2 (object id 109)
0 FIXED TABLE FULL X$KZSPR
2 COLLECTION ITERATOR PICKLER FETCH
ALL_SDO_GEOM_METADATA is a view in the MDSYS schema (generated by Oracle ).
SELECT SDO_OWNER OWNER,
SDO_TABLE_NAME TABLE_NAME,
SDO_COLUMN_NAME COLUMN_NAME,
SDO_DIMINFO DIMINFO,
SDO_SRID SRID
FROM SDO_GEOM_METADATA_TABLE
WHERE
(exists
(select table_name from all_tables
where table_name=sdo_table_name
and owner = sdo_owner
union all
select table_name from all_object_tables
where table_name=sdo_table_name
and owner = sdo_owner
union all
select view_name table_name from all_views
where view_name=sdo_table_name
and owner = sdo_owner))
Statistics have been gathered for the MDSYS user.
If this had not been SYS schema I would have immediately concluded that fresh statistics are required. The SYS objects concerend are valid with all indexes
From my understanding you are not meant to gather stats for the SYS schema in Oracle 9 as Data Dictionary queries still uses RBO?
Any ideas as to why Oracle is doing full table scans when querying SYS tables? The optimizer_mode is set to FIRST_ROWS.
Any ideas greatly recevied.
ThanksMaybe I'm missing something but this:
INDEX FULL SCAN SISESTAT I0_ESTRUTURA_COMERCIALindicates that one of those indexes is being used.
This:
T_ESTRUTURA_COMERCIALIs nowhere to be found in your Explain Plan. It appears that either you have posted the wrong plan
or Oracle is doing a query rewrite to a materialized view. -
ClassCastException when using javax.xml.soap.DetailEntry
I am using the Java Web Services development pack and I'm getting a ClassCastException when trying to use a DetailEntry object.
My code is basically as follows:
SOAPFault fault = responseSoapBody.getFault();
Detail detail = fault.getDetail();
Iterator iterator = detail.getDetailEntries();
DetailEntry entry = (DetailEntry)iterator.next(); //exception!!
Exception:
java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.dom4j.TextImpl
The object being returned from the Iterator seems to be a TextImpl. In my CLASSPATH are the jars in the lib directory under <JWSDP>\jwsdp-1_0_01\common\lib.
Any idea why I'm getting this Exception? Is this a bug in the JWSDP, or in my code?
Thanks...You post has been forwarded to the SAAJ person as it seems
like a SAAJ exception ... u should be hearing from the
individual soon
asengup -
Error when querying REST web services from web-based InfoPath form 2013 environment
Error when querying REST web services from web-based InfoPath form 2013 environment, we are trying to consume REST web service in InfoPath form ( SharePoint 2013 version)
http://spapp/sites/litigation/Intake/_api/web/lists/getbytitle('Email%20Profiles')/items(1)
it works in preview but does not when it is published. because of claim based authentication i m getting below error
The form cannot run specified query, the underlying connection was closed. An expected error occurred
same works in 2010 environment .. are we missing anything in 2013 servers?? please let me know how we can resolve it.. thank you
gurueveryone face this issue, nothing in event viewer, its easy to reproduce error at ur end also..
just you need to use below web service in infopath and populate some data on form load like id = 1 pull the title and try to set in form any field...the
list has one item thats all
guru -
Selecting first N characters when querying the CMS
I am trying to retrieve only the first 6 characters of the SI_KEYWORDS field when querying the CMS from within the SDK. When testing within QueryBuilder the following in bold does not work, although LEFT is a command for achieving this in SQL. Can someone help me to know if this is possible within QueryBuilder SQL and if so how to achieve it?
Select LEFT(SI_KEYWORD,6) as keyword, SI_NAME From CI_INFOOBJECTS, CI_SYSTEMOBJECTS, CI_APPOBJECTS WHere SI_KIND='webi'
and SI_KEYWORD != '' and SI_KEYWORD != 'Hidden' and SI_KEYWORD != 'Auditor'
ORDER BY keyword, SI_NAME
Thanks,
DaveHi Ted,
Thanks for your reply. I understand the querying of the CMS better after reading it.
We are utilizing the keywords field and the description field to obtain some metadata about our reports that I need to access from java code. Unfortunately, we have 4 different pieces of metadata we want to store and only the 2 fields in which to store them, so we are using delimiters in the keywords field to separate the values. For example, we have "value1value2" as the keyword field in one report, but in another report if value2 is blank we simply have "value1". This works well as we just parse the delimiters in java and we can store the 2 different values in the one keyword field. The part that is not working well with this approach, though, is ordering the results. We want to order the reports by value1 and then by SI_NAME. Because some of the reports have value1value2 and others just have value1 it throws this ordering off if I use "ORDER BY SI_KEYWORD, SI_NAME".
I've been looking for ways to get around this without doing a re-sort in Java and this is all I could think of:
1. Are there some additional user-defined fields that we could expose in the report properties in the CMC, and then retrieve via Query Builder / SDK? Something like SI_UDF1, SI_UDF2, etc. All we could find were keywords and description.
2. Using a SUBSTR or LEFT-like function on the keywords field so that it only gets value1 for sorting purposes only, but still retrieve the entire keywords field in the SELECT. I understand now based on your explanation that this will not work as (if I understand correctly) it would modify the report object in the CMS to set the keyword to the truncated value.
Any advice you could offer would be greatly appreciated. I know I can always bite the bullet and do the sorting java-side once I get the resultset back, but I was hoping to avoid the performance hit of doing that.
Thanks,
Dave -
Disadvantage of 'QUERY ALL RECORDS' set to YES in DATA BLOCK
Dear all,
Can any one tell me disadvantage of 'QUERY ALL RECORDS' set to YES in DATA BLOCK. I have made a datablock 'QUERY ALL RECORDS' set to YES becoz of requirement 'restrict duplicate data entry'.For your information
my datablock is multi record.
Than YouWhat if you have 1,000,000 records in your table and you query all records. Ouch!
restrict duplicate data entryThat is standard database functionality: primary or unique key on the table. -
When i try to set up an email account it keeps saying invalid address
When i try to set up an email account it keeps saying invalid address, why is this?
Probably becaue you made an error in one of the required entries for the mail account. It is very easy to make an error. Rather than trying to find the error, many times it is easier to delet ethe account on the iPod and then recreate it.
-
Oracle spawning parallel 128 processes when queried from Cognos
Hi,
I am querying a parallel enabled table with DOP set to default. Oracle 11.2 is installed on a 16 core machine while Cognos sits on a 4 core linux system. When querying the same table fromToad, I observe 32 parallel processes. Any thoughts as to why the difference and why that many number of processes get spawned from Cognos?
ThanksWhat and what are you runnng and how are they configured?
I ask this because what you are seeing could be as a reulst of so many factors.
An example is that if you are using Planning Contributor, then you are likely to have more processes reading and writing to the database at the same time. The number of processes will then depend on serveral issues. For instance the number of CPUs on the box, the number of Contributor Applications, the number of Publish Containers and the interval the jobs are configured to run. Using a scenario where you have a single monitorin job on a 2 cpu box for 10 Contributor Applications. Ths may spawn up to 20 processes. To make things worse, if you happen to have some of the previous 20 processes not completing before the next job interval, then it adds more to the number you see. -
Querying for existing set of values
HI,
I have the following scenario. I have one table which has the measure_id,measure_value and date.
For every date, I will be populating the measure_value for every measure_id.
If the source, doesnt have the value for a day,for a measure_id, I should update it with 0.
If the source gets fresh data for a date, then the related value should get updated(sum of values for that day) or inserted.(incremental)
DATE MeasureID MeasureValue
02/01 1 10
02/01 2 20
02/01 3 30
02/02 1 10
02/02 2 0(no data in source)
02/02 3 30
Can you please give me the best query for this scenario. Any help is appreciated.
Porusyou can try using Merge command.
I have used some sample data in Source and Destination tables.Also i used a measures table with three measure.
Declare @Source Table(Dt Date, MeasureID int, MeasureValue int);
Declare @Destination Table(Dt Date, MeasureID int, MeasureValue int);
Declare @Measure Table (MeasureID int);
Insert into @Measure select 1 union all select 2 union all select 3
Insert into @Source
select '20140201',1,10
union all
select '20140201',2,10
union all
select '20140201',3,10
union all
select '20140202',1,10
union all
select '20140202',3,30
Insert into @Destination
select '20140201',1,0
select * from @Source
select * from @Destination
;With AllMeasures
as
select * from
(SELECT distinct Dt from @Source) A
cross join @Measure
MERGE @Destination AS target
USING
select A.Dt,A.MeasureID,isnull(S.MeasureValue,0) from AllMeasures A
left join @Source S on A.Dt=S.Dt and A.MeasureID=S.MeasureID
) AS source (Dt, MeasureID,MeasureValue)
ON (target.Dt = source.Dt and target.MeasureID = source.MeasureID)
WHEN MATCHED THEN
UPDATE SET MeasureValue = source.MeasureValue
WHEN NOT MATCHED THEN
INSERT (Dt, MeasureID,MeasureValue)
VALUES (source.Dt,source.MeasureID,source.MeasureValue);
select * from @Destination
Vinay Valeti| If you think my suggestion is useful, please rate it as helpful. If it has helped you to resolve the problem, please Mark it as Answer -
My fiance logged into my iphone with his apple ID and now I can't switch it back to my username. When I go to buy an app his username is in an editable format to beable to change it back to mine. How can I change it back to mine? (when I go to setting,icloud my un/pw are there) Can someone please help? Thanks!
Had you looked in the User Guide, you would have found this: Settings>Store. Tap on AppleID to change.
-
when i try to set up facetime with my Apple ID it does not let me saying it cannot verify my account? if i change my ID on the ipad deos it change it on my computer aswel?
Hi
I would try this since Apple TV is built to allow multiple Apple Ids
On you Apple TV
General > Settings >Itunes Store > Add New Account (put yours in here)
Then Switch account to your Apple Id
Cheers -
Hi
I have set up iMessage and FaceTime and tried to set up for a friend but won't work? The apple ID is ok as downloading Apps but when I try to set up iMessage it won't go to the next stage as it says the EMail can't be verified? Either though we know its working
Please helpReset all settings and try again. If that doesn't help contact Apple.
-
Delay when querying from CUBE_TABLE object, what is it?
Hi Guys,
We are using Oracle OLAP 11.2.0.2.0 with an 11g Cube, 7 Dimensions, Compressed and partitioned by Month.
We have run into a performance issue when implementing OBIEE.
The main issue we have is a delay while drilling on a hierarchy. Users have been waiting 7-12 seconds per drill on a hierarchy, and the query is only returning a few cells of data. We have managed to isolate this to slow performing queries on CUBE_TABLE.
For example, the following query returns one cell of data:
SELECT FINSTMNT_VIEW.BASE, FINSTMNT_VIEW.REPORT_TYPE, FINSTMNT_VIEW.COMPANY, FINSTMNT_VIEW.SCENARIO, FINSTMNT_VIEW.PRODUCT, FINSTMNT_VIEW.ACCOUNT, FINSTMNT_VIEW.SITE, FINSTMNT_VIEW.TIME
FROM "SCHEMA1".FINSTMNT_VIEW FINSTMNT_VIEW
WHERE
FINSTMNT_VIEW.REPORT_TYPE IN ('MTD' )
AND FINSTMNT_VIEW.COMPANY IN ('E01' )
AND FINSTMNT_VIEW.SCENARIO IN ('ACTUAL' )
AND FINSTMNT_VIEW.PRODUCT IN ('PT' )
AND FINSTMNT_VIEW.ACCOUNT IN ('APBIT' )
AND FINSTMNT_VIEW.SITE IN ('C010885' )
AND FINSTMNT_VIEW.TIME IN ('JUN11' ) ;
1 Row selected in 4.524 Seconds
Note: FINSTMNT_VIEW is the automatically generated cube view.
CREATE OR REPLACE FORCE VIEW "SCHEMA1"."FINSTMNT_VIEW" ("BASE","REPORT_TYPE", "COMPANY", "SCENARIO", "PRODUCT", "ACCOUNT", "SITE", "TIME")
AS
SELECT "BASE", "REPORT_TYPE", "COMPANY", "SCENARIO", "PRODUCT", "ACCOUNT", "SITE", "TIME"
FROM TABLE(CUBE_TABLE('"SCHEMA1"."FINSTMNT"') ) ;
If we increase the amount of data returned by adding to the query, it only increased the query time by .4 seconds
SELECT FINSTMNT_VIEW.BASE, FINSTMNT_VIEW.REPORT_TYPE, FINSTMNT_VIEW.COMPANY, FINSTMNT_VIEW.SCENARIO, FINSTMNT_VIEW.PRODUCT, FINSTMNT_VIEW.ACCOUNT, FINSTMNT_VIEW.SITE, FINSTMNT_VIEW.TIME
FROM "SCHEMA1".FINSTMNT_VIEW FINSTMNT_VIEW
WHERE
FINSTMNT_VIEW.REPORT_TYPE IN ('MTD' )
AND FINSTMNT_VIEW.COMPANY IN ('E01' )
AND FINSTMNT_VIEW.SCENARIO IN ('ACTUAL' )
AND FINSTMNT_VIEW.PRODUCT IN ('PT' )
AND FINSTMNT_VIEW.ACCOUNT IN ('APBIT' )
AND FINSTMNT_VIEW.SITE IN ('C010885', 'C010886', 'C010891', 'C010892', 'C010887', 'C010888', 'C010897', 'C010893', 'C010890', 'C010894', 'C010896', 'C010899' )
AND FINSTMNT_VIEW.TIME IN ('JUN11' ) ;
12 rows selected - In 4.977 Seconds
If we increase the data returned even more:
SELECT FINSTMNT_VIEW.BASE, FINSTMNT_VIEW.REPORT_TYPE, FINSTMNT_VIEW.COMPANY, FINSTMNT_VIEW.SCENARIO, FINSTMNT_VIEW.PRODUCT, FINSTMNT_VIEW.ACCOUNT, FINSTMNT_VIEW.SITE, FINSTMNT_VIEW.TIME
FROM "SCHEMA1".FINSTMNT_VIEW FINSTMNT_VIEW
WHERE
FINSTMNT_VIEW.REPORT_TYPE IN ('MTD' )
AND FINSTMNT_VIEW.COMPANY IN ('ET', 'E01', 'E02', 'E03', 'E04' )
AND FINSTMNT_VIEW.SCENARIO IN ('ACTUAL' )
AND FINSTMNT_VIEW.PRODUCT IN ('PT', 'P00' )
AND FINSTMNT_VIEW.ACCOUNT IN ('APBIT' )
AND FINSTMNT_VIEW.SITE IN ('C010885', 'C010886', 'C010891', 'C010892', 'C010887', 'C010888', 'C010897', 'C010893', 'C010890', 'C010894', 'C010896', 'C010899' )
AND FINSTMNT_VIEW.TIME IN ('JUN11', 'JUL11', 'AUG11', 'SEP11', 'OCT11', 'NOV11', 'DEC11', 'JAN12') ;
118 rows selected - In 14.213 Seconds
If we take the time for each query and divide by the number of rows, we can see that querying more data results in a much more efficient query:
Time/Rows returned:
1 Row - 4.524
12 Rows - 0.4147
118 Rows - 0.120449153
It seems like there is an initial delay of approx 4 seconds when querying the CUBE_TABLE object. Using AWM to query the same data using LIMIT and RPR is almost instantaneous...
Can anyone explain what this delay is, and if there is any way to optimise the query?
Could it be the AW getting attached before each query?
Big thanks to anyone that can help!Thanks Nasar,
I have run a number of queries with logging enabled, the things you mentioned all look good:
Loop Optimization: GDILoopOpt COMPLETED
Selection filter: FILTER_LIMITS_FAST 7
ROWS_FAILED_FILTER 0
ROWS_RETURNED 1
Predicates: 7 pruned out of 7 predicates
The longest action I have seen in the log is the PAGING operation... but I do not see this on all queries.
Time Total Time OPERATION
2.263 27.864 PAGING DYN_PAGEPOOL TRACE GREW 9926KB to 59577KB
1.825 25.601 PAGING DYN_PAGEPOOL TRACE GREW 8274KB to 49651KB
1.498 23.776 PAGING DYN_PAGEPOOL TRACE GREW 6895KB to 41377KB
1.232 22.278 PAGING DYN_PAGEPOOL TRACE GREW 5747KB to 34482KB
1.17 21.046 PAGING DYN_PAGEPOOL TRACE GREW 4788KB to 28735KB
1.03 19.876 PAGING DYN_PAGEPOOL TRACE GREW 3990KB to 23947KB
2.808 18.846 PAGING DYN_PAGEPOOL TRACE GREW 3325KB to 19957KB
What is strange is that the cube operation log does not account for all of the query time. For example:
SELECT "BASE_LVL" FROM TABLE(CUBE_TABLE('"EXAMPLE"."FINSTMNT"'))
WHERE
"RPT_TYPE" = 'MTD' AND
"ENTITY" = 'ET' AND
"SCENARIO" = 'ACTUAL' AND
"PRODUCT" = 'PT' AND
"GL_ACCOUNT" = 'APBIT' AND
"CENTRE" = 'TOTAL' AND
"TIME" = 'YR09';
This query returns in 6.006 seconds using SQL Developer, if I then take the CUBE_OPERATION_LOG for this query and subtract the start time from the end time, I only get 1.67 seconds. This leaves 4.3 seconds unaccounted for... This is the same with the my other queries, see actual time and logged time below:
Query Actual Logged Variance
S3 6.006 1.67 4.336
L1 18.128 13.776 4.352
S1 4.461 0.203 4.258
L2 4.696 0.39 4.306
S2 5.882 1.575 4.307
Any ideas on what this could be or how I can capture this 4.3 second overhead?
Your help has been greatly appreciated.
Maybe you are looking for
-
Creation of New Acct. Determination Transaction keys in OBYC
Hi All How do I create new Acct determination keys in OBYC . i.e. just like FR1,FR2 etc so that I can do my own asignments in pricing procedure and other accurals? I guess it has to start with Z.. Thanks Samuel
-
How to Restore from Time Machine in Single-user mode?
Hi there, I am trying to fix a Macbook Pro that has had its /private folder trashed and emptied. Obviously it won't boot unless you you boot in to Single User mode and I'm wondering if its possible to do a Time Machine restore from the terminal, I wo
-
Hello, I am downloading few fields from HR infotypes into Excel sheet, I'm using cl_ABAP_char_utilities=>Horizontal_tab to separate the fields. I'm not getting leading zeros. I have tried with 'DAT', 'CSV' and 'WK1' file formats instead of 'ASC', but
-
Was sent a message to "update" iTunes on my MacBook pro... Did so and now there are no world-wide radio broadcasts on the pull down menu? What is that about? I travel a lot and use them regularly. Can I get the old iTunes back?
-
I have an IPad Air with wifi only. What do I have to do when traveling in Europe to receive wifi?