How to run visual composer queries in parallel?
We have a visual composer model which runs 6 bex queries in parallel.
When we run this, on the BI system (D21) we see only a maximum of two
work processes being used at any given time in sm66. As VC runs the 6 queries
in parallel we expected to see 6 work processes but we could only see 2 busy.
The indivisual run time for the query is as below which totals to 6.62 mins.
When we ran the model it completes in 3.5 mins which also indicates only a max of two of them
are running in parallel. If all 6 ran in parallel then the model should have completed in 108 sec so for
some reason only two queries are able to run in parallel.
Query Run time
Z_ZSCN_M002_Q014 108.018936
Z_ZSCN_M002_Q016 83.171465
Z_ZSCN_M002_Q015 47.829427
Z_ZSCN_M002_Q011 1.67836
YZ_ZSCN_M002_Q014_VC 79.256742
Z_ZSCN_M002_Q013 76.980887
Pls let me know how to run all the 6 queries in parallel.
thank you
regards
Laxmi
Problem resolved.
The issue was due 2 thread limitation with IE. When we upped this to 10 , all queries started running fine.
Similar Messages
-
How To Install Visual Composer
Hi,
this may sound stupid, but I am stuck:
How to install Visual Composer?
I have a Portal 7.0 and KM. Is it just an additional package? On which install CD is it? Can I install it now, after the regular portal is up and running?
I have seen the install guide, but I am missing the big picture.
Can someone outline the general steps and the prerequsities?
Thanks in Advance
hsHello Holger,
Actually if you've installed the Portal than you already have Visual Composer installed as it is part of the EP usage installation.
To access Visual Composer type the following URL:
http://<machine name>:<port>/VC (i.e. same as portal just replacing "irj/" with "VC" in uppercase).
Additional permissions and settings all appear in the insr.+configuration guide.
Regards,
Amir -
How to Start Visual Composer..??
Hi Friends
I am new to Visual Composer.
I installed SAP Netweaver 2004s SP7 which comes with Visual Composer.
My Server is up and running.
Let me know how to start Visual Composer
Please let me know the post installation configureation to start the visual composer.
Thanks
MukeshHi Welcome to World Of Visula Composer,
To open VC On your Portal Give URL Like:http://<hostname>:Portname/VC.
Ex:http://pwdf2825.wdf.sap.corp:50000/VC
will open the VC For you.
Prerequisites:
1.Install Adobe Flash Player (Possible Latest Version)
2.SVG Viewer
3.XML Parsar.
Go to the Link it will give you Info about VC:
<http://help.sap.com/saphelp_nwce10/helpdata/en/45/04134e8a5741dee10000000a1553f6/frameset.htm>
If helpful award Points.
Regards,
Govindu -
How to publish visual composer model to portal content
Dear all,
I need information about how to publish visual composer model to portal content. does any one now???
Regards.Hi,
after doing deployment the model in the VC will be published in the Portal content.
You can define the path where you want to publish the Model in the Portal under portalk content in
(In VC) Tools->Options->Compiler->Deployment folder(mention the folder name in the portal content).
hope you got my point.
Regards,
Govindu -
Dear all,
I am a bw consultant,i want to use VC to create web reporting in EP, but i don't know how to use VC.
Can any one give me one document 'how to guide visual composer' as soon as possible? My email:[email protected]
Thank very much!!
Best regards
Alpha
Message was edited by: Alpha zhouHi Alpha,
Check out the following links.......
http://help.sap.com/content/documentation/netweaver/docu_nw_vc.htm
http://help.sap.com/download/netweaver/nw04/visualcomposer/VC_60_UserGuide_v1_1.pdf
http://help.sap.com/download/netweaver/nw04/visualcomposer/html/en/fd/4a7e40417c6d1de10000000a1550b0/frameset.htm
For installation guide...
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45bfd990-0201-0010-e1b3-a38f22a5b5b2
Thank you,
Deep. -
How to add Visual Composer to CE 7.1 trial
Hi,
after having installed CE 7.1 (english, Windows OS) and assigning VisualComposerUser role to my admin, i tried to have a look at the visual composer http://hostName:50000/VC
Problem is: only an empty page is displayed - grmph! After searching SDN i noticed, that Guided Procedures and Visual Composer (from my point of view the most interesting parts) are not included in download.
Any idea on how to get these CE packages for preview?
Thx a lot.
ingo
Edited by: Ingo Bischofs on Sep 16, 2008 2:46 PMMmmh...without SVG Viewer it's hard to get it up and running :/
sorry for bothering the community -
How to Lanch Visual Composer in Portal
Hi,
I got a VC role assigned to me in portal
How can i launch Visual Composer in Portal as i can't find any tab for that
Please up[dateHi,
Use Below URL For Visual Composer
http://localhost:port/VC
Before We Login To Visual Composer We Need to install Client Softwares Are
1.Adobe SVG viewer.
2.Adobe XML praser.
3.Abobe Flash Player.
https://www.sdn.sap.com/irj/sdn/nw-vc?rid=/webcontent/uuid/c02d8fd6-e811-2a10-ffa9-d00853779c24
https://www.sdn.sap.com/irj/sdn/nw-vc
/docs/DOC-8418#section12
Creating Applications using Visual Composer 7.0–Examples&Success Stories
USEFUL LINKS (start here)
Points Are Welcome.
Bye
Thanks
SubbaRao Chinta -
How to start visual composer in portal 7.3
Hi,
we installed the new portal 7.3 but i can´t find the visual composer. the url .../VC has no function.
Do we have to install CE?
Regards
Sven
Edited by: Sven Gerum on Jan 6, 2011 3:20 PMHello Sven,
Can you please test that all the VC SCA's are deployed on your server.
In order to do so, you need to go to the J2EE Home Page and then press the System Information Link
Go to the Components Info Tab
Here is the list of the Software components that should be deployed:
WDRUNTIME
EPCONNECTIVITY
EPCONNECTIVITYEXT
VCBASE
VCCORERT
VCFRAMEWORK
VCFREESTYLEKIT
VCKITBI
WDEXTENSIONS
WDFLEX
VC70RUNTIME
Also if the message that you receive (after logon to the VC) is:"You are not authorized to view the requested resource",
then you need to Assign to the logged on user the Role named VisualComposerUser (from the User Administration Tab in the Portal)
Best Regards,
Luba -
How to deploy Visual composer applications and set up the server
Hi ,
I have SAP Netweaver developer studio client installed on my Laptop and I can use it to create VC applications but I cannot visualise the applications since I don't have server.
Is there a server that I can install and configure? and what else do I need before I can successfully deploy visual composer applications.
thanksHi Bhat,
Please ping server whether it is reachable or not.
Please enter IP and host name in the host file (Start>>Drivers>>etc>>host file)
Then enter host and instance number in NWDS. then open server view through open perspective, it will show you whether server is up or not.
Hope this will helps you.
Regards
Arun -
How to run the same procedure in parallel for different parameter value.
Hi There,
I am currently working on extracting data in to flat file and I am able to do so for one revenue month (e.g. 200101) using PL/SQL procedure(get_rev_data). it takes almost 1 hour to execute the procedure completely and it generates 400 MB data file. Now I have to run this procedure for last 10 yrs of data (i.e. 120 revenue months) . my prolem here is to figure out a way/logic in such a way that I can run the procedure in parallel for each revenue month and at the same time it will write the data in respective data file for each revenue month. so the final result of this exercise would be 120 flat files, one for each revenue month with file names like
EXTRACT_00001001 to EXTRACT_00001120.
where
first five digits : 00001 will indicate the Extract run number and
last three digits : 001 will indicate the thread number for each run.
I am thinking of doing this by creating a table "RevMonth" with two values (revenue_month, thread_num) and calling the procedure in a simple select statement and passing revenue_month as parameter of the procedure like
SELECT get_rev_data(revenue_month, thread_num)
FROM REVMONTH;
But I am not sure if that will do the needful. Any idea on how to achieve this will be of great help. Thank you.Hi Smit,
Thanks for the advise. I am not planning to run for all 120 months at once. actually I am planning to run like 1 year (12 revenue months at a time). I am not sure if that will work well but I was planning to run this through shell script (Unix) and will call the same procedure with different parameter (revenue_month and Thread_number) values and see what happens. I hope that will run in parallel for each revenue month.
Let me know if you have more knowledge about it. THanks a lot.
Thanks,
. -
How to run 2 VI's in parallel?
I have 1 VI that sets some data and I want it to be able to bring up another VI (data table) to run side by side without interfering with the 1st that brought it up. I want the data that changes in the 1st VI to affect the display of VI number 2. Is there a way to just have the 1st one bring up the 2nd one and then have both of them run at the same time?
The best way to do this is probably to open the vi dynamically as Gorka suggested and then use a queue to send data to the second vi. I've made a quick library of two vis that I hope will demonstrate this.
Let me know if this doesn't help...
Brian
Attachments:
Dynamic.llb 58 KB -
How to Install Visual Composer 6.0
Hi,
I want to install the VC 6.0 on EP 6.0 Server.
My system details are as follows
OS :- Windows 2003 Enterprise Server SP3
SAP:- Enterprise Portal 6.0 (SR1)
Database : ORACLE 10g.
I search through out service.sap.com to dowload the VC but the VC is available only for MSS while I am on ORACLE.
Please help me to resolve this issue.
Thanks & Regads,
ShamboHi,
Just check this url
http://help.sap.com/erp2005_ehp_03/helpdata/EN/42/ca341393536bb2e10000000a1553f6/frameset.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/82/6a0e7bbe744276bf393654b9b576ed/frameset.htm
It will solve your problem.
Thanks
Anup -
Can someone tell me how can i configure Visual Composer.
I do have Netweaver Portal access , BI7.0 +ECC6.0 access but not able to understand
how to run Visual Composer ?
thanksHi,
Visual Composer is running through SAP Enterprise Portal SP8 and higher.If your user has VC role then you reach VC from http://<servername>:50100/VC.Port number may be different depending on the configuration.Check the wiki for details.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/main
Regards, -
How to run query in parallel to improve performance
I am using ALDSP2.5, My data tables are split to 12 ways, based on hash of a particular column name. I have a query to get a piece of data I am looking for. However, this data is split across the 12 tables. So, even though my query is the same, I need to run it on 12 tables instead of 1. I want to run all 12 queries in parallel instead of one by one, collapse the datasets returned and return it back to the caller. How can I do this in ALDSP ?
To be specific, I will call below operation to get data:
declare function ds:SOA_1MIN_POOL_METRIC() as element(tgt:SOA_1MIN_POOL_METRIC_00)*
src0:SOA_1MIN_POOL_METRIC(),
src1:SOA_1MIN_POOL_METRIC(),
src2:SOA_1MIN_POOL_METRIC(),
src3:SOA_1MIN_POOL_METRIC(),
src4:SOA_1MIN_POOL_METRIC(),
src5:SOA_1MIN_POOL_METRIC(),
src6:SOA_1MIN_POOL_METRIC(),
src7:SOA_1MIN_POOL_METRIC(),
src8:SOA_1MIN_POOL_METRIC(),
src9:SOA_1MIN_POOL_METRIC(),
src10:SOA_1MIN_POOL_METRIC(),
src11:SOA_1MIN_POOL_METRIC()
This method acts as a proxy, it aggregates data from 12 data tables
src0:SOA_1MIN_POOL_METRIC() get data from SOA_1MIN_POOL_METRIC_00 table
src1:SOA_1MIN_POOL_METRIC() get data from SOA_1MIN_POOL_METRIC_01 table and so on.
The data source of each table is different (src0, src1 etc), how can I run these queries in parallel to improve performance?Thanks Mike.
The async function works, from the log, I could see the queries are executed in parallel.
but the behavior is confused, with same input, sometimes it gives me right result, some times(especially when there are few other applications running in the machine) it throws below exception:
java.lang.IllegalStateException
at weblogic.xml.query.iterators.BasicMaterializedTokenStream.deRegister(BasicMaterializedTokenStream.java:256)
at weblogic.xml.query.iterators.BasicMaterializedTokenStream$MatStreamIterator.close(BasicMaterializedTokenStream.java:436)
at weblogic.xml.query.runtime.core.RTVariable.close(RTVariable.java:54)
at weblogic.xml.query.runtime.core.RTVariableSync.close(RTVariableSync.java:74)
at weblogic.xml.query.iterators.FirstOrderIterator.close(FirstOrderIterator.java:173)
at weblogic.xml.query.iterators.FirstOrderIterator.close(FirstOrderIterator.java:173)
at weblogic.xml.query.iterators.FirstOrderIterator.close(FirstOrderIterator.java:173)
at weblogic.xml.query.iterators.FirstOrderIterator.close(FirstOrderIterator.java:173)
at weblogic.xml.query.runtime.core.IfThenElse.close(IfThenElse.java:99)
at weblogic.xml.query.runtime.core.CountMapIterator.close(CountMapIterator.java:222)
at weblogic.xml.query.runtime.core.LetIterator.close(LetIterator.java:140)
at weblogic.xml.query.runtime.constructor.SuperElementConstructor.prepClose(SuperElementConstructor.java:183)
at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.close(PartMatElemConstructor.java:251)
at weblogic.xml.query.runtime.querycide.QueryAssassin.close(QueryAssassin.java:65)
at weblogic.xml.query.iterators.FirstOrderIterator.close(FirstOrderIterator.java:173)
at weblogic.xml.query.runtime.core.QueryIterator.close(QueryIterator.java:146)
at com.bea.ld.server.QueryInvocation.getResult(QueryInvocation.java:462)
at com.bea.ld.EJBRequestHandler.executeFunction(EJBRequestHandler.java:346)
at com.bea.ld.ServerBean.executeFunction(ServerBean.java:108)
at com.bea.ld.Server_ydm4ie_EOImpl.executeFunction(Server_ydm4ie_EOImpl.java:262)
at com.bea.dsp.dsmediator.client.XmlDataServiceBase.invokeFunction(XmlDataServiceBase.java:312)
at com.bea.dsp.dsmediator.client.XmlDataServiceBase.invoke(XmlDataServiceBase.java:231)
at com.ebay.rds.dao.SOAMetricDAO.getMetricAggNumber(SOAMetricDAO.java:502)
at com.ebay.rds.impl.NexusImpl.getMetricAggNumber(NexusImpl.java:199)
at com.ebay.rds.impl.NexusImpl.getMetricAggNumber(NexusImpl.java:174)
at RDSWS.getMetricAggNumber(RDSWS.jws:240)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:371)
below is my code example, first I get data from all the 12 queries, each query is enclosed with fn-bea:async function, finally, I do a group by aggregation based on the whole data set, is it possible that the exception is due to some threads are not returned data yet, but the aggregation has started?
the metircName, serviceName, opname, and $soaDbRequest are simply passed from operation parameters.
let $METRIC_RESULT :=
fn-bea:async(
for $SOA_METRIC in ns20:getMetrics($metricName,$serviceName,$opName,"")
for $SOA_POOL_METRIC in src0:SOA_1MIN_POOL_METRIC()
where
$SOA_POOL_METRIC/SOA_METRIC_ID eq fn-bea:fence($SOA_METRIC/SOA_METRIC_ID)
and $SOA_POOL_METRIC/CAL_CUBE_ID ge fn-bea:fence($soaDbRequest/ns16:StartTime)
and $SOA_POOL_METRIC/CAL_CUBE_ID lt fn-bea:fence($soaDbRequest/ns16:EndTime )
and ( $SOA_POOL_METRIC/SOA_SERVICE_ID eq fn-bea:fence($soaDbRequest/ns16:ServiceID)
or (0 eq fn-bea:fence($soaDbRequest/ns16:ServiceID)))
and ( $SOA_POOL_METRIC/POOL_ID eq fn-bea:fence($soaDbRequest/ns16:PoolID)
or (0 eq fn-bea:fence($soaDbRequest/ns16:PoolID)))
and ( $SOA_POOL_METRIC/SOA_USE_CASE_ID eq fn-bea:fence($soaDbRequest/ns16:UseCaseID)
or (0 eq fn-bea:fence($soaDbRequest/ns16:UseCaseID)))
and ( $SOA_POOL_METRIC/ROLE_TYPE eq fn-bea:fence($soaDbRequest/ns16:RoleID)
or (-1 eq fn-bea:fence($soaDbRequest/ns16:RoleID)))
return
$SOA_POOL_METRIC
fn-bea:async(for $SOA_METRIC in ns20:getMetrics($metricName,$serviceName,$opName,"")
for $SOA_POOL_METRIC in src1:SOA_1MIN_POOL_METRIC()
where
$SOA_POOL_METRIC/SOA_METRIC_ID eq fn-bea:fence($SOA_METRIC/SOA_METRIC_ID)
and $SOA_POOL_METRIC/CAL_CUBE_ID ge fn-bea:fence($soaDbRequest/ns16:StartTime)
and $SOA_POOL_METRIC/CAL_CUBE_ID lt fn-bea:fence($soaDbRequest/ns16:EndTime )
and ( $SOA_POOL_METRIC/SOA_SERVICE_ID eq fn-bea:fence($soaDbRequest/ns16:ServiceID)
or (0 eq fn-bea:fence($soaDbRequest/ns16:ServiceID)))
and ( $SOA_POOL_METRIC/POOL_ID eq fn-bea:fence($soaDbRequest/ns16:PoolID)
or (0 eq fn-bea:fence($soaDbRequest/ns16:PoolID)))
and ( $SOA_POOL_METRIC/SOA_USE_CASE_ID eq fn-bea:fence($soaDbRequest/ns16:UseCaseID)
or (0 eq fn-bea:fence($soaDbRequest/ns16:UseCaseID)))
and ( $SOA_POOL_METRIC/ROLE_TYPE eq fn-bea:fence($soaDbRequest/ns16:RoleID)
or (-1 eq fn-bea:fence($soaDbRequest/ns16:RoleID)))
return
$SOA_POOL_METRIC
... //12 similar queries
for $Metric_data in $METRIC_RESULT
group $Metric_data as $Metric_data_Group
by $Metric_data/ROLE_TYPE as $role_type_id
return
<ns0:RawMetric>
<ns0:endTime?></ns0:endTime>
<ns0:target?>{$role_type_id}</ns0:target>
<ns0:value0>{fn:sum($Metric_data_Group/METRIC_COMPONENT_VALUE0)}</ns0:value0>
<ns0:value1>{fn:sum($Metric_data_Group/METRIC_COMPONENT_VALUE1)}</ns0:value1>
<ns0:value2>{fn:sum($Metric_data_Group/METRIC_COMPONENT_VALUE2)}</ns0:value2>
<ns0:value3>{fn:sum($Metric_data_Group/METRIC_COMPONENT_VALUE3)}</ns0:value3>
</ns0:RawMetric>
could you tell me why the result is unstable? thanks! -
How do you filt the "total" in Visual Composer?
Hi everyone :
My method is to filt the string "total" of the value of the filed .It can work ,but i think it's indirect ,so how do you filt the total in Visual Composer?
thx
chanHi Zegion,
Some help links for visual composer,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c6b2d590-0201-0010-42ba-a53a5d422310
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d48d999-0701-0010-5790-8b2c5ae7107d
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1752b737-0401-0010-0ba3-87c3eda8c6ce
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cab252d4-0a01-0010-3984-ee345859dde6
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01c5d690-0201-0010-668a-b8d97d51a566
for How to Guides - Visual Composer.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/16244247-0a01-0010-3294-d81c21e7e86e
Regards
Prakash
Maybe you are looking for
-
Setting default value for a jcombobox based on the value not the index
I am trying to set the default value for my combobox to the current year. One way I thought of doing it was to get the index of the value representing the current year and then use setSelectedInex to make it the default. Any ideas? The relevent secti
-
I need to move my photos and contacts from my old iPhone 3 to my new iPhone 4. When I open iTunes, it is not letting me sync my old phone so I can back up to my new phone. Any thoughts?
-
Has anyone had problems downloading new cd's to Itune ???
-
Stickies that sync to my iPhone?
i am trying to finalize my "notes organization". I've been through Omni Focus and Things and I am simply using STICKIES now. Is there a way to get these to sync to my iPhone? anyone have software suggestions that will do the same without all the othe
-
Keyboard issue in itunes app on iphone 6 plus
the keyboard in my itunes app on my iphone 6 is only showing me half of the keyboard. this does not happen in any other app