Help needed w/ NFS performance
Hi.
I am using my MacBook running Snow Leopard as an NFS client. The NFS server resides on my home Linux box (running CentOS 4 if it matters). I am able to auto-mount an NFS drive using Disk Utilities. I am able to see and read its contents. However, the performance (i.e. throughput) is utterly miserable.
Watching a WMV file on the NFS share via VLC Player, for instance, is just impossible. The video gets choppy every few seconds, and the audio gets cut off equally often.
Interestingly, connecting to the same share using Samba does not exhibit the same problem. The performance is quite acceptable here.
I am using the following advanced mount options: ro, nolock, locallock, -P
What am I doing wrong here? Any help would be appreciated.
Hi.
I am using my MacBook running Snow Leopard as an NFS client. The NFS server resides on my home Linux box (running CentOS 4 if it matters). I am able to auto-mount an NFS drive using Disk Utilities. I am able to see and read its contents. However, the performance (i.e. throughput) is utterly miserable.
Watching a WMV file on the NFS share via VLC Player, for instance, is just impossible. The video gets choppy every few seconds, and the audio gets cut off equally often.
Interestingly, connecting to the same share using Samba does not exhibit the same problem. The performance is quite acceptable here.
I am using the following advanced mount options: ro, nolock, locallock, -P
What am I doing wrong here? Any help would be appreciated.
Similar Messages
-
Help needed in SQL performance - Using CASE in SQL statement versus 2 query
Hi,
I have a requirement to find count from a bunch of tables.
The SQL I have gives the count of all members.
I have created 2 queries to find count of active and inactive members.
The key difference is only the active dates.
Each query takes 20 seconds to execute.
I modified the SQL to use CASE statement in the SELECT.
So after the data is fetched the CASE statement will evaluate the active date and gives 2 counts (active and inactive)
Is it advisable to use this approach. Will CASE improve SQL performance ? I have to justify this.
Please let me know your thoughts.
Thanks,
JHi,
If it can be done in single SQL do it in single SQL.
You said:
Will CASE improve SQL performance There can be both cases to prove if the performance is better or worse.
In your case you should tell us how it is.
Regards,
Bhushan -
Urgently help needs on query performance please
HI,
Eache iteration taking four seconds while execution...
What could be the reason for this????
FOR tem_rec IN temp LOOP
UPDATE t_routing_operations_api SET routing= tem_rec.sub_routing
WHERE routing_id=latest_routing_id and routing_id != 3 and routing = tem_rec.routing ;
UPDATE t_next_operations_api SET routing = tem_rec.sub_routing
WHERE routing_id=latest_routing_id and routing_id != 3 and routing = tem_rec.routing;
--COMMIT;
END LOOP;
regards,
Khaleel.Hi there, thank you all for showing the interest in solving my problem....
here I am going bit more clear about my question...
My compete procedure is....
CREATE OR REPLACE
procedure rand_route_gen1 is
CURSOR get_routing_id IS SELECT * FROM t_routings_api WHERE routing_id=3;
CURSOR temp IS SELECT * FROM c_rname_tem;
CURSOR get_operation_id(v_routing_id number) IS SELECT *
FROM t_routing_operations_api WHERE routing_id=v_routing_id;
CURSOR get_next_oper(v_operation_id number) IS SELECT * FROM t_next_operations_api
WHERE operation_id=v_operation_id;
random_no INTEGER:=0;
rt_id INTEGER:=0;
latest_routing_id INTEGER:=0;
BEGIN
DELETE FROM c_rname_tem;
--COMMIT;
INSERT INTO c_Rname_tem SELECT distinct routing,null FROM t_routing_operations_api;
--COMMIT;
FOR routing_rec IN get_routing_id LOOP
FOR c in 2..10 LOOP
FOR tem_rec IN temp LOOP
random_no:=dbms_random.value(1,3);
UPDATE c_rname_tem SET sub_routing='T'||random_no WHERE routing LIKE tem_rec.routing;
END LOOP;
INSERT INTO T_ROUTINGS_API values ('R'||rout_id.nextval,'1000',null,null,'R',rout_id.nextval,null,1,null,'Test Routing'
,null,null,null,null,1,null,'N',null,null,'XL Sheet',null,null,null,null,null,null);
--COMMIT;
SELECT max(operation_id) INTO rt_id FROM t_routing_operations_api;
rt_id:=rt_id+1;
FOR Operation_Rec IN get_operation_id(routing_rec.routing_id) LOOP
IF operation_rec.routing is not null THEN
insert into T_ROUTING_OPERATIONS_API values (rout_id.currval,/*'T'||i,*/operation_rec.routing,null,
null,rt_id,null,null,null,90,null,null,operation_rec.primary_flag,Operation_Rec.operation_rank,null,null,null,null,null,
null,null,null,10,null,null,null,null);
ELSE
insert into T_ROUTING_OPERATIONS_API values (rout_id.currval,null,Operation_Rec.operation,null,rt_id,
null,null,null,90,null,null,operation_rec.primary_flag,Operation_Rec.operation_rank,null,null,null,null,null,null,null,
null,10,null,null,null,null);
END IF;
--commit;
For next_oper_rec in get_next_oper(operation_rec.operation_id) loop
BEGIN
IF next_oper_rec.routing is not null THEN
insert into T_NEXT_OPERATIONS_API values ( rt_id,rout_id.currval,null,null,null,null,
next_oper_rec.operation_rank,null,null,null,null,
/*'T'||i*/
next_oper_rec.routing );
ELSE
insert into T_NEXT_OPERATIONS_API values ( rt_id,rout_id.currval,next_oper_rec.operation,null,
null,null,next_oper_rec.operation_rank,null,null,null,null,null);
--COMMIT;
END IF;
EXCEPTION
when no_data_found then null;
END;
END LOOP;
rt_id:=rt_id+1;
--COMMIT;
SELECT max(routing_id) INTO latest_routing_id FROM t_routings_api;
DBMS_OUTPUT.PUT_LINE(' UPDATE STARTED AT::'||TO_CHAR(SYSDATE,'SSSSS'));
/*THIS BLOCK TAKING TOO MUCH TIME*/
FOR tem_rec IN temp LOOP
UPDATE t_routing_operations_api SET routing= tem_rec.sub_routing
WHERE routing_id=latest_routing_id and routing_id != 3 and routing = tem_rec.routing ;
UPDATE t_next_operations_api SET routing = tem_rec.sub_routing
WHERE routing_id=latest_routing_id and routing_id != 3 and routing = tem_rec.routing;
-- COMMIT;
END LOOP;
--COMMIT;
END LOOP;
--COMMIT;
END LOOP;
END LOOP;
COMMIT;
END;
For in that abouve probedure THE SHOWN BLOCK TAKING AROUND 4 SECONDS FOR EACH ITERATION.
IN THE MAIN TABLES THERE ARE VERY LESS RECORDS, AROUND 15 ROWS. SO FOR ONE MAIN ITERATION ITS TAKING ONE MUNITE THERE ITSELF. SO TO COMPLETE ALL THIS PROCEDURE ITS TAKING AROUND 9 MUNITES...
I HAVE VERY VERY LESS DATA IN THE TABLES.
SO I HOPE IT GIVE YOU CLEAR IDEA FOR YOU. AWITING FOR YOUR REPLIES.....
REGARDS,
KHALEEL. -
Need help in optimising the performance of a query
Need help in optimising the performance of a query. Below is the query that is executed on TABLE_A, TABLE_B and TABLE_C with record counts as 10M, 10m and 42 (only) respectively and it takes around 5-7 minutes to get 40 records:
SELECT DISTINCT a.T_ID_, a.FIRSTNAME, b.T_CODE, b.PRODUCT,
CASE WHEN TRUNC(b.DATE) +90 = TRUNC(SYSDATE) THEN -90 WHEN TRUNC(b.DATE) +30 = TRUNC(SYSDATE) THEN -30 ELSE 0 END AS T_DATE FROM TABLE_B b
INNER JOIN TABLE_A a ON (a.T_ID_ = b.T_ID_) LEFT JOIN TABLE_C c ON b.PRODUCT = c.PRODUCT
WHERE b.STATUS = 'T' AND (b.TYPE = 'ACTION'
AND ( TRUNC(b.DATE) + 1 = TRUNC(SYSDATE) ) ) AND b.PRODUCT = 2;
Note: Indices on the join columns are available in the respective tables
Please let me know if there is any better way to write it.
Edited by: 862944 on Aug 18, 2011 9:52 AM862944 wrote:
Need help in optimising the performance of a query. Below is the query that is executed on TABLE_A, TABLE_B and TABLE_C with record counts as 10M, 10m and 42 (only) respectively and it takes around 5-7 minutes to get 40 records:
SELECT DISTINCT a.T_ID_, a.FIRSTNAME, b.T_CODE, b.PRODUCT,
CASE WHEN TRUNC(b.DATE) +90 = TRUNC(SYSDATE) THEN -90 WHEN TRUNC(b.DATE) +30 = TRUNC(SYSDATE) THEN -30 ELSE 0 END AS T_DATE FROM TABLE_B b
INNER JOIN TABLE_A a ON (a.T_ID_ = b.T_ID_) LEFT JOIN TABLE_C c ON b.PRODUCT = c.PRODUCT
WHERE b.STATUS = 'T' AND (b.TYPE = 'ACTION'
AND ( TRUNC(b.DATE) + 1 = TRUNC(SYSDATE) ) ) AND b.PRODUCT = 2;
Note: Indices on the join columns are available in the respective tables
Please let me know if there is any better way to write it.
Edited by: 862944 on Aug 18, 2011 9:52 AM[When Your Query Takes Too Long|https://forums.oracle.com/forums/thread.jspa?messageID=1812597] -
Help needed on CD740 ???
Help needed on CD740 ? My CD740 is GREAT , well , it was great !!? The sound and general performance are wonderful , but , it now has a fault !!? Shock Horror !!
What can it be ?!!? Well , the display illumination has failed , as in , there isn't any !!? Have to use a torch to read it !!? Not good. Now , here's the thing , I want a phone number (UK zone) ?to talk to an actual human and I cannot find one !!? That is soooooo annoying !!? The unit is out of warranty so I want to repair this myself , no worries , I once worked for Philips in their pro studio equipment repair workshop so I know my way around black boxes !! I would like a service manual though so that I can get the case apart without damage. So , can anyone help me with a phone number , pretty please ?!!
Thanx.I tried compling servlet, but it is raising error
that coul not find package javax.servletWhat I did not mention... you need to add those JARs in the Classpath explicitly. You will find them in %TOMCAT_HOME%\common\lib. You atleast need to add servlet-api.jar to your Classpath. :) -
Urgent help needed on deployment facts
Hi
I had completed a Java Web based application using JApplet, which in turn uses Java Media Framework and Java Communications APIs. So when i deploy this application and let the clients use this application. I need to dump some jar files and properties files into the clients JRE so that all the APIs will work properly. Without any installations. I tried doing this manually by copying these files into client machines So is there a direct method for performing the task. Or i need to add some additional code to my applet so as to find the clients current JRE version and place the required files under using FTP? Can i write a setup routine or something which does all these operations once the client access the applet?
Help needed in the above issues
Thanks in advance
SwarajWhat you will want to do is look into JNLP and Java WebStart. They allow you to write a setup for your product that makes installation as easy as InstallShield™ does for the Windows™ platform (ie: it allows customers who cannot tell Java from Perl to install your product).
-
Help Needed..Fingerprint Identification..Image Manipulation
Norfolk State University Student (Help Needed):
I'm working on Fingerprint Identification using image correlation and/or a feature-based approach. First, Goal is to minimize the lines of the minutia so that they are one pixel thick. What services does Labview offer that will help me accomplish this task??Hey Snakehead...,
Have you tried improving your original image with better lighting, better camera, better lens, etc.? What image processing have you done already, or are you starting from scratch? I agree with AnalogKid in providing some sample images to the forum so we can get an idea of what you are working with. Have you performed any morphology processing on the image? Have you tried edge detection functions? There are numerous functions that NI provides with their NI Vision software that will help you process your image, it is just finding the right combination that is the toughest part. Last, if you do have the Vision software, I might suggest taking a look at the Vision concepts manual to get an idea of the different functions and their capabilities. Let us know what kind of images you are working with and what you have done so far, and last, what you would like to eventually see. Thanks, and have a great day.
Regards,
DJ L. -
Help needed Displaying ALV Secondary list without using oops concept
Hi Experts
Help needed Displaying ALV Secondary list without using oops concept.
its urgent
regds
rajasekharhi chk this code
******************TABLES DECLARATION*****************
TABLES : VBAP,MARA.
*****************TYPE POOLS**************************
TYPE-POOLS : SLIS.
****************INTERNAL TABLES**********************
DATA : BEGIN OF IT_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
END OF IT_VBAP.
****************TEMPORARY VARIABLES******************
DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
*****************FIELD CATALOG***********************
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
****************LAYOUT*******************************
DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
***************VARIANT*******************************
DATA : G_VARIANT LIKE DISVARIANT.
****************SAVE*********************************
DATA : G_SAVE(1) TYPE C.
*****************EVENTS******************************
DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
G_EVENTS TYPE SLIS_T_EVENT.
******************PF STATUS**************************
DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
******************USER COMMAND************************
DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
R_UCOMM LIKE SY-UCOMM.
****************SELECTION SCREEN************************
SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
***************AT SELECTION SCREEN*********************
AT SELECTION-SCREEN.
PERFORM VALIDATE.
**************START-OF-SELECTION**************************
START-OF-SELECTION.
PERFORM GET_DETAILS.
PERFORM FIELDCAT.
PERFORM LAYOUT.
PERFORM VARIANT.
PERFORM SAVE.
PERFORM EVENTS.
PERFORM ALV_DISPLAY.
*********************FORMS*******************************************
*& Form validate
text
--> p1 text
<-- p2 text
FORM VALIDATE .
SELECT SINGLE VBELN
FROM VBAP
INTO V_VBELN
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'enter valid vbeln'.
ENDIF.
ENDFORM. " validate
*& Form get_details
text
--> p1 text
<-- p2 text
FORM GET_DETAILS .
SELECT VBELN
POSNR
MATNR
FROM VBAP
INTO TABLE IT_VBAP
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'no details found'.
ENDIF.
ENDFORM. " get_details
*& Form fieldcat
text
--> p1 text
<-- p2 text
FORM FIELDCAT .
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'VBELN'.
WA_FIELDCAT-OUTPUTLEN = 10.
WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'POSNR'.
WA_FIELDCAT-OUTPUTLEN = 6.
WA_FIELDCAT-SELTEXT_L = 'ITEM'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-OUTPUTLEN = 18.
WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. " fieldcat
*& Form LAYOUT
text
--> p1 text
<-- p2 text
FORM LAYOUT .
WA_LAYOUT-ZEBRA = 'X'.
ENDFORM. " LAYOUT
*& Form VARIANT
text
--> p1 text
<-- p2 text
FORM VARIANT .
CLEAR G_VARIANT.
G_VARIANT-REPORT = SY-REPID.
ENDFORM. " VARIANT
*& Form SAVE
text
--> p1 text
<-- p2 text
FORM SAVE .
CLEAR G_SAVE.
G_SAVE = 'A'.
ENDFORM. " SAVE
*& Form EVENTS
text
--> p1 text
<-- p2 text
FORM EVENTS .
CLEAR XS_EVENTS.
XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
XS_EVENTS-FORM = 'TOP_OF_PAGE'.
APPEND XS_EVENTS TO G_EVENTS.
ENDFORM. " EVENTS
*& Form TOP_OF_PAGE
text
FORM TOP_OF_PAGE.
WRITE :/ ' INTELLI GROUP'.
ENDFORM. "TOP_OF_PAGE
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
FORM ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = PF_STATUS
I_CALLBACK_USER_COMMAND = USER_COMMAND
I_STRUCTURE_NAME =
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = G_SAVE
IS_VARIANT = G_VARIANT
IT_EVENTS = G_EVENTS
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_VBAP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_DISPLAY
*& Form SET_PF_STATUS
text
FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'Z50651_PFSTATUS' EXCLUDING EXTAB.
ENDFORM. "SET_PF_STATUS
*& Form SET_USER_COMMAND
text
FORM SET_USER_COMMAND USING R_UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN 'DC'.
READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
IF SY-SUBRC = 0.
SELECT SINGLE MTART
FROM MARA
INTO V_MTART
WHERE MATNR = IT_VBAP-MATNR.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
ELSE.
WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
WRITE :/ 'MATERIAL TYPE :' , V_MTART.
ENDIF.
ENDIF.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
WHEN 'CLOSE'.
CALL TRANSACTION 'SE38'.
ENDCASE.
REPORT Z_ALV_INTERACTIVE MESSAGE-ID ZMSG_50651
LINE-SIZE 100
LINE-COUNT 60
NO STANDARD PAGE HEADING.
******************TABLES DECLARATION*****************
TABLES : VBAP,MARA.
*****************TYPE POOLS**************************
TYPE-POOLS : SLIS.
****************INTERNAL TABLES**********************
DATA : BEGIN OF IT_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
END OF IT_VBAP.
****************TEMPORARY VARIABLES******************
DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
*****************FIELD CATALOG***********************
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
****************LAYOUT*******************************
DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
***************VARIANT*******************************
DATA : G_VARIANT LIKE DISVARIANT.
****************SAVE*********************************
DATA : G_SAVE(1) TYPE C.
*****************EVENTS******************************
DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
G_EVENTS TYPE SLIS_T_EVENT.
******************PF STATUS**************************
DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
******************USER COMMAND************************
DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
R_UCOMM LIKE SY-UCOMM.
****************SELECTION SCREEN************************
SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
***************AT SELECTION SCREEN*********************
AT SELECTION-SCREEN.
PERFORM VALIDATE.
**************START-OF-SELECTION**************************
START-OF-SELECTION.
PERFORM GET_DETAILS.
PERFORM FIELDCAT.
PERFORM LAYOUT.
PERFORM VARIANT.
PERFORM SAVE.
PERFORM EVENTS.
PERFORM ALV_DISPLAY.
*********************FORMS*******************************************
*& Form validate
text
--> p1 text
<-- p2 text
FORM VALIDATE .
SELECT SINGLE VBELN
FROM VBAP
INTO V_VBELN
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'enter valid vbeln'.
ENDIF.
ENDFORM. " validate
*& Form get_details
text
--> p1 text
<-- p2 text
FORM GET_DETAILS .
SELECT VBELN
POSNR
MATNR
FROM VBAP
INTO TABLE IT_VBAP
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'no details found'.
ENDIF.
ENDFORM. " get_details
*& Form fieldcat
text
--> p1 text
<-- p2 text
FORM FIELDCAT .
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'VBELN'.
WA_FIELDCAT-OUTPUTLEN = 10.
WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'POSNR'.
WA_FIELDCAT-OUTPUTLEN = 6.
WA_FIELDCAT-SELTEXT_L = 'ITEM'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-OUTPUTLEN = 18.
WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. " fieldcat
*& Form LAYOUT
text
--> p1 text
<-- p2 text
FORM LAYOUT .
WA_LAYOUT-ZEBRA = 'X'.
ENDFORM. " LAYOUT
*& Form VARIANT
text
--> p1 text
<-- p2 text
FORM VARIANT .
CLEAR G_VARIANT.
G_VARIANT-REPORT = SY-REPID.
ENDFORM. " VARIANT
*& Form SAVE
text
--> p1 text
<-- p2 text
FORM SAVE .
CLEAR G_SAVE.
G_SAVE = 'A'.
ENDFORM. " SAVE
*& Form EVENTS
text
--> p1 text
<-- p2 text
FORM EVENTS .
CLEAR XS_EVENTS.
XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
XS_EVENTS-FORM = 'TOP_OF_PAGE'.
APPEND XS_EVENTS TO G_EVENTS.
ENDFORM. " EVENTS
*& Form TOP_OF_PAGE
text
FORM TOP_OF_PAGE.
WRITE :/ ' INTELLI GROUP'.
ENDFORM. "TOP_OF_PAGE
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
FORM ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = PF_STATUS
I_CALLBACK_USER_COMMAND = USER_COMMAND
I_STRUCTURE_NAME =
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = G_SAVE
IS_VARIANT = G_VARIANT
IT_EVENTS = G_EVENTS
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_VBAP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_DISPLAY
*& Form SET_PF_STATUS
text
FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.
ENDFORM. "SET_PF_STATUS
*& Form SET_USER_COMMAND
text
FORM SET_USER_COMMAND USING R_UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN 'DC'.
READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
IF SY-SUBRC = 0.
SELECT SINGLE MTART
FROM MARA
INTO V_MTART
WHERE MATNR = IT_VBAP-MATNR.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
ELSE.
WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
WRITE :/ 'MATERIAL TYPE :' , V_MTART.
SUBMIT SLIS_DUMMY WITH P_MATNR EQ IT_VBAP-MATNR
WITH P_MTART EQ V_MTART.
ENDIF.
ENDIF.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
WHEN 'CLOSE'.
CALL TRANSACTION 'SE38'.
ENDCASE.
plz reward if useful -
What are the steps needs to be perform to define a data model
What are the steps needs to be perform to define a data model
a. Information Gathering
b. Hardware & Software
c. Structure the Information MDM
d. Transfer into a Physical Model BW data model
e. Explore use of existing model Business ContentHi Siva,
Very first activity is Proof of concept (POC), here we have to show How BW works for clients Reporting requirement during POC we as BW consultants need to creat some sample BW back end objects and also some reports based on business requirement. This is very crucial stage as Client Judge wethere BW would meet his demands. If every thing is fine then next step is Bidding.
After Bidding the contract then actual Project intiates. from here we follow ASAP methodology.
<u><b>
Project Preparation</b></u>
Here Senior Consultant would go to Client place for Business Process Transistion and to know in what way the Architectue should be set up so here Basis People will come into picture.
<u><b>Blue Print</b></u>
Transistion could be understood by BRD (Business Requirement Documents) BRD states what is exact requirement and it is given by End users.
By seeeing thr BRD's we as BW consultants must prepare APPlication Design Documents . The Application Design Documents states all the Technical aspects that needs to be performed as BW backend and also as well as Frontend.
<u><b>Realization Phase</b></u>
Here as BW consultants we must start confuguring as mentioned in ADD's by taking care of all performance aspects, once all the configuration are done we do Unit testing. unit testing is an activity where we check all the design process wether it running correct or not. After unit testing we move the design objects to Qulaity for Integration Testing.
<u><b>Testing</b></u>
Here end user will check all the objects, reports on end to end basis. after integration testing is done then UAT ( User acceptance Testing) would come into picture where user check each process and sign off.
<u><b>Go live</b></u>
Here all the object will be moved to Production where end users and power users can start working on the system. intially for some days Development team would be taking care of all support activites there after it will be transitoned to support team.
Hope It helps you.
Assign Points if it usefull
Regards
Sujan -
Help needed with CVI real time
Hi,
I am new to CVI real time and need help related to this. I will explain my scenario:
1. I have few configuration files (INI). Need to validate the files (range checking..etc) during start of the application.
2. When user clicks "START" in the user interface on the host machine, I need to generate outputs (analogs/discretes...) based on the settings in the config file and read some inputs from other instruments. ( I/O tasks like generating outputs/reading inputs i am planning to perform in RT side)
3. From the user interface, user can also change the config files. if user changes the files, again file validation needs to be performed. After changing the files, if user clicks START, need to take the newly enetered config files to perfom I/O tasks.
4. I am NOT using reflective memory for my application.
I am confused in the following area:
1. File validation during startup , do i have to perform on both host and RT side?????
2. if configuration files are changed in the host side by the user, how i have to send this latest file names to RT??? I think i should not send file names, i need to read from the file and its contents i need to pass to RT....Pls correct me , I am not sure about this....
3. If I have to send file contents to the RT, how I have to do that....means i have to use structures,..???
Please guide me. Any help would be highly appreciated.
Regards,
haari
Solved!
Go to Solution.Hey haari,
1. File validation during startup , do I have to perform on both host and RT side?????
This depends on the full range of responsibility for the INI files. If they are all needed simply to change what the I/O tasks are for, then you would technically only need to validate the INI file contents on the RT side. You could, however, validate on both sides if you wanted to. However, I would probably set it up such that I send a validation command to the target, have the target run a component of the code that validates the INI contents based on how I instructed it, and then return a message that says whether or not it met the requirements I specified. However, if you are concerned with offloading that process to the user desktop (instead weighing down the RT controller performance), you could FTP the file off of the controller and perform the validation process on the host side.
2. if configuration files are changed in the host side by the user, how i have to send this latest file names to RT??? I think i should not send file names, i need to read from the file and its contents i need to pass to RT....Pls correct me , I am not sure about this....
You can send them to the target over FTP. This can be done programmatically, through MAX, command window, or a Web browser.
3. If I have to send file contents to the RT, how I have to do that....means i have to use structures,..???
This is basically addressed in answer to question two. You would not need another structure in your RT code to handle the FTP receive component as this is handled by the FTP Client/Server communication. However, in the event that you successfully FTP a file to the target, you should likely send a message from the host to the target so that the target can respond accordingly and reload the file, reestablish the I/O values, run an idle procedure, or do whatever you like.
Hope this helps. Have a great day!
Tim A.
National Instruments -
Solaris 10 NFS performance on Linux running ws3 update 3
Hope someone can help me sort out this problem.
Dear Support.
We are having a Solaris/Sparc file server running Solaris 10. The Solaris machine act as a NFS file server. We encounter very poor NFS performance when copying files to and from a filesystem via Linux NFS
I have set up a very simple test scenario. Created a tar file, size around 3 GB. The file is sitting on a SAN system. The file it self is created on a Solaris 10 UFS filesystem.
Solaris E240 Solaris 8 NFS, GB interface copy to and from the same disk via NFS
timecp /seis/seis600_new/usr.tar /seis/seis600_new/new1.tar
real 2m18.91s
user 0m0.11s
sys 0m29.72s
IBM/AMD 64 bit Linux WS3 U5, GB interface NFS to and from the same disk via NFS.
time cp /seis/seis600_new/usr.tar /seis/seis600_new/new1.tar
real 6m24.670s
user 0m0.130s
sys 0m21.860s
Also run the test on other Linux boxes with similar results?
The funny part of this is that I can reproduce the performance problem on other SUN systems among the SUN Blade 2000 with 8 GB Ram
Let me wrap up.
Always bad NFS performance when using NFS between Solaris NFS server and Linux client.
Not always bad performance when using NFS between Solaris server and clients.It's been a while since I was doing linux->solaris nfs, so bear with me as I clear out the cobwebs.
First things to check: Mount options for the nfs mount to the server.
Which versions of nfs are you using?(v2, v3?) Solaris uses version 3 mounts by default.
What's your wsize and rsize for reads and writes?
I believe linux is limited to using 8k r/w block sizes. Solaris will let you use r/wsize up to 32k in nfsv3, which would really help with larger data transfers.
nfsv3 has a number of performance enhancements over v2, so give that a shot with a larger block size.
nfsvers=3,wsize=8192,rsize=8192,nolock,intr
Also experiment with your locking options, that might help some.
NFS has always been a fairly weak point for linux.
A few links for reference:
http://www.scd.ucar.edu/hps/TECH/LINUX/linux.html
http://nfs.sourceforge.net/
Cheers && good luck,
fptt. -
Hi,
I am inserting 1 lakh-5lakhs records into a table. Initially the insertion was very fast.But after doing 10-15 times it gradually became slow.
There are no indexes for the table.
I am doing a single commit for all the 1 lakh records. i fear it could be the reason for the slowness.
So i am planning to do batchUpdate/Commit for 10000 records.Can anyone help me, how to perform batch update...Are you using Collections (Bulk collects)? This may help in performance, although you will still probably want to look at doing a commit in 10 k increments or so. That can be controlled by the 'LIMIT' parm which is the threshold at which the BULK collection will gather and apply the DML intended at which time you would commit and then loop back for another BULK collection. The last iteration of the BULK collect will most likely have less than the LIMIT number of records and will need to be handled by a final DML and commit. (i.e. do not solely base an exit or end to the loop(s) on the LIMIT or you may loose the last collection of records (LIMIT > remaining records))
Sample copied from URL http://www.dba-oracle.com/oracle_news/2004_1_31_plsqlL_bulk_binds_FORALL.htm
CREATE OR REPLACE PROCEDURE fast_proc (p_array_size IN PLS_INTEGER DEFAULT 100)
IS
TYPE ARRAY IS TABLE OF all_objects%ROWTYPE;
l_data ARRAY;
CURSOR c IS
SELECT *
FROM all_objects;
BEGIN
OPEN c;
LOOP
FETCH c BULK COLLECT INTO l_data LIMIT p_array_size;
FORALL i IN 1..l_data.COUNT
INSERT INTO t2 VALUES l_data(i);
EXIT WHEN c%NOTFOUND;
END LOOP;
CLOSE c;
END fast_proc;
Similar functionality refined:
SQL> create or replace procedure fast_proc is
2 type TObjectTable is table of ALL_OBJECTS%ROWTYPE;
3 ObjectTable$ TObjectTable;
4 begin
5 select
6 * BULK COLLECT INTO ObjectTable$
7 from ALL_OBJECTS;
8
9 forall x in ObjectTable$.First..ObjectTable$.Last
10 insert into t1 values ObjectTable$(x) ;
11 end;
12 / -
PLZ HELP US IN IMPROVING PERFORMANCE
Hi ,
We recently installed solaris 10 (5.10) on sun sparc 64 bit machine and created oracle DB with 10.2.0.1 release .
After solaris 10 installation, our application performance has come down drastically.
The same application is running fine on solaris 9 ( 5.9 )
Old configuration
sun sparc 64 bit
solaris 9 (no patches applied )
oarcle 10.2.0.1 (no patches applied )
jboss 3.2.7
jdk 1.4
New configuration
sun sparc 64 bit
solaris 10 (no patches applied )
oarcle 10.2.0.1 (latest patches applied )
jboss 4.2.0
jdk 1.5_12
we would like to know about any known Solaris , Oracle DB patches to address this performance issue.
and also we would like to know about any incomapatability between the jboss and jdk we have used.
Any solution to bring back performance, would be of great help to us.
thanks a lot in advance.user645751 wrote:
Hi ,
We recently installed solaris 10 (5.10) on sun sparc 64 bit machine and created oracle DB with 10.2.0.1 release .
After solaris 10 installation, our application performance has come down drastically.
The same application is running fine on solaris 9 ( 5.9 )
Old configuration
sun sparc 64 bit
solaris 9 (no patches applied )
oarcle 10.2.0.1 (no patches applied )
jboss 3.2.7
jdk 1.4
New configuration
sun sparc 64 bit
solaris 10 (no patches applied )
oarcle 10.2.0.1 (latest patches applied )
jboss 4.2.0
jdk 1.5_12
we would like to know about any known Solaris , Oracle DB patches to address this performance issue.
and also we would like to know about any incomapatability between the jboss and jdk we have used.
Any solution to bring back performance, would be of great help to us.You seem to have this issue now for quite a while? See here:
PLZ HELP ME:::Degradation in performance of ORA-10G in solaris sparc
Check your AWR reports on the new database if you can spot any notable issues there, if you have the license or install/check STATSPACK reports if you can't use AWR.
You need to find out where the root cause of your problem is, and it might not be the database.
In your old thread you had posted the same configuration for both systems, except for the O/S version. Now you seem to have upgraded a lot of the components like JBOSS version or the JDK version.
oarcle 10.2.0.1 (latest patches applied )Does this mean 10.2.0.4, or what does "latest patches applied" but 10.2.0.1 as version mean?
Open an SR with Oracle and ask them if they are aware of any generic Solaris 10 issues.
In your last post you talked about "new stored procedures" so it wasn't clear if you really only changed the O/S or applied any changes to the application/database as well.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
ISCSI, AFP, SMB, and NFS performance with Mac OS X 10.5.5 clients
Been doing some performance testing with various protocols related to shared storage...
Client: iMac 24 (Intel), Mac OS X 10.5.5 w/globalSAN iSCSI Initiator version 3.3.0.43
NAS/Target: Thecus N5200 Pro w/firmware 2.00.14 (Linux-based, 5 x 500 GB SATA II, RAID 6, all volumes XFS except iSCSI which was Mac OS Extended (Journaled))
Because my NAS/target supports iSCSI, AFP, SMB, and NFS, I was able to run tests that show some interesting performance differences. Because the Thecus N5200 Pro is a closed appliance, no performance tuning could be done on the server side.
Here are the results of running the following command from the Terminal (where test is the name of the appropriately mounted volume on the NAS) on a gigabit LAN with one subnet (jumbo frames not turned on):
time dd if=/dev/zero of=/Volumes/test/testfile bs=1048576k count=4
In seconds:
iSCSI 134.267530
AFP 140.285572
SMB 159.061026
NFSv3 (w/o tuning) 477.432503
NFSv3 (w/tuning) 293.994605
Here's what I put in /etc/nfs.conf to tune the NFS performance:
nfs.client.allow_async = 1
nfs.client.mount.options = rsize=32768,wsize=32768,vers=3
Note: I tried forcing TCP as well as used an rsize and wsize that doubled what I had above. It didn't help.
I was surprised to see how close AFP performance came to iSCSI. NFS was a huge disappointment but it could have been limitations of the server settings that could not have been changed because it was an appliance. I'll be getting a Sun Ultra 64 Workstation in soon and retrying the tests (and adding NFSv4).
If you have any suggestions for performance tuning Mac OS X 10.5.5 clients with any of these protocols (beyond using jumbo frames), please share your results here. I'd be especially interested to know whether anyone has found a situation where Mac clients using NFS has an advantage.With fully functional ZFS expected in Snow Leopard Server, I thought I'd do some performance testing using a few different zpool configurations and post the results.
Client:
- iMac 24 (Intel), 2 GB of RAM, 2.3 GHz dual core
- Mac OS X 10.5.6
- globalSAN iSCSI Initiator 3.3.0.43
NAS/Target:
- Sun Ultra 24 Workstation, 8 GB of RAM, 2.2 GHz quad core
- OpenSolaris 2008.11
- 4 x 1.5 TB Seagate Barracuda SATA II in ZFS zpools (see below)
- For iSCSI test, created a 200 GB zvol shared as iSCSI target (formatted as Mac OS Extended Journaled)
Network:
- Gigabit with MTU of 1500 (performance should be better with jumbo frames).
Average of 3 tests of:
# time dd if=/dev/zero of=/Volumes/test/testfile bs=1048576k count=4
# zpool create vault raidz2 c4t1d0 c4t2d0 c4t3d0 c4t4d0
# zfs create -o shareiscsi=on -V 200g vault/iscsi
iSCSI with RAIDZ2: 148.98 seconds
# zpool create vault raidz c4t1d0 c4t2d0 c4t3d0 c4t4d0
# zfs create -o shareiscsi=on -V 200g vault/iscsi
iSCSI with RAIDZ: 123.68 seconds
# zpool create vault mirror c4t1d0 c4t2d0 mirror c4t3d0 c4t4d0
# zfs create -o shareiscsi=on -V 200g vault/iscsi
iSCSI with two mirrors: 117.57 seconds
# zpool create vault mirror c4t1d0 c4t2d0 mirror c4t3d0 c4t4d0
# zfs create -o shareiscsi=on -V 200g vault/iscsi
# zfs set compression=lzjb vault
iSCSI with two mirrors and compression: 112.99 seconds
Compared with my earlier testing against the Thecus N5200 Pro as an iSCSI target, I got roughly 16% better performance using the Sun Ultra 24 (with one less SATA II drive in the array). -
Messaging:System Error(-10)HELP NEEDED!NEED BEFORE...
Messaging: System Error(-10) [Nokia N70] URGENT HELP NEEDED! - NEEDE BEFORE WED 21ST MAY '08 - BUT HELP OTHERWISE APPRECIATED!______________________________
Hey,
I need this help before Wednesday 21st May 2008 as I am going abroad and urgently need my phone. I have had my phone for just over a year now and I have never had any problems with it up until now.... Think you can help...?
This is the scenario. My messages are saved under my nokia N70's MMC memory card and when I get a message there are a number of problems.
1) My phone does not vibrate or alert me when a message comes in. I have checked my profile settings and they are all up to volume.
2) When the messages come through they are not displayed on the main window of the phone as "1 New Message Received" but in the top corner with a little envelope icon. I know the icon normally comes up but the "1 New messge received part doesn't come up.
3)When "1 New Message Reveived" is not displayed on the main window I go into the "INBOX". When I click inbox on "Messaging" the phone displays an error saying: Messaging: System Error(-10) with a red exclamaion mark. The I can not write any messages, view sent, or drafts.
I have tried to change me message settings by going on "Messaging"> Left Click "Settings" > "Other" > "Memory in use" and selected "Phone Memory". This works but then my I looses all my previous messages.
4)My phone is also dead slow. I click menu and it takes at least five minutes to load menu.
IF YOU COULD HELP ME ON ANY OF THESE ISSUES I WOULD BE MAJORLY GREATFUL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks Soo Much,
Robert__________U said in another post u've tried all my solutions = =?
On that post its for Nokia N95 u kno? Although the problem is similar, but different phone model can lead to quite different solutions.
Are u sure u tried all my solutions?
have u tried this?:
/discussions/board/message?board.id=messaging&message.id=7926#M7926
Also format ur memory card, do not use content copier! dont install too much softwares, as ur phone model is old and doesnt have much space.
This is from NOkia, sometimes does work depending on ur situation:
Memory low
Q: What can I do if my device memory is low?
A: You can delete the following items regularly to avoid
memory getting low:
• Messages from Inbox, Drafts, and Sent folders in Messaging
• Retrieved e-mail messages from the device memory
• Saved browser pages
• Images and photos in Gallery
To delete contact information, calendar notes, call timers, call cost timers, game scores, or any other data, go to the respective application to remove the data. If you are deleting multiple items and any of the following notes are shown: Not enough memory to perform operation. Delete some data first. or Memory low. Delete some data., try deleting items one by one (starting from the smallest item).
use device status http://handheld.softpedia.com/get/Desktop-and-Shell/Windows/Nokia-Device-Status-57673.shtml
to maybe let me see what u got on ur phone (by saving/exporting report).
Make sure u have the latest firmware! Updating firmware is like a hard reset but also upgrade.
Message Edited by goldnebula on 20-May-2008 02:05 PM
Maybe you are looking for
-
I have been using a G4 Powerbook 17-inch, 1.33 Ghz connected to an NEC VT470 LCD Projector through the S-Video output (Mirroring). It had been working just fine until recently - the s-video output stopped working. The odd part of this is that if I co
-
Subtitle language displaying as 1103 (instead of Welsh) on DVD player?
Hi - I need some help... I have built a DVD with English and Welsh subtitles - but when I use the subtitle button on the remote, the options displayed are 1: English and 2: 1103. I have selected welsh as the language in the subtitle stream and have s
-
I have been asked to review a new app for Ipad/iphone . The developers site is asking me to download a plug- in to view, is this safe
-
How do I save an email attachment to iCloud
I am trying to save an email attachment to the cloud. How do I do that?
-
How to load image to midlet using SUN ONE Studio 4, ME?
Hi, everyone: I'm trying to load an image to my midlet using Sun ONE Studio. Image image = null; try image = Image.createImage("/Duke.png"); }catch (Exception ex) {} ImageItem item = new ImageItem(null,image,ImageItem.LAYOUT_CENTER,null); append(item