Performance problem running forms on a VPN
Overall performance is OK
I have one form with a performance problem on insert (Inserting 1 record takes about 1 minute)
When I run the same form in our LAN-environment, there is no performance
problem.
It's on a table with a lot of fields, among them a lot of look-up fields (but
most of them are validated on entry)
On my modem, I see a lot of switching Send-Receive (which I wouldn't expect
when inserting 1 record)
null
I guess, the amount of memory is the problem, in case of LAN, you're client's memory is being used, in case of web, your web servers memory is being used. Try to increase the memory to it which would buffer your data before accessing the modem, so your operating system would decide when to send the data and when to not to send the data, in this case, you wont see lots of flickering in your modem's switch. Hope this would trigger something in your mind to check the parameters defined in the ora.ini file and web server parameters etc etc etc
null
Similar Messages
-
Drastic problems running Forms using JavaPlugin
I'm facing some problems running my Forms application using JRE/JPI. My Forms version is 10g release 1 and JRE version is 1.4.2_13. I've upgraded my Application Server with patch to make it run smoothly with JRE. Patch ID is p4948949_9043_WINNT (patch 3). So my upgraded Forms version is 9.0.4.3.
Problems are as follows:
** There's a problem in Font, it's not appearing on application as configured. So I want to unistall the patch and restore my Forms version to previous version but I don't know how to uninstall this patch.
** Another issue which seems to be JRE related problem is I can't use mouse to select control on my Forms running application. I've to press TAB key to navigate through controls such as TEXT_ITEM. When I'm running application using JInitiator, this problem doesn't occur, I can click on any control of Forms , so I think it's JRE related problem.
Ours is a large scale application...this is why I'm in great problem now. Could someone help me resolve these issues?
Regards
RashedSun has suggested that Oracle bug 5512094 will not be included into a production release until 1.5.0_13. For reasons unknown to us, the fix will not likely make it into _12. Since we are not responsible for their releases, this information may or may not be accurate. You will need to contact Sun for the latest details regarding their releases.
In the mean time, it is recommended you continue to use the special release you were provided by Oracle Support. However, also ensure that you have installed the latest one-off patches on the server which address several focus issues. Below is a list of the latest based on which version you may be using.
Forms 9.0.4.3 > Metalink Patch ID# 5750167 (New as of Jan 24, 2007)
Forms 10.1.2.0.2 > Metalink Patch ID# 5677148
Forms 10.1.2.2 > Metalink Patch ID# 5750193
As mentioned, both Oracle and Sun are investigating several other focus issues, so these patches may not correct your issue.
The best suggestion would be to create a reproducible test case and provide it to Support. This will help Oracle to better determine if your issue is one which we are already aware of or if yours is a new issue. -
Problem running form in 9iDevSuite
Hi all
i have 8i database and 9i Dev suite installed.
I am trying to run my form from within 9iForm Builder and got error "HTTP Listener is not listening 0n 8888 port".(even though i have started OC4J)
I couldn't found even HTTP listener if it is installed.
On other machine i have 9i database with 9i Dev suite and everything is OK. Does it mean that my installation is not succeessful? I can't find even HTTP listener in Services to start it manually.
Thanks in advanceFor the Forms Builder, in iDS, you need to start the OC4J Listener. The icon is in the same group as Forms in your Start menu.
Once it's started, verify it in a browser:
http://127.0.0.1:8888
If that works, then OC4J is running. If not, then you know there is a problem.
The other thing to check is in the Forms Builder Preferences, go to the Runtime tab, and make sure that the Application Server field is set correctly.
The HTTP listener in iDS is the OC4J Listener. It is started and stopped using batch files. There is no service, like the Apache HTTP listener.
Regards,
Robin Zimmermann
Forms Product Management -
Problem running forms in Oracle 9i IAS iSuites
Hi,
I'm trying to get Forms 6 running on an Oracle 9i IAS iSuites application server. When I try to access a form via the web I get a HTTP-500 Internal Server Error. The Apache\Apache\logs\error_log file contains the following entry:
[Tue Oct 06 11:39:05 2009] [error] [client 159.207.200.55] Premature end of script headers: d:/oracle/806/tools/web60/cgi/ifcgi60.exe
I've tried fiddling around in various configuration files but without more detail about the error I'm not sure what to do. Does anyone have any advice on how to go about debugging this problem?
Thanks
AdamHi there,
installing 6i for 8i on the same box is not a problem. I find it better, on a personal pc to have them in different homes.
- create a folder called 'Oracle6i'
- when prompted for the install home - point to this new directory
once the installation is complete you will need to copy the tnsnames.ora file from the oracle database home and paste it into the corresponding directory of the oracle6i installation. -
Problems running Forms in Forms Builder 6.0.8.21.3
I have upgraded some Forms from 4.5 to 6i. I compile and run the forms in Forms Builder 6.0.8.21.3. However I have a problem when running a specific form. When I run the form directly from Forms Builder the problem do not appear.
But when I call the same form in Oracle Forms Runtime by calling the forms from the menu, the row with push buttons that I have defined do not appear.
I have faced a similar problem earlier and then I solve the problem changing the order of the Data Blocks in the Object Navigator. I have tried this, but so far it does not work. Do the order of the Data Blocks affect how the Forms will be displayed? What about the order of the Canvases? I hope someone can help me with this challenge.
I run win 2000 and do not get any runtime error messages.
Thanks in advance.
Regards
RoarRoar,
the order of blocks does only influence the navigation but not the visibility. However, if the button bar is on a canvas that doesn't show if the focus isn't in it then having teh button block on top makes sure the focus is set there. Are the push bottons on a separate canvas or are they on the same canvas as your data ? If not, then how do you ensure that the stacked canvas gets displayed ? Anyway, running the Form from teh builder uses teh same client/server runtime that is used when running your application stand alone. So it must be something within teh navigation (I am guessing).
Fran -
Performance problems running DotA 2 from Steam
~ % lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Chelsea LP [Radeon HD 7730M
~ % cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
/var/log/Xorg.0.log
Steam output
Game runs, but there are problems with:
1. Resolution — few parts of game are hidden. Xrandr says I use 1920x1080 and in game I have set the same resolution and aspect ratio to 16:9,
2. Brightness — game is too bright until I change in-game conf to anything — it fixes the problem until next time I start the game,
3. Overall performance — there are a lag though on the same machine with same in-game conf, but Windows 7, it runs smoothly;
What can I do to fix mentioned problems?
Last edited by daGrevis (2013-07-28 09:34:57)I can only speak for #3: don't expect parity performance with the GL renderer and the DX renderer in dota2 yet. They need to do a few big optimization runs for d2 on GL.
As for #1 and #2, I don't know, on NVIDIA here and have no problems like that. Perf is poor, but I do have a rather poor laptop card. -
Performance problems selecting form vbak and vbap
Hello,
I am try to select data from the vbak and vbap databasetables. The tables have more than a million of entries. I tried my best with two related selectstatements and the 'FOR All ENTRIES' syntax. The query takes more than 30 minutes. Is there a more efficient way than the following query, for example an inner join?. Tanks.
Regards, Lars.
FORM firstselect.
SELECT kvkorg kvtweg kspart kauart k~kunnr
kvsbed kaugru kvbeln kmandt
FROM VBAK AS k
INTO CORRESPONDING FIELDS OF TABLE t_outtab1
WHERE k~vkorg IN s_vkorg AND
k~vtweg IN s_vtweg AND
k~spart IN s_spart AND
k~auart IN s_auart AND
k~kunnr IN s_kunnr AND
k~vsbed IN s_vsbed AND
k~augru IN s_augru AND
k~vbeln IN s_vbeln.
ENDFORM.
FORM secondselect.
SELECT pposnr pvstel p~werks
pabgru pmatnr p~kwmeng
pzzurmeng pvrkme pmandt pvbeln
FROM VBAP AS p
INTO CORRESPONDING FIELDS OF TABLE t_outtab2
FOR ALL ENTRIES IN t_outtab1
WHERE
p~vstel IN s_vstel AND
p~werks IN s_werks AND
p~matnr IN s_matnr AND
p~abgru IN s_abgru AND
t_outtab1-mandt = p~mandt AND
p~vbeln = t_outtab1-vbeln.
ENDFORM.FORM firstselect.
SELECT vkorg
vtweg
spart
auart
kunnr
vsbed
augru
vbeln
mandt
FROM VBAK
INTO TABLE t_outtab1
WHERE vkorg IN s_vkorg AND
vtweg IN s_vtweg AND
spart IN s_spart AND
auart IN s_auart AND
kunnr IN s_kunnr AND
vsbed IN s_vsbed AND
augru IN s_augru AND
vbeln IN s_vbeln.
ENDFORM.
FORM secondselect.
SELECT posnr
vstel
werks
abgru
matnr
kwmeng
zzurmeng
vrkme
mandt
vbeln
FROM VBAP TABLE t_outtab2
FOR ALL ENTRIES IN t_outtab1
WHERE vbeln = t_outtab1-vbeln
AND vstel IN s_vstel AND
werks IN s_werks AND
matnr IN s_matnr AND
abgru IN s_abgru .
ENDFORM.
Hope this helps u.
I will get u back with more answers.
One more important thing see that the order which u r using in the select query is the same as that in the table this will affect the performs a lot.
<i><b>The first field should be the vbeln and then see the order and change that first and the same order should be in the internal table taht u r defining also.
If u do these things surely u can improve performance.</b></i>
Message was edited by: Judith Jessie Selvi -
Problem running DMVPN and IPSec VPN at the same time
I have a hub-spoke VPN network: 2 hub routers are 7206 VXR and remote routers are 2800. Each hub router has had number of point-to-point IPSec+GRE tunnels configured and running with remote sites. I'm now adding DMVPN between each hub router and a few other remote sites. The DMVPN is running fine between hub and spokes, but somehow it caused all the eixsting point-to-point IPSec tunnels drop. Here are some details:
1) Hub DMVPN config:
crypto isakmp key MYKEY address 12.12.12.12
crypto ipsec profile DMVPN
set transform-set DM
interface Tunnel1
ip address 192.168.1.1 255.255.255.0
no ip redirects
ip mtu 1400
ip nhrp map multicast dynamic
ip nhrp network-id 1
ip nhrp holdtime 600
tunnel source G0/0
tunnel mode gre multipoint
tunnel protection ipsec profile DMVPN
router eigrp 1
no passive-interface Tunnel1
2) Spoke DMVPN config:
crypto ipsec profile DMVPN
set transform-set DM
crypto isakmp key MYKEY address 14.14.14.14
interface Tunnel1
ip address 192.168.1.2 255.255.255.0
ip mtu 1400
ip nhrp map 192.168.1.1 14.14.14.14
ip nhrp map multicast 14.14.14.14
ip nhrp network-id 1
ip nhrp holdtime 600
ip nhrp nhs 192.168.1.1
tunnel source G0/0
tunnel destination 14.14.14.14
tunnel protection ipsec profile DMVPN
3) When DMVPN is up, hub router existing IPSec tunnels are shown ISAKMP failure.
Hub# show crypto isakmp sa
14.14.14.14 20.20.20.20 MM_NO_STATE 1508 0 ACTIVE (deleted)
4) After I shut down interface Tunnel1, existing IPSec tunnels are coming back. ISAKMP SA shows QM_IDLE state.
Have anyone seen similar issues between DMVPN and traditional point-to-point IPSec+GRE tunnels on the same router?
Thanks a lotI have a hub-spoke VPN network: 2 hub routers are 7206 VXR and remote routers are 2800. Each hub router has had number of point-to-point IPSec+GRE tunnels configured and running with remote sites. I'm now adding DMVPN between each hub router and a few other remote sites. The DMVPN is running fine between hub and spokes, but somehow it caused all the eixsting point-to-point IPSec tunnels drop. Here are some details:
1) Hub DMVPN config:
crypto isakmp key MYKEY address 12.12.12.12
crypto ipsec profile DMVPN
set transform-set DM
interface Tunnel1
ip address 192.168.1.1 255.255.255.0
no ip redirects
ip mtu 1400
ip nhrp map multicast dynamic
ip nhrp network-id 1
ip nhrp holdtime 600
tunnel source G0/0
tunnel mode gre multipoint
tunnel protection ipsec profile DMVPN
router eigrp 1
no passive-interface Tunnel1
2) Spoke DMVPN config:
crypto ipsec profile DMVPN
set transform-set DM
crypto isakmp key MYKEY address 14.14.14.14
interface Tunnel1
ip address 192.168.1.2 255.255.255.0
ip mtu 1400
ip nhrp map 192.168.1.1 14.14.14.14
ip nhrp map multicast 14.14.14.14
ip nhrp network-id 1
ip nhrp holdtime 600
ip nhrp nhs 192.168.1.1
tunnel source G0/0
tunnel destination 14.14.14.14
tunnel protection ipsec profile DMVPN
3) When DMVPN is up, hub router existing IPSec tunnels are shown ISAKMP failure.
Hub# show crypto isakmp sa
14.14.14.14 20.20.20.20 MM_NO_STATE 1508 0 ACTIVE (deleted)
4) After I shut down interface Tunnel1, existing IPSec tunnels are coming back. ISAKMP SA shows QM_IDLE state.
Have anyone seen similar issues between DMVPN and traditional point-to-point IPSec+GRE tunnels on the same router?
Thanks a lot -
Problem running Forms on Oracle Web Server 3.0
I have implemented Developer/2000 forms on Oracle Web Server 3.0 (Non Cartridge Implemetation). Whenever there are multiple client request for the form, Forms server raised the Dr watson error (windows NT 4.0).
Kind request to anybody who has solution for the above.Someone got the same message on a Suse 6.0. On a redhat 5.x, the
required files (libraries) are in packages
libstdc++-2.8.0-8
libstdc++-devel-2.8.0-8 (? may not be necessary)
You can get the above packages on redhat ftp and mirror sites.
Again, oracle on linux is really "RedHat-ish"!!!
Robert Xu
lin (guest) wrote:
: After I installed Oracle Web server on turbo linux,
: I started owsctl wrb, and got error message
: libstdc++s0.2.8.
: I did a find from root to search this file, but not found.
: anyone can help me.
: thanks
null -
Forms performance problem on the web, using webutil.
When starting the webutil-demoform on the Application Server,
webutils eight javabeans is loaded in 1 second.
I'm using &WebUtilLogging=Console&WebUtilLoggingDetail=Detailed for logging this.
When starting the same form from client the beans is loaded in ~30-40seconds.
Any suggestions to figure out why?Problem solved!
Don't use the IP-address in the URL, use hostname or add an entry in your hostfile on the client. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092063
Metalink
Note:402180.1 Initial Loading of Webutil Forms Are Slow
Note 356190.1 Performance Problems in Forms with Webutil 1.0.6 for Intranet Web Clients -
I finally configured and was able to start the reports server on my Solaris box. The listener is running. When I run a report, either by command line using rwrun60 or from a form using RUN_REPORT_PRODUCT, the report kicks off without error but will not finish. I have to kill the process, and no output results. I had no problems when running from NT, so I'd bet the problem is in the configuration not the report itself. Any ideas?
I'm still working this problem.
I have a printer configured, and have no problem generating report in character mode and send directly to printer.
I did have to add localhost access to Xwindows with
$ xhost +localhost
Now I have valid display value.
Unfortunately, still having the same problem. rwrun60 kicks off, but gets hung. I have no problems running forms on the this server. Any other ideas? -
Running forms 6i on a 10g database
We are encountering problems running forms 6i on a 10g database. the forms keep dropping and we get ifrun files with access_voilation c0000005 error. Has anyone encountered this problem
Some breaking news - we are planning to certify 6i against 10g - but as Frank points out - you will be required to patch up - we are targetting Patch 17.
Regards
Grant Ronald
Forms Product Management -
I running Portal version 3.0.8.9.8 on Sun Solaris and I have perfomence problem when running forms. I have created a form against emp table and it takes over one minute to open the form. When I try to run a report against the same table it only takes a second to open and execute the query.
Does anyone have solution?
nullHi all,
First, regarding 3.0.8 performance degradation, it is BUG # 1721741, the workaround:
Create 2 additional indexes:
CREATE INDEX WWA_MODULE_BINDINGS_IDX1
ON WWA_MODULE_BINDINGS$(
SUBSCRIBER_ID,
MODULE_ID,
MODULE_VERSION,
MODULE_BLOCK_ID,
MODULE_ATTR_ID)
CREATE INDEX WWA_MODULE_LOV_BINDINGS_IDX1
ON WWA_MODULE_LOV_BINDINGS$(
SUBSCRIBER_ID,
MODULE_ID,
MODULE_VERSION,
MODULE_BLOCK_ID,
MODULE_ATTR_ID)
Those indexes are missing in the standard fresh install but present if you run an upgrade from versions 3.0.6 or 3.0.7.
*****!!!!! Please note: This workaround can be applied ONLY to Portal forms version
3.0.8.9.8. Earlier versions of the Portal do not need those indexes !!!!!******
This bug is fixed in 3.0.9.
Now, 3.0.7 performance problems:
Is this normal?
No.
Is there anything that I can change to speed this up?
That's what I'm trying to figure out. Can you provide me with as much details as possible about your slow forms? Anything - form types (MD, forms on tables) any remote DB tables involved?, # of fields in the form?
Is there an index missing in the PORTAL30 schema?
No. Not in 3.0.7.
The more columns in the underlying table the longer the form takes to appear,
is this a general rule of thumb?
Yes.
Thanks,
Dmitry -
Problem running a report in forms.
Hello!
I am having a problem with running a report in a form. I have installed on my computer Oracle developer suite 10g, weblogic, oracle database 11g. Now i have a main form in witch runs froms and reports. The forms and reports had run well on oracle 6i but now i am faceing with a issue, the forms are running but the reports do not. In oracle 6i the reports did run with run_product, now with REPORT_OBJECT. I don't understand what structure could i use. Do i have to install Application server ???? PLS explain what do i have to do, all the configuration necessery, other ipoduct installation if needed. thanks!!!!!
This is the main form that runs other forms and reports:
DECLARE
nod varchar2(50);
htree ITEM;
lis paramlist;
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(100);
BEGIN
nod:=ftree.get_tree_node_property('COP1',ftree.get_tree_selection('COP1',1),ftree.node_value);
htree := Find_Item('FRONT.COP1');
Ftree.Set_Tree_Selection(HTREE, :SYSTEM.TRIGGER_NODE, Ftree.SELECT_ON);
--lis:=create_parameter_list('LISTA');
:GLOBAL.PROJECT_PATH:= 'D:\Diploma\Last_version\rap\';
-- forme
if lower(nod) = 'intretinere clienti' then
open_form('D:\Diploma\Last_version\INTRETINERE_CLIENTI',ACTIVATE, SESSION);
ELSIF LOWER(nod) = 'produse clienti' then
--add_parameter(lis,'USERU',TEXT_PARAMETER,:PAROLA.USERU);
open_form('D:\Diploma\Last_version\PROD_CL_inch',ACTIVATE, NO_SESSION,lis);
-- rapoarte
elsif upper(nod)='CLIENT' then begin
run_product(REPORTS,'D:\Diploma\Last_version\rap\CLIENT',SYNCHRONOUS,RUNTIME,FILESYSTEM,'',NULL);
--v_rep := RUN_REPORT_OBJECT('D:\Diploma\Last_version\rap\CLIENT');
end;
elsif upper(nod)='PRODUSE BANCARE DESCHISE IN PERIOADA' then begin
run_product(REPORTS,'D:\Diploma\Last_version\rap\PRODUSE_PERIOADA',SYNCHRONOUS,RUNTIME,FILESYSTEM,'',NULL);
--repid := find_report_object('PRODUSE_PERIOADA');
--SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE, SYNCHRONOUS);
--SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
--rep_status := REPORT_OBJECT_STATUS(repid);
-- v_rep := RUN_REPORT_OBJECT('D:\Diploma\Last_version\rap\PRODUSE_PERIOADA');
--v_rep := RUN_REPORT_OBJECT(repid);
end;
elsif upper(nod)='DEPOZITE SCADENTE IN PERIOADA' then
run_product(REPORTS,'D:\Diploma\Last_version\rap\DEPOZITE_SCAD',SYNCHRONOUS,RUNTIME,FILESYSTEM,'',null);
-- nomenclatoare
elsif upper(nod)='TIPURI PRODUSE' then
open_form('D:\Diploma\Last_version\nom_prod',activate, NO_SESSION);
elsif upper(nod)='TIPURI DOBANZI' then
open_form('D:\Diploma\Last_version\nom_dob',activate, NO_SESSION);
-- operatiuni
elsif upper(nod)='DEPUNERE NUMERAR' then
lis:=create_parameter_list('LISTA');
add_parameter(lis,'STARE',TEXT_PARAMETER,'D');
open_form('D:\Diploma\Last_version\depunere_numerar',activate, NO_SESSION,lis);
elsif upper(nod)='ELIBERARE NUMERAR' then
lis:=create_parameter_list('LISTA');
add_parameter(lis,'STARE',TEXT_PARAMETER,'E');
open_form('D:\Diploma\Last_version\depunere_numerar',activate, NO_SESSION,lis);
elsif upper(nod)='TRANSFER' then
open_form('D:\Diploma\Last_version\TRANSFER',activate, NO_SESSION);
elsif upper(nod)='SIMULARE DEPOZIT' then
open_form('D:\Diploma\Last_version\SIMULARE_DEPOZIT',activate, NO_SESSION);
elsif upper(nod)='RAMBURSARE CREDIT' then
open_form('D:\Diploma\Last_version\RAMBURSARE_CREDIT',activate, NO_SESSION);
elsif upper(nod)='RAMBURSARE RATA' then
open_form('D:\Diploma\Last_version\RAMBURSARE_RATA',activate, NO_SESSION);
elsif upper(nod)='TRECERE LA RESTANTA' then
open_form('D:\Diploma\Last_version\RESTANTA_CREDIT',activate, NO_SESSION);
elsif upper(nod)='TRAGERE CREDIT' then
open_form('D:\Diploma\Last_version\TRAGERE_CREDIT',activate, NO_SESSION);
/*elsif upper(nod)='TRAGERE CREDIT' then
open_form('D:\Diploma\Last_version\TRAGERE_CREDIT',activate, NO_SESSION);*/
end if;
--destroy_parameter_list(lis);
END;Ok, so I have installed on my computer Oracle developer suite 10g, weblogic, oracle database 11g just like i said in the previous post. If i installed weblogic and i can run forms it means that i have the weblogic server running, no? If not what do i have to install for it to run ? I did what you said about the reports path, but just to be clear , i put it in environment variables REPORT_PATH='D:\diploma\Last_version\Rap'. I don't know where to put it in fromsweb.cfg ! Now about the main from, it looks like this :
DECLARE
nod varchar2(50);
htree ITEM;
lis paramlist;
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(100);
report_job_id VARCHAR2(100);
BEGIN
nod:=ftree.get_tree_node_property('COP1',ftree.get_tree_selection('COP1',1),ftree.node_value);
htree := Find_Item('FRONT.COP1');
Ftree.Set_Tree_Selection(HTREE, :SYSTEM.TRIGGER_NODE, Ftree.SELECT_ON);
--lis:=create_parameter_list('LISTA');
--:GLOBAL.PROJECT_PATH:= 'D:\Diploma\Last_version\rap\';
-- forme
if lower(nod) = 'intretinere clienti' then
open_form('D:\Diploma\Last_version\INTRETINERE_CLIENTI',ACTIVATE, SESSION);
ELSIF LOWER(nod) = 'produse clienti' then
--add_parameter(lis,'USERU',TEXT_PARAMETER,:PAROLA.USERU);
open_form('D:\Diploma\Last_version\PROD_CL_inch',ACTIVATE, NO_SESSION,lis);
-- rapoarte
* elsif upper(nod)='CLIENT' then begin *
* v_rep := RUN_REPORT_OBJECT('CLIENT');*
* report_job_id := RUN_REPORT_OBJECT(repid);*
* end;*
* elsif upper(nod)='PRODUSE BANCARE DESCHISE IN PERIOADA' then begin*
* repid := find_report_object('PRODUSE_PERIOADA');*
* report_job_id := RUN_REPORT_OBJECT(repid);*
* end;*
* elsif upper(nod)='DEPOZITE SCADENTE IN PERIOADA' then *
* repid := find_report_object('DEPOZITE_SCAD');*
* report_job_id := RUN_REPORT_OBJECT(repid);*
-- nomenclatoare
elsif upper(nod)='TIPURI PRODUSE' then
open_form('D:\Diploma\Last_version\nom_prod',activate, NO_SESSION);
elsif upper(nod)='TIPURI DOBANZI' then
open_form('D:\Diploma\Last_version\nom_dob',activate, NO_SESSION);
-- operatiuni
elsif upper(nod)='DEPUNERE NUMERAR' then
lis:=create_parameter_list('LISTA');
add_parameter(lis,'STARE',TEXT_PARAMETER,'D');
open_form('D:\Diploma\Last_version\depunere_numerar',activate, NO_SESSION,lis);
elsif upper(nod)='ELIBERARE NUMERAR' then
lis:=create_parameter_list('LISTA');
add_parameter(lis,'STARE',TEXT_PARAMETER,'E');
open_form('D:\Diploma\Last_version\depunere_numerar',activate, NO_SESSION,lis);
elsif upper(nod)='TRANSFER' then
open_form('D:\Diploma\Last_version\TRANSFER',activate, NO_SESSION);
elsif upper(nod)='SIMULARE DEPOZIT' then
open_form('D:\Diploma\Last_version\SIMULARE_DEPOZIT',activate, NO_SESSION);
elsif upper(nod)='RAMBURSARE CREDIT' then
open_form('D:\Diploma\Last_version\RAMBURSARE_CREDIT',activate, NO_SESSION);
elsif upper(nod)='RAMBURSARE RATA' then
open_form('D:\Diploma\Last_version\RAMBURSARE_RATA',activate, NO_SESSION);
elsif upper(nod)='TRECERE LA RESTANTA' then
open_form('D:\Diploma\Last_version\RESTANTA_CREDIT',activate, NO_SESSION);
elsif upper(nod)='TRAGERE CREDIT' then
open_form('D:\Diploma\Last_version\TRAGERE_CREDIT',activate, NO_SESSION);
/*elsif upper(nod)='TRAGERE CREDIT' then
open_form('D:\Diploma\Last_version\TRAGERE_CREDIT',activate, NO_SESSION);*/
end if;
--destroy_parameter_list(lis);
END;
Thanks, hope u can guide me :). -
Performance problems when running PostgreSQL on ZFS and tomcat
Hi all,
I need help with some analysis and problem solution related to the below case.
The long story:
I'm running into some massive performance problems on two 8-way HP ProLiant DL385 G5 severs with 14 GB ram and a ZFS storage pool in raidz configuration. The servers are running Solaris 10 x86 10/09.
The configuration between the two is pretty much the same and the problem therefore seems generic for the setup.
Within a non-global zone Im running a tomcat application (an institutional repository) connecting via localhost to a Postgresql database (the OS provided version). The processor load is typically not very high as seen below:
NPROC USERNAME SWAP RSS MEMORY TIME CPU
49 postgres 749M 669M 4,7% 7:14:38 13%
1 jboss 2519M 2536M 18% 50:36:40 5,9%We are not 100% sure why we run into performance problems, but when it happens we experience that the application slows down and swaps out (according to below). When it settles everything seems to turn back to normal. When the problem is acute the application is totally unresponsive.
NPROC USERNAME SWAP RSS MEMORY TIME CPU
1 jboss 3104M 913M 6,4% 0:22:48 0,1%
#sar -g 5 5
SunOS vbn-back 5.10 Generic_142901-03 i86pc 05/28/2010
07:49:08 pgout/s ppgout/s pgfree/s pgscan/s %ufs_ipf
07:49:13 27.67 316.01 318.58 14854.15 0.00
07:49:18 61.58 664.75 668.51 43377.43 0.00
07:49:23 122.02 1214.09 1222.22 32618.65 0.00
07:49:28 121.19 1052.28 1065.94 5000.59 0.00
07:49:33 54.37 572.82 583.33 2553.77 0.00
Average 77.34 763.71 771.43 19680.67 0.00Making more memory available to tomcat seemed to worsen the problem or at least didnt prove to have any positive effect.
My suspicion is currently focused on PostgreSQL. Turning off fsync boosted performance and made the problem less often to appear.
An unofficial performance evaluation on the database with vacuum analyze took 19 minutes on the server and only 1 minute on a desktop pc. This is horrific when taking the hardware into consideration.
The short story:
Im trying different steps but running out of ideas. Weve read that the database block size and file system block size should match. PostgreSQL is 8 Kb and ZFS is 128 Kb. I didnt find much information on the matter so if any can help please recommend how to make this change
Any other recommendations and ideas we could follow? We know from other installations that the above setup runs without a single problem on Linux on much smaller hardware without specific tuning. What makes Solaris in this configuration so darn slow?
Any help appreciated and I will try to provide additional information on request if needed
Thanks in advance,
Kasperraidz isnt a good match for databases. Databases tend to require good write performance for which mirroring works better.
Adding a pair of SSD's as a ZIL would probably also help, but chances are its not an option for you..
You can change the record size by "zfs set recordsize=8k <dataset>"
It will only take effect for newly written data. Not existing data.
Maybe you are looking for
-
Pages not displaying correctly in IE8 on Windows 7
This site (http://www.pandakotadiveservices.ca) looks fine on IE8 in Windows XP and Windows Vista, but in Windows 7 the photo is missing from the home page, and all other pages show column positioning problems to the extreme! The left column is cove
-
How can I open iTunes after recent update 01/25/2014
After installing the recent update for iTunes, I can't open iTunes. Tried to uninstall/reinstais missing, with same results. I have received several error messages: MSVCR80.dill is missing. Please re-install, error 7 Windows error (126). When wi
-
APG advises iTunesSetup.exe for latest version of Itunes contains virus
I have tried to upgrade my itunes for Windows onto my Windows Vista laptop, however everytime I try to upgrade it either comes up with errors, or in this last instance for iTunes 10.5, it stated that I was missing a .dll. (Sorry didn't write down whi
-
Problems doing an active Database duplication through RMAN
Hi, I'm trying to do active Database duplication through RMAN (http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#). My OS is Sun Solaris 5 Oracle version: 11gR1 Database on a 11gR2 Grid. I'm receiving the error RMAN> connect auxiliar
-
Android device synching with iCloud Cal, Contacts & To-Do's?
NOTE: I am also looking on Android-specific websites/forums for answers, but there must be thousands of Mac users who are also Android users, and who have had similar questions. I have an iMac, iPad(3), and iPhone G3. The iMac and iPad are synched vi