Can insert performance be improved playing with env parameters?
Below is the environment confioguration and results of my bulk load insert experiments. The results are from two scenarios that is also described below. The values for the two scenarios is separated by a space.
Environment Configuration:
setTxn N
DeferredWrite Y
Sec Bulk Load Y
Post Build SecIndex Y
Sync Y
Column1 value reflects for the scenario:
Two databases
a. Database with 2,500,000 records
b. Database with 2,500,000 records
Column2 value reflects for the scenario:
Two databases
a. Database with 25,000,000 records
b. Database with 25,000,000 records
1. Is there a good documentation which describes what the environment statistics mean.
2. Looking at the statistics below, can you make any suggestions for performance improvement.
Looking at the below statistics is the:
Eviction Stats
nEvictPasses 3929 146066
nNodesSelected 309219 17351997
nNodesScanned 3150809 176816544
nNodesExplicitlyEvicted 152897 8723271
nBINsStripped 156322 8628726
requiredEvictBytes 524323 530566
CheckPoint Stats
nCheckpoints 55 1448
lastCheckpointID 55 1448
nFullINFlush 54 1024
nFullBINFlush 26 494
nDeltaINFlush 116 2661
lastCheckpointStart 0x6f/0x2334f8 0xb6a/0x82fd83
lastCheckpointEnd 0x6f/0x33c2d6 0xb6a/0x8c4a6b
endOfLog 0xb/0x6f22e 0x6f/0x75a843 0xb6a/0x23d8f
Cache Stats
nNotResident 4591918 57477898
nCacheMiss 4583077 57469807
nLogBuffers 3 3
bufferBytes 3145728 3145728
(MB) 3.00 3.00
cacheDataBytes 563450470 370211966
(MB) 537.35 353.06
adminBytes 29880 16346272
lockBytes 1113 1113
cacheTotalBytes 566596198 373357694
(MB) 540.35 356.06
Logging Stats
nFSyncs 59 1452
nFSyncRequest 59 1452
nFSyncTimeouts 0 0
nRepeatFaultReads 31513 6525958
nTempBufferForWrite 0 0
nRepeatIteratorReads 0 0
totalLogSize 1117658932 29226945317
(MB) 1065.88 27872.99
lockBytes 1113 1113
Hello Linda,
I am inserting 25,000,000 records of the type:
Database 1
Key --> Data
[long,String,long] --> [{long,long}, {String}}
The secondary keys are on {long,long} and {String}
Database 2
Key --> Data
[long,Integer,long] --> [{long,long}, {Integer}}
The secondary keys are on {long,long} and {Integer}
i set the env parameters to non-transactional and setDeferredWrite(True)
using setSecondaryBulkLoad(true) and then build two Secondary indexes on {long,long} and {String} of the data portion.
private void buildSecondaryIndex(DataAccessLayer dataAccessLayer ) {
try {
SecondaryIndex<TDetailSecondaryKey, TDetailStringKey,
TDetailStringRecord> secondaryIndex =
store.getSecondaryIndex(
dataAccessLayer.getPrimaryIndex() ,
TDetailSecondaryKey.class,
SECONDARY_KEY_NAME
} catch (DatabaseException e) {
throw new RuntimeException(e);
We are inserting to 2 databases as mentioned above.
NumRecs 250,000x2 2,500,000x2 25,000,000x2
TotalTime(ms) 16877 673623 30225781
PutTime(ms) 7684 76636 1065030
BuildSec(ms) 4952 590207 29125773
Sync(ms) 4241 6780 34978Why does building secondaryIndex ( 2 secondary databases in this case) take so much longer than inserting to the primary database - 27 times longer !!!
Its hard to believe that building of the tree for secondary database takes so much longer.
Why doesnt building the tree for primary database take so long. The data in the primary database is same as its key to be able to search on these values.
Hence its surprising it takes so long
The cache stats mentioned above relate to these .
Can you try explaining this. We are trying to figure out is it worth trying to build the secondary index later for bulk loading.
Similar Messages
-
How I can insert one row on table, with columns settings: readonly = true
I have a problem. (jdeveloper 11.1.1.2.0)
How I can insert row on table (EditingMode= clickToEdit), with columns settings: ReadOnly = true.
When I make click on button create insert, ADF create one row on the table with output text invisible ( ReadOnly = true.)
I make double click, then output text is visible (ReadOnly = false)
I dont want make double click. I want output text is visible (ReadOnly = false), when I make click on button create insert
ThanksHi,
try changing the edit mode of the table when pressing the button and refresh the button. This of course turns the whole table into editable mode, but this is how it needs to work. Alternatively, you create an input form for the user to edit the new record and show the form in a popup or beneath the table. Then when the user submits the created row data, you refresh the table to shwo the new row
Frank -
Insert performance on a table with schema based XMLType column
Hi,
We are inserting around 500K rows into a table which has one XMLType column (schema based). Schema is simple and the size of the XMLType column is also not very large (on an average only around 100 bytes (max might be around 1k-2k), but it takes around 1 hr for every 20K rows, which seems very slow.
The schema is like this :
<schema targetNamespace="http://www.citadon.com/xml/test.xsd"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xdb="http://xmlns.oracle.com/xdb"
xdb:storeVarrayAsTable="true"
version="1.0" elementFormDefault="qualified">
<element name="cas">
<complexType>
<sequence>
<element name="ca" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="value" type="string"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</schema>
Any thoughts on how to improve performance?
-SriniYou need to have sufficient data.. Also the event show in the following code may help depending on the nature of the query....
Note in the PurchaseOrder Example if I only have 133 docs, instead of 10,000 I will get tablescan and index full scans
C:\oracle\xdb\bugs\xdbBasicDemo>sqlplus /nolog @testcase XDBTEST XDBTEST
SQL*Plus: Release 10.1.0.3.0 - Production on Fri Aug 27 22:57:36 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> spool testcase.log
SQL> set trimspool on
SQL> connect &1/&2
Connected.
SQL> --
SQL> set timing on
SQL> set long 10000
SQL> set pages 10000
SQL> set feedback on
SQL> set lines 132
SQL> set pages 50
SQL> --
SQL> drop index iPartNumberIndex
2 /
Index dropped.
Elapsed: 00:00:02.25
SQL> alter index LINEITEM_LIST rebuild
2 /
Index altered.
Elapsed: 00:00:02.15
SQL> desc PURCHASEORDER
Name Null? Type
TABLE of SYS.XMLTYPE(XMLSchema "http://localhost:8080/home/SCOTT/poSource/xsd/purchaseOrder.xsd" Element "Pu
ject-relational TYPE "PURCHASEORDER_T"
SQL> --
SQL> col level format 99999
SQL> col parent_table_column format A32
SQL> col table_name format A32
SQL> col table_type_name format A32
SQL> --
SQL> select level, PARENT_TABLE_COLUMN, TABLE_TYPE_NAME, TABLE_NAME
2 from USER_NESTED_TABLES
3 connect by PRIOR TABLE_NAME = PARENT_TABLE_NAME
4 start with PARENT_TABLE_NAME = 'PURCHASEORDER'
5 /
LEVEL PARENT_TABLE_COLUMN TABLE_TYPE_NAME TABLE_NAME
1 "XMLDATA"."ACTIONS"."ACTION" ACTION_V ACTION_TABLE
1 "XMLDATA"."LINEITEMS"."LINEITEM" LINEITEM_V LINEITEM_TABLE
2 rows selected.
Elapsed: 00:00:13.60
SQL> desc LINEITEM_T
LINEITEM_T is NOT FINAL
Name Null? Type
SYS_XDBPD$ XDB.XDB$RAW_LIST_T
ITEMNUMBER NUMBER(38)
DESCRIPTION VARCHAR2(256 CHAR)
PART PART_T
SQL> --
SQL> desc PART_T
PART_T is NOT FINAL
Name Null? Type
SYS_XDBPD$ XDB.XDB$RAW_LIST_T
PART_NUMBER VARCHAR2(14 CHAR)
QUANTITY NUMBER(12,2)
UNITPRICE NUMBER(8,4)
SQL> --
SQL> select count(*)
2 from purchaseorder
3 /
COUNT(*)
10000
1 row selected.
Elapsed: 00:00:05.31
SQL> select count(*)
2 from purchaseorder,
3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
4 /
COUNT(*)
148814
1 row selected.
Elapsed: 00:09:40.54
SQL> create index iPartNumberIndex
2 on LINEITEM_TABLE l
3 ( l.PART.PART_NUMBER,NESTED_TABLE_ID)
4 /
Index created.
Elapsed: 00:00:36.11
SQL> explain plan for
2 select count(*)
3 from purchaseorder
4 where existsNode(object_value,'/PurchaseOrder/LineItems/LineItem[Part/@Id="717951002372"]') = 1
5 /
Explained.
Elapsed: 00:00:01.14
SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 2571550067
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 116 | 93 (2)| 00:00:02 |
| 1 | SORT AGGREGATE | | 1 | 116 | | |
| 2 | NESTED LOOPS | | 25 | 2900 | 93 (2)| 00:00:02 |
| 3 | SORT UNIQUE | | 25 | 1675 | 79 (0)| 00:00:01 |
|* 4 | INDEX UNIQUE SCAN | LINEITEM_DATA | 25 | 1675 | 79 (0)| 00:00:01 |
|* 5 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | | 3 (0)| 00:00:01 |
|* 6 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 49 | 1 (0)| 00:00:01 |
|* 7 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
4 - access("SYS_NC00011$"='717951002372')
5 - access("SYS_NC00011$"='717951002372')
6 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in
stance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-propert
ies/><read-contents/></privilege>''))=1)
7 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
26 rows selected.
Elapsed: 00:00:03.12
SQL> select count(*)
2 from purchaseorder
3 where existsNode(object_value,'/PurchaseOrder/LineItems/LineItem[Part/@Id="717951002372"]') = 1
4 /
COUNT(*)
33
1 row selected.
Elapsed: 00:00:04.63
SQL> select count(*)
2 from purchaseorder,
3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
4 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
5 /
COUNT(*)
33
1 row selected.
Elapsed: 00:00:00.32
SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 2571550067
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 116 | 93 (2)| 00:00:02 |
| 1 | SORT AGGREGATE | | 1 | 116 | | |
| 2 | NESTED LOOPS | | 25 | 2900 | 93 (2)| 00:00:02 |
| 3 | SORT UNIQUE | | 25 | 1675 | 79 (0)| 00:00:01 |
|* 4 | INDEX UNIQUE SCAN | LINEITEM_DATA | 25 | 1675 | 79 (0)| 00:00:01 |
|* 5 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | | 3 (0)| 00:00:01 |
|* 6 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 49 | 1 (0)| 00:00:01 |
|* 7 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
4 - access("SYS_NC00011$"='717951002372')
5 - access("SYS_NC00011$"='717951002372')
6 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in
stance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-propert
ies/><read-contents/></privilege>''))=1)
7 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
26 rows selected.
Elapsed: 00:00:00.04
SQL> explain plan for
2 select extractValue(object_value,'/PurchaseOrder/Reference')
3 from purchaseorder,
4 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
5 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
6 /
Explained.
Elapsed: 00:00:00.07
SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 713363872
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 25 | 8000 | 104 (0)| 00:00:02 |
| 1 | NESTED LOOPS | | 25 | 8000 | 104 (0)| 00:00:02 |
|* 2 | INDEX UNIQUE SCAN | LINEITEM_DATA | 25 | 1675 | 79 (0)| 00:00:01 |
|* 3 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | | 3 (0)| 00:00:01 |
|* 4 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 253 | 1 (0)| 00:00:01 |
|* 5 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("SYS_NC00011$"='717951002372')
3 - access("SYS_NC00011$"='717951002372')
4 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i
nstance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-proper
ties/><read-contents/></privilege>''))=1)
5 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
24 rows selected.
Elapsed: 00:00:00.04
SQL> select extractValue(object_value,'/PurchaseOrder/Reference')
2 from purchaseorder,
3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
4 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
5 /
EXTRACTVALUE(OBJECT_VALUE,'/PU
MWEISS-20030616154327385GMT
NSARCHAN-20030703170041824GMT
HBAER-20030206173836987GMT
LOZER-20031110131149107GMT
WTAYLOR-20030120174534374GMT
MHARTSTE-20031103172937613GMT
KGEE-20030919215826550GMT
PSULLY-20030712141634504GMT
JPATEL-20030630175356693GMT
RMATOS-2003072920455000GMT
DRAPHEAL-20030528180033254GMT
JRUSSEL-20031121213026539GMT
PTUCKER-20030918160532301GMT
SVOLLMAN-20031027120838903GMT
WGIETZ-20030208185026303GMT
TFOX-20030110164614994GMT
JPATEL-20030304214301386GMT
GGEONI-20030606135257846GMT
STOBIAS-20030817120358785GMT
COLSEN-20030525200717658GMT
SBAIDA-20030224182546606GMT
IMIKKILI-20030118180347537GMT
ABULL-20030429162730766GMT
NSARCHAN-20031113183134873GMT
LBISSOT-20030809134114505GMT
JKING-20030420162058859GMT
JMALLIN-20030506152048261GMT
AFRIPP-20030311153808601GMT
SHIGGINS-20030831151756257GMT
DBERNSTE-20030626122725631GMT
KPARTNER-20031021160248962GMT
ABANDA-2003062721524842GMT
DOCONNEL-20030904214708637GMT
33 rows selected.
Elapsed: 00:00:00.07
SQL> explain plan for
2 select extractValue(object_value,'/PurchaseOrder/Reference')
3 from purchaseorder
4 where existsNode
5 (
6 object_value,
7 '/PurchaseOrder/LineItems/LineItem/Part[@Id="717951002372"]'
8 ) = 1
9 /
Explained.
Elapsed: 00:00:00.02
SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 849879259
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 25 | 8000 | 93 (2)| 00:00:02 |
| 1 | NESTED LOOPS | | 25 | 8000 | 93 (2)| 00:00:02 |
| 2 | SORT UNIQUE | | 25 | 1675 | 79 (0)| 00:00:01 |
|* 3 | INDEX UNIQUE SCAN | LINEITEM_DATA | 25 | 1675 | 79 (0)| 00:00:01 |
|* 4 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | | 3 (0)| 00:00:01 |
|* 5 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 253 | 1 (0)| 00:00:01 |
|* 6 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
3 - access("SYS_NC00011$"='717951002372')
4 - access("SYS_NC00011$"='717951002372')
5 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i
nstance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-proper
ties/><read-contents/></privilege>''))=1)
6 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
25 rows selected.
Elapsed: 00:00:00.03
SQL> select extractValue(object_value,'/PurchaseOrder/Reference')
2 from purchaseorder
3 where existsNode
4 (
5 object_value,
6 '/PurchaseOrder/LineItems/LineItem/Part[@Id="717951002372"]'
7 ) = 1
8 /
EXTRACTVALUE(OBJECT_VALUE,'/PU
MWEISS-20030616154327385GMT
NSARCHAN-20030703170041824GMT
HBAER-20030206173836987GMT
LOZER-20031110131149107GMT
WTAYLOR-20030120174534374GMT
MHARTSTE-20031103172937613GMT
KGEE-20030919215826550GMT
PSULLY-20030712141634504GMT
JPATEL-20030630175356693GMT
RMATOS-2003072920455000GMT
DRAPHEAL-20030528180033254GMT
JRUSSEL-20031121213026539GMT
PTUCKER-20030918160532301GMT
SVOLLMAN-20031027120838903GMT
WGIETZ-20030208185026303GMT
TFOX-20030110164614994GMT
JPATEL-20030304214301386GMT
GGEONI-20030606135257846GMT
STOBIAS-20030817120358785GMT
COLSEN-20030525200717658GMT
SBAIDA-20030224182546606GMT
IMIKKILI-20030118180347537GMT
ABULL-20030429162730766GMT
NSARCHAN-20031113183134873GMT
LBISSOT-20030809134114505GMT
JKING-20030420162058859GMT
JMALLIN-20030506152048261GMT
AFRIPP-20030311153808601GMT
SHIGGINS-20030831151756257GMT
DBERNSTE-20030626122725631GMT
KPARTNER-20031021160248962GMT
ABANDA-2003062721524842GMT
DOCONNEL-20030904214708637GMT
33 rows selected.
Elapsed: 00:00:00.04
SQL> alter session set events ='19027 trace name context forever, level 0x800000'
2 /
Session altered.
Elapsed: 00:00:00.00
SQL> explain plan for
2 select count(*)
3 from purchaseorder
4 where existsNode(object_value,'/PurchaseOrder/LineItems/LineItem[Part/@Id="717951002372"]') = 1
5 /
Explained.
Elapsed: 00:00:00.03
SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 3049344732
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 69 | 17 (6)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 69 | | |
| 2 | NESTED LOOPS | | 25 | 1725 | 17 (6)| 00:00:01 |
| 3 | SORT UNIQUE | | 25 | 750 | 3 (0)| 00:00:01 |
|* 4 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | 750 | 3 (0)| 00:00:01 |
|* 5 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 39 | 1 (0)| 00:00:01 |
|* 6 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
4 - access("SYS_NC00011$"='717951002372')
5 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in
stance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-propert
ies/><read-contents/></privilege>''))=1)
6 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
24 rows selected.
Elapsed: 00:00:00.03
SQL> select count(*)
2 from purchaseorder
3 where existsNode(object_value,'/PurchaseOrder/LineItems/LineItem[Part/@Id="717951002372"]') = 1
4 /
COUNT(*)
33
1 row selected.
Elapsed: 00:00:00.01
SQL> select count(*)
2 from purchaseorder,
3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
4 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
5 /
COUNT(*)
33
1 row selected.
Elapsed: 00:00:00.01
SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 3049344732
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 69 | 17 (6)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 69 | | |
| 2 | NESTED LOOPS | | 25 | 1725 | 17 (6)| 00:00:01 |
| 3 | SORT UNIQUE | | 25 | 750 | 3 (0)| 00:00:01 |
|* 4 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | 750 | 3 (0)| 00:00:01 |
|* 5 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 39 | 1 (0)| 00:00:01 |
|* 6 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
4 - access("SYS_NC00011$"='717951002372')
5 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in
stance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-propert
ies/><read-contents/></privilege>''))=1)
6 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
24 rows selected.
Elapsed: 00:00:00.03
SQL> explain plan for
2 select extractValue(object_value,'/PurchaseOrder/Reference')
3 from purchaseorder,
4 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
5 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
6 /
Explained.
Elapsed: 00:00:00.06
SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 1516269755
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 25 | 2450 | 28 (0)| 00:00:01 |
| 1 | NESTED LOOPS | | 25 | 2450 | 28 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | 750 | 3 (0)| 00:00:01 |
|* 3 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 68 | 1 (0)| 00:00:01 |
|* 4 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("SYS_NC00011$"='717951002372')
3 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i
nstance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-proper
ties/><read-contents/></privilege>''))=1)
4 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
22 rows selected.
Elapsed: 00:00:00.04
SQL> select extractValue(object_value,'/PurchaseOrder/Reference')
2 from purchaseorder,
3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
4 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
5 /
EXTRACTVALUE(OBJECT_VALUE,'/PU
MWEISS-20030616154327385GMT
NSARCHAN-20030703170041824GMT
HBAER-20030206173836987GMT
LOZER-20031110131149107GMT
WTAYLOR-20030120174534374GMT
MHARTSTE-20031103172937613GMT
KGEE-20030919215826550GMT
PSULLY-20030712141634504GMT
JPATEL-20030630175356693GMT
RMATOS-2003072920455000GMT
DRAPHEAL-20030528180033254GMT
JRUSSEL-20031121213026539GMT
PTUCKER-20030918160532301GMT
SVOLLMAN-20031027120838903GMT
WGIETZ-20030208185026303GMT
TFOX-20030110164614994GMT
JPATEL-20030304214301386GMT
GGEONI-20030606135257846GMT
STOBIAS-20030817120358785GMT
COLSEN-20030525200717658GMT
SBAIDA-20030224182546606GMT
IMIKKILI-20030118180347537GMT
ABULL-20030429162730766GMT
NSARCHAN-20031113183134873GMT
LBISSOT-20030809134114505GMT
JKING-20030420162058859GMT
JMALLIN-20030506152048261GMT
AFRIPP-20030311153808601GMT
SHIGGINS-20030831151756257GMT
DBERNSTE-20030626122725631GMT
KPARTNER-20031021160248962GMT
ABANDA-2003062721524842GMT
DOCONNEL-20030904214708637GMT
33 rows selected.
Elapsed: 00:00:00.01
SQL> explain plan for
2 select extractValue(object_value,'/PurchaseOrder/Reference')
3 from purchaseorder
4 where existsNode
5 (
6 object_value,
7 '/PurchaseOrder/LineItems/LineItem/Part[@Id="717951002372"]'
8 ) = 1
9 /
Explained.
Elapsed: 00:00:00.03
SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 1197255270
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 25 | 2450 | 17 (6)| 00:00:01 |
| 1 | NESTED LOOPS | | 25 | 2450 | 17 (6)| 00:00:01 |
| 2 | SORT UNIQUE | | 25 | 750 | 3 (0)| 00:00:01 |
|* 3 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | 750 | 3 (0)| 00:00:01 |
|* 4 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 68 | 1 (0)| 00:00:01 |
|* 5 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
3 - access("SYS_NC00011$"='717951002372')
4 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i
nstance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-proper
ties/><read-contents/></privilege>''))=1)
5 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
23 rows selected.
Elapsed: 00:00:00.03
SQL> select extractValue(object_value,'/PurchaseOrder/Reference')
2 from purchaseorder
3 where existsNode
4 (
5 object_value,
6 '/PurchaseOrder/LineItems/LineItem/Part[@Id="717951002372"]'
7 ) = 1
8 /
EXTRACTVALUE(OBJECT_VALUE,'/PU
MWEISS-20030616154327385GMT
NSARCHAN-20030703170041824GMT
HBAER-20030206173836987GMT
LOZER-20031110131149107GMT
WTAYLOR-20030120174534374GMT
MHARTSTE-20031103172937613GMT
KGEE-20030919215826550GMT
PSULLY-20030712141634504GMT
JPATEL-20030630175356693GMT
RMATOS-2003072920455000GMT
DRAPHEAL-20030528180033254GMT
JRUSSEL-20031121213026539GMT
PTUCKER-20030918160532301GMT
SVOLLMAN-20031027120838903GMT
WGIETZ-20030208185026303GMT
TFOX-20030110164614994GMT
JPATEL-20030304214301386GMT
GGEONI-20030606135257846GMT
STOBIAS-20030817120358785GMT
COLSEN-20030525200717658GMT
SBAIDA-20030224182546606GMT
IMIKKILI-20030118180347537GMT
ABULL-20030429162730766GMT
NSARCHAN-20031113183134873GMT
LBISSOT-20030809134114505GMT
JKING-20030420162058859GMT
JMALLIN-20030506152048261GMT
AFRIPP-20030311153808601GMT
SHIGGINS-20030831151756257GMT
DBERNSTE-20030626122725631GMT
KPARTNER-20031021160248962GMT
ABANDA-2003062721524842GMT
DOCONNEL-20030904214708637GMT
33 rows selected.
Elapsed: 00:00:00.03
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options -
Can I perform transformations during propagation with message_grouping
IOW...
I have Q_Source and Q_Dest on different instances.
I want to use propagation to move them from one to the other.
I wanted to queue an invoice type object... with 1 header object and a nested table of detail objects but I found I can't do that.
So I changed the queue to be Anydata and to be transactionally grouped, so the header can travel with the legs as a series of anydata.
Can I still do propagation? Will the destination queue have them grouped the same? I assume this is true.
Can I do a transformation during the propagation? I don't see a place to name the transform. So in Oracle you can only propagate the same object? that's not cool.
If I remove the propagation and operate on 1 array, can transformations operate on Arrays? Can they use the grouping and dequeue arrays that need to be reassembled. IOW, If I add a transformation to dequeue_array, does it operate on each member of the array sequentially or does it pass the whole array to the xform.On your home computer connect your Nano, click on the name in iTunes, move right to the Summary tab then tick the box that says Manually Manage Music. You will now have to er, manually drag your music to your iPod, and manually eject it when done, but you will be able to add music from two different computers.
-
Using an IRC Library, I can't get it to play with the Form at all!
I'm having a problem getting my IRC Client to work. I normally don't use winforms or WPF, I chose WinForms because it was slightly easier to work with, I'm not new to threading, but I have no idea how this works.
Problem: When I start the application it doesn't even start the thread, or the Program.cs Main() function. It just hangs around, being a Gooey.
MainForm.cs:
public partial class MainForm : Form {
public Program pro = new Program();
public MainForm() {
InitializeComponent();
}Program.cs:
[DllImport("kernel32.dll")]
private static extern void ExitProcess(int a);
static MainForm Form1;
public static MainForm form = new MainForm(); // Main Form Controls
[STAThread]
public static void Main() {
Application.EnableVisualStyles();
//Application.SetCompatibleTextRenderingDefault(true); - Ignoring this due to a start error.
form.Text = "Test"; // Trying to send text, doesn't work
form.MessageSend.Text = "Test 2"; // Trying to send text, doesn't work.
// Startup
MessageHandle(null, "Starting Client!! Welcome" + conf.BaseAdmin, 0);
GenerateFiles();
form.Text = "IRC Client Attempting to connect...";
irc.OnConnected += new EventHandler(OnConnected);
irc.OnChannelMessage += new IrcEventHandler(OnChanMsg);
irc.OnQueryMessage += new IrcEventHandler(OnPriv);
irc.OnJoin += new JoinEventHandler(OnJoined);
irc.ActiveChannelSyncing = true;
try {
irc.Connect(conf.Server, 6667);
} catch {
//irc.OnChannelAction += new ActionEventHandler(ActionEvent);
Form1 = new MainForm();
Application.Run(Form1);
#region --- Method: MessageHandle(name,msg,type) ---
public static void MessageHandle(string name, string msg, int type) {
DateTime now = DateTime.Now;
string timestamp = now.ToShortTimeString();
if (type == 0) {
// Client Message
form.MessageSend.Text += String.Format("[{0}] --- {1}\n\r", timestamp, msg);
} else if (type == 1) {
// Private Message
form.MessageSend.Text += String.Format("[{0}] <{1}> {2}\n\r", timestamp, name, msg);
} else if (type == 2) {
// Regular User Message
form.MessageSend.Text += String.Format("[{0}] <{1}> {2}\n\r", timestamp, name, msg);
} else if (type == 3) {
// Channel Mod (Operator)
form.MessageSend.Text += String.Format("[{0}] <@{1}> {2}\n\r", timestamp, name, msg);
} else if (type == 4) {
// Broadcaster (Admin)
form.MessageSend.Text += String.Format("[{0}] <~{1}> {2}\n\r", timestamp, name, msg);
} else if (type == 5) {
// Bot Admin
form.MessageSend.Text += String.Format("[{0}] <+{1}> {2}\n\r", timestamp, name, msg);
} else if (type == 6) {
// Channel Action (/me)
form.MessageSend.Text += String.Format("[{0}] * {1} {2}\n\r", timestamp, name, msg);
} else if (type == 7) {
// Join Channel
form.MessageSend.Text += String.Format("[{0}] *** {1} has joined the channel!", timestamp, name);
} else if (type == 8) {
// Self Message
form.MessageSend.Text += String.Format("[{0}] <{1}> {2}\n\r", timestamp, name, msg);
irc.SendMessage(SendType.Message, conf.Channel, msg);
#endregion
Yeah, I have no idea how forms work, but I'd like to learn for this little IRC Client project.
Thanks in advance!Hello Brandan,
Like your title mentioned, you thread related to party library. I am afraid this is out of our support. Thanks for your understanding.
Have a nice day!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Several people have managed to get to the "community" to ask about Pix Flix. It has been weeks since Verizon responded to anyone.
The suggestion posted to the first inquiry under "Pix Flix" has not worked for several other folks.
This is not customer service. The website offers limited opportunities for contact and it is, of course, out of my way to go to the most local Verizon office.
Steve MSo the message about having pictures was not because my friend was trying to send me something? “You’ve got a PIX or FLIX message! To see it, visit www. “ telling me to go to an accessible computer wasn’t about me? We the many complainers are getting these messages which don’t look like general messages. At any rate, the instructions don’t work and HELP doesn’t provide me a result.
>>Personal information removed to comply with the Verizon Wireless Terms of Service<<
Edited by: Verizon Moderator -
How can I perform validation of String withing TableCell to get red outline
I have two columns in a JTable, one is defined to be an Integer and one as a String, when they edit the Integer field add enter an non-integral value the DefaultCellEditor outlines the cell in red and prevents them leaving the cell until they have either entered a valid value or cancel the operation (by pressing 'Esc' on Windows).
Where is this behaviour I cant find it in the Java source code, I want to replicate it for a String to do the same thing if the String does not match a regular expression. I have tried subclassing DefaultCellEditor, and and passing an InputVerifier to the text component used to in the construction of the editor degate, but this has had no effect. I also tried overiding stopCellEditing() this had the effect of preventing leaving the cell until they have entered a correct value, but it does not outline it in red
public class ExcelRefCellEditor extends DefaultCellEditor
public ExcelRefCellEditor(JTextField textfield)
//@TODO seems to have no effect
super(textfield);
textfield.setInputVerifier(new ExcelRefInputVerifier());
public boolean stopCellEditing()
if(!AQExcelRef.isValidForm((String)delegate.getCellEditorValue()))
return false;
else
return delegate.stopCellEditing();
class ExcelRefInputVerifier extends InputVerifier
public boolean verify(JComponent input)
return AQExcelRef.isValidForm(((JTextField)input).getText());
class AQExcelRef implements Serializable
public static boolean isValidForm(String cellRef)
return cellRef.matches("[A-Z]+[1-9]+");
tc.setCellEditor(new ExcelRefCellEditor(new JTextField()));Thanks that works perfectly
But I would be interested to know how it it is done for Integer columns as I cant find any code to do this in the DefaultCellEditor, and I took a quick look at the plaf packages and suns internal packages as well. -
Ho can I schedule a WEBI report with dynamic parameters???
Hello again!!
Here i am with another detail about scheduling, the thing this time is that ia need to schedule a report with one parameter every week but with a different value for the parameter every week.
This is i need this week to run the report SALES BY STORE filtered by week with this value 2011 - 45 (yyyy - num ofweek) but the next week the value for the same parameter must be 2011 - 46
is it possible??? i mean is possible to schedule a report with different value for the parameter each time that it runs???
I know that i can schedule a report with different values for a parameter to send it to severals users whith different data but the values for the parameter are the same every time that it runs and i dont need that.
Any help or clue will be very appreciatedHi Elio,
Do you have access to modify your universe?
Then you should try Dave Rathbun's idea. Here is the link:
http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
Note that you'll have to adapt it to what you need, in this case to the week number.
For example if you are using Sybase syntax you'd get 2011 - 46 with:
convert(varchar, year(getdate()))+' - '+convert(varchar, datepart(wk,getdate()))
So you'll new object in Universe would look like :
your_table.week = case when @prompt('Enter week','C',,mono,free) = 'This week' then convert(varchar, year(getdate()))+' - '+convert(varchar, datepart(wk,getdate())) else @prompt('Enter week','C',,mono,free) end
Adapt it to the syntax of the database you use. Then after creating this object in your universe you'll have to go back to your report and Edit the query and use this object in the filter area instead of a normal prompt.
When you have to schedule the report leave the prompt with the parameter 'This week'
Hope this helps
Regards
Erika
Edited by: PadawanGirl on Nov 8, 2011 3:35 PM -
Can we run 4 Stored Prcocs with same parameters in parellel
I have 4 stored procedures which have the same parameters startdate and enddate.
Each of them takes 10 sec to execute.The UI loads the page only after executing all the 4 sps that means after 40 secs(10 secs for each procedure)
Can we do it in a way in sql server where in all are executed/fired at the same time so that the page loads in 10 secs????
can we put 4 sps in a single sp with startdate and enddate and execute all in parallel???
or can anyone suggest any other solution for this??
Thanks,
Rahul Abhinav.Another way to make the sp-s jobs which can be started (almost) simultaneously from a stored procedure:
Reference: How to start a SQL Server job from a stored procedure?
There is no guarantee though about finishing 4 times faster.
When a job started from a stored procedure, the logic flow will proceed to the next statement immediately, there is no wait for the job to finish.
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014 -
How do I use my iPod Touch 4th Generation with air play with my Apple TV?
Can someone please help me. I need to find out if my iPod Touch 4th Generation can be used for Air Play with my Apple TV. When I go to photos I can use Air Play to display them. But I cannot use airplay for my apps like Facebook, and My games like The Sims. I am using iOS 6.0.1. Is that the issue if so, When you be updating the 4th Gen. Touch to be able to use it with the 6.0.2 version. I beleive Apple can do better with this. I just purchased my Apple TV yesterday, and I don't want to have to take it back already, because it doesn't work with my iPod 4th Gen.
Do the games and apps show the AIrPlay option? No all do.
The second article in my previous reply included:
From the Videos, iPod, Photos, Music, and YouTube apps on iOS devices, stream videos, music, and photos to an Apple TV (2nd and 3rd generation), or stream music to an AirPort Express or compatible third-party device.
With iOS 4.3 and later, you can also stream video and audio from a website or a third-party app installed on your iOS device if the developer for the app or website has added AirPlay functionality -
Hi. I have the Apple connector kit...and actually played Garageband via my M-Audio Oxygen 25-keyboard thru my iPad2--without a powered hub.
But that was two month ago.
Now...I can't get it to play--with volume. I can hear the notes...but faintly. And I have pushed ALL possible volume controls up (Keyboard & iPad).
I know the keyboard is triggering, because I tested it on a MacBook: got full volume, just like before.
But just can't get full volume from the iPad2. I got a 4-port USB hub...and tried interfacing it between the keyboard and the connector kit/iPad2. But still no volume. It's almost like a switch is off in the iPad???
Any help would be appreciated. Danhello again,
i didn't really dare to delete the blue home folders before, just in case everything went wrong, but now i think i have so little space that i can't afford to lose 2.25gb!
one thing that slightly worries me is the fact that the 'proper' library folder (in the home icon) is 2.09gb, whereas the 'wrong' one (from the blue folder forenamesurname) is 2.24gb - this is the one i would be deleting. just seems odd to delete a larger file than the one i presume i'm using.
"Move everything you want to keep out of the blue folders, and then place both of the folders on your desktop. If everything works properly after a few days, delete both folders. If you are asked for your administrator password at any point or if either folder is copied instead of moved when dragged, don't delete that folder."
by 'everything you want to keep', does this include the library folder? 'cause there doesn't seem to be much else, and i'm not sure if deleting the library folder would ruin all my preferences.
i've put both of the folders on the desktop, it didn't ask for the admin password or try to copy them, so i guess that's good news. what kind of things should i be looking out for to act differently?
are the folders not in use now that they are on the desktop?
also if i put them in the trash will they have no effect? i.e. the same as permanently deleting them, so i could put them in the trash as a test.
cheers, stephen. -
HT4972 Can you sync and back up with a dial up connection
Can you back up iPhone 3GS using a dial up connection? If not what other options?
If you are trying to back up to iCloud, I don't think so. But even if you normally back up to iCloud you can still perform a manual backup with iTunes. Just connect your phone to your computer, when it appears in iTunes on the left sidebar right-click on its name and choose Backup. This will create a backup on your computer which can later be used, if necessary, to restore from using iTunes.
-
How to perform simultaneous multitrack recording with an Audigy 4 P
Dear Sir/Madam,
We are comming from the Uni'versity of Maribor, Slovenia. We recently buyed an Audigy 4 Pro Sound Blaster for our studio recording purposes. Here is the description of the problem:
We would like to record the speech database which will be used later to perform text to speech sinthesis (sampling rate of 96kHz, 24-bit resolution). Therefore, we need to SIMULTANEOUSLY record the stereo signals from 2 microphones located at different distances. That is, for each microphone we would have two channels which resulted in a requirement of recording 4 channels symultaneously!!!
We succeded to record the signals from either first or second microphone separately, but we couldn't record the stereo signals from the both microphones simultaneously!!! Namely, in the Creative mixer there is possible to select ONLY one recording input in a time. But we need to record the signal simultaneously from two inputs.
Our question are:
. How can we perform simultaneous, multitrack recording with an Audigy 4 Pro using two stereo inputs (e.g. from Line In and Line In 2 inputs)?
2. Which -from Creative recommended- recording software supports this multritrack recording? Namely, the recordings from the two microphones should be aligned in time as much as possible.
Thank you very much for your help!
AltairHi
You need recording software (Cubasis (not sure), Cubase, Sonar, etc.) which supports
ASIO drivers and a 'multichannel' microphone pre-amp/mixer to get microphone(s) connected
'separately' into Audigy Input's.
ASIO driver gives more 'Input sources' to choose from compared to WDM's one stereo/2 mono
channel capability.
.jtp -
ITunes music won't play with burned QT movie on CD
I made a slide show movie on my Powerbook using Quicktime Pro and purchased a song (purchased just for this use) on the iTunes store to add to the movie. Then burned the QT movie to a CD and gave it to friends to commemorate a party that they gave. But the music wouldn't play. A window came up on their PC computer asking them to go to the iTunes store for verification or something like that.
Then I made another movie on my Powerbook using Quicktime Pro and added music to that one that was already on my computer. It wasn't music that I'd bought on iTunes. It was music I had imported to iTunes from a CD that I had purchased. I burned that movie and music to a CD and then tried to play it on a 20" iMac. The music wouldn't play. I didn't have that music installed on that computer but I wouldn't have thought that would be necessary. It should have been burned to the CD.
This is puzzling. I have done this same procedure in the past. I may have done an upgrade to the OS since making movies previously. What changed? How can I get music to play with movies on CDs that are played on other computers than my Powerbook?
GinnyHi!
The sizes and everything of your music files are normal right? Between 2 and 10 MB or so?
Edit: Copying one of the songs from your laptop back to your desktop works fine on the desktop? That would rule out the following...
This is getting a little bit desperate, but it might help us figure out what the heck is going on with your songs!
Can you install Notepad++ and try to open a malfunctioning song file in it?
Maximize the window and maybe hold Ctrl and scroll down once or twice to bring the font size down. Then take a screenshot of what you see in Notepad++'s window and share that here. -
Questions on CDS Views with input parameters
Dear Experts,
1. Can we call a CDS View (or generated database view) with input parameters inside an AMDP? I am looking for something similar to the feature in HANA where we can consume calculation view with filters inside SQL Script?
2. I understand we can next CDS Views, but how we can next (call) a CDS View with input parameters inside another CDS View?
Thanks,
GiriHi Thomas,
I get the below error that the CDS View's generated table function cannot take field from AMDP.
I have a requirement to query the CDS View using 2 timestamps (start & end). So, in AMDP I have used the TIME_STAMP and try to pass it to the CDS View
View code:
define view Z_Ngi_Cag_A
with parameters start_ts:abap.dec( 15, 0 ) , end_ts:abap.dec( 15, 0 )
as select from table {
resource_key
where
(begtstmp > $parameters.start_ts or endtstmp > $parameters.start_ts )
and
(begtstmp < $parameters.end_ts or endtstmp < $parameters.end_ts )
I am calling using the below AMDP:
DECLARE iv_start_date TIMESTAMP;
DECLARE iv_end_date TIMESTAMP;
SELECT CURRENT_TIMESTAMP INTO iv_start_date from dummy;
SELECT ADD_DAYS(CURRENT_TIMESTAMP, 30) INTO iv_end_date from dummy;
et_data = SELECT * FROM ZMR_H_CA ( start_ts => iv_start_date, end_ts => iv_end_date );
What could be wrong ? Is this not supported?
Thanks,
Giri
Maybe you are looking for
-
Hello, The environment: about 100 users, about 25 Windows 7 PC, DC = Server 2003 SBS, AD, local profiles with redirected desktops, documents, start menus. The special case: Some (generic) accounts are not supposed to be allowed to load media from ext
-
Cant open pdf files in browser
Cannot open pdf files in browser but can open from hard drive. Using Adobe 11.0.02 with Windows 8. Have uninstalled Reader and reinstalled and then restarted PC; Checked for updates; used the Repair selection on the menu. Frustrated. Suggestions?
-
Help with scroll/throw a movieclip
hey guys, I'm not an expert coder by any means and this is for a proof of concept. I have a large movieclip called "main" that contains sub movieclips of pictures. Now the code I have put in below allows me to drag and throw the main moviecilp like a
-
Stock transfer between plant to plant in blocked status
Hi Gurus, Can anybody know how to use some mov. type to transfer restricted status between plant to plant? Many thanks in advanced. Luiz Geraldi
-
Just wondering if anyone else out there has experienced this issue. Here goes - We recieve design layouts on cd from clients w/ fonts included. We extract all the content from the cds, place it locally on our macs, and place the same content on our n