PHP Oracle connection randomly slow
Hello,
I have a very strange problem concerning the connection to a oracle database with php. Sometimes the same SQL-Statement takes a very long time to load for no obvious reason (more than 5 minutes). But if you try it later it pops up at once. During the waiting time Toad is just showing "SQL*Net message from client" for the session.
Here the code:
$db = "<connection string>";
$c = oci_connect("user", "pwd", $db);
$s = ociparse($c, "select content from database WHERE CATEGORY = '$category'");
if(ociexecute($s)) {
while (ocifetch($s))
echo ociresult($s, "CONTENT");
Maybe I should also mention that I'm using a page with frames with a navigation bar on the left which loads the code in the frame on the right with the variable $category. We are using Oracle9i Release 9.0.1 .
I would really appreciate any help.
Perceived slowness is something that is dealt with by using process called "tuning". Tuning process requires an extensive knowledge because it should go from end to end, starting with the application. There may be an issue with your application, database, operating system, middle tier or network and one has to know all of the above to be able to tune the application properly. It's always the application one tunes, because it's the application that makes the end users unhappy. In your posts, there is not enough information to even begin thinking about tuning, so I will outline the tuning process for you. One always begins the tuning process by blaming the network and by letting the network engineers use sniffer and dig out the slow component. Typical response from the network people is "network is OK but the server XXX is slow with responses
and that's what causing the timeouts"). Now you know where the problem is so you can concentrate on a single server and figure out what the problem is. Whatever the problem is, it is usually solved by improving the cache hit ratio by increasing the SGA. Network engineers are
used to that and they do not mind, but if you want to be mr. nice guy, you can go directly to your boss and ask him for more memory. That is so called modified method C, by Cary Millsap. That is why it's called "method C".
Similar Messages
-
Php, oracle connectivity.
Hello All,
I have a webserver that has php4,apache1.3 and oci8 instant client installed, and have a seperate oracle 10g db server, the php-oracle connectivity is fine when i run php code from db server but it gives me connectivity error when it runs from web server, error " ocifreestatement(): supplied argument is not a valid OCI8-Statement resource in /apache/htdocs/.....php on line..." while even when i made telnet to my db server 1521 port from web server it shows that listener is working, any idea ? thanksHello,
My developers have changed all the API´s to OCI8 and the code is able to connect with oracle 10g with php4 but, i am still getting this warning .i.e
Warning: ocifreestatement(): supplied argument is not a valid OCI8-Statement resource in /apache/htdocs/English/tender_list.php on line 340
i am unable to figure it out, every thing is working fine but still i am getting it ?
thanks -
PHP & ORACLE Connectivity on Solaris
Hi all,
You can check this site for PHP and Oracle connection tutorial. It is intended to installing Apache and PHP with Oracle support and connecting and using Oracle via PHP.
Page URL :
http://gokmen.selcuk.edu.tr/tutor/orasol/ociphp.php
Additionally, You will see an alternative way escaping from ORA-12154 and ORA-12545 errors while Oracle connection via PHP.
Hope you find useful...
Mustafa GOKMENHello,
My developers have changed all the API´s to OCI8 and the code is able to connect with oracle 10g with php4 but, i am still getting this warning .i.e
Warning: ocifreestatement(): supplied argument is not a valid OCI8-Statement resource in /apache/htdocs/English/tender_list.php on line 340
i am unable to figure it out, every thing is working fine but still i am getting it ?
thanks -
dear friends...
i connected oracle with jdk1.5
while connecting i give IP address... its very slow. instead of this i gave ' localhost' its very fast....
how can i connect thro network......(because oracle & tomcat server are in different machine)
is there any problem in driver or my connection................
i used thin driver for connection..........
please tell your suggestion
thanksHi,
I would consider the network as the bottleneck
Frank -
Oracle connection extremely slow(Oracle 11G on Linux RHEL4)
Hi guru,
In my production database connection suddenly starts taking significant time like 10-15 seconds.
even I try to connect from same machine by using following command :
sqlplus system/impetus@DB
it is taking more then 10 seconds every time
whereas if I use follwing command :
sqlplus system/impetus
connection is instant (taking only few milliseconds)
We also used tnsping which is also instant ...
any clueThe problem is of course the DNS entry (as indicated in one of the responses above) configured either at OS installation or later. Whatever the case, it is of primary improtance. On the other hand, one might have to prepare Oracle totally disconnected from the network (which is what I prefer, anyway). This is what I usually make sure off before proceeding and I also get a static IP from my administrator first (although not a must):
Example
eth0 interface (static):
IP : 192.168.1.101
SM : 255.255.255.0
GW: 192.168.1.101
DNS: 192.168.1.101
/etc/hosts :
127.0.0.1 localhost
192.168.1.101 myhost.acme.com myhost (replace myhost with your actual server hostname)
The above entires are a minimum for a succesful Oracle DB installation. Assuming you have completed the installation and have a created a database, you will find all connections working "normally" and the way it should.
Finally, (after I'm satisfied alls well), I get my network administrator to give me the correct entries for GW, DNS and make the necessary substitutions in the lan interface and /etc/hosts. Or have the administrator do it for you.
Hope this helps. -
PHP- Oracle not working- Call to undefined function OCILogon() ERROR
Hi,
I am trying to just do a test program to test php - oracle connection,
My versions are: php5.2.1-Win32 and Oracle 10g
I have made the following settings:
1.) Uncommented the following lines in php.ini:
extension=php_oci8.dll
extension=php_oracle.dll
2.) Set extension_dir = "C:\php-5.2.1-Win32\ext"
Changed the httpd.conf file as: ADDED
1.)LoadModule php5_module C:/php-5.2.1-Win32/php5apache2.dll
2.)PHPIniDir "C:/Program Files/Apache Group/Apache2/conf-"
3.) LoadFile "C:/php/php5ts.dll"
4.)<IfModule php5_module>
<Location />
AddType text/html .php .phps
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
</Location>
</IfModule>
5.) AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
But when I am tryin to run the following program:
<?php
echo "<h1>OCI Test</h1>\n";
$conn=OCILogon("system", "sheetal16", "orcl");
$stmt = OCIParse($conn, "SELECT table_name FROM user_tables ORDER BY table_name");
OCIExecute($stmt, OCI_DEFAULT);
while (OCIFetch($stmt)) {
$table_name = OCIResult($stmt, "TABLE_NAME");
echo "$table_name<br />\n";
OCIFreeStatement($stmt);
OCILogoff($conn);
?>
I am getting the following error:
OCI Test
Fatal error: Call to undefined function OCILogon() in C:\Program Files\Apache Group\Apache2\htdocs\test2.php on line 3
Please help me to solve this problem.
Thanks,
SheetalSee Re: PHP- Oracle not working- Call to undefined function OCILogon() ERROR
-
Using php to connect to Oracle Database 11g Release 2 Enterprise Edition EE
Greetings everyone!
Please i dont know how to connect to Oracle Database 11g Release 2 Enterprise Edition with php even though i connected with php successfully with Oracle Database 11g Express Edition with the php code below. can someone help please...Note im referring to oracle EE not XE.
define('ORA_CON_UN', 'hr'); // User name
define('ORA_CON_PW', 'Adlibs14$'); // Password
define('ORA_CON_DB', '//localhost/EE'); // Connection identifier
// use constants defined in anyco_cn.inc
$conn = oci_pconnect(ORA_CON_UN, ORA_CON_PW, ORA_CON_DB);
if (!$conn) {
db_error(null, __FILE__, __LINE__);
Edited by: user11273096 on Jul 15, 2011 12:03 AMFind the hostname and service name of the database and use those values in the ORA_CON_DB constant.
Use 'lsnrctl status' on the database host to find the service name.
If you use a "tns" alias, you may need to create a tnsnames.ora file where PHP can access it.
Set the environment variable TNS_ADMIN (on Linux) to the directory containing the file.
See the section "Oracle Database Name Connection Identifiers" p 102 of the free book
http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html -
Re: PHP and Oracle Connection
Are any specific links that will give me all knowledge regarding php and oracle connection? I am a new babie in this please help me out.
Hi,
I'm looking for specialists in PHP, Ajax and Oracle BPEL...
Pages are: Praxisbörse und Jobs für Arzt und Zahnarzt http://www.praxis-welt.de für Praxisangebote und Jobangebote für Ärzte
sowie auf http://www.berlin-umzug.net für Umzugsunternehmen aus Berlin für Umzüge, Klaviertransport und Tresortransport in Berlin.
Any ideas / information / knowhow?
Regards,
Mic -
Oracle BI saw server is loosing his connection randomly
Hi all,
For an unknown reason the Oracle BI saw server is loosing his connection randomly (on all the BI Servers) and we have to run this script ./run-saw.sh again to solve the issue. Any idea why? :
Snapshot from the /mnt/preproduccion/oracle/oraclebi/OracleBIData/web/log/javahost.out.log logfile :
Sep 16, 2009 11:20:21 AM MessageProcessorImpl processMessage
WARNING: Unexpected exception. Connection will be closed
java.io.EOFException
at com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocol.readInt(SAWProtocol.java:167)
at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:133)
at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:205)
at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:153)
at java.lang.Thread.run(Thread.java:619)
Thanks for your help on this!
Regards,
JordiIn the meantime I removed all the logs and wait till we have the issue again..
I was able now to get the results of the ps commands, as you will notice...all the servers are up and we are able to use FTI without errormessages so far....Will come back with logfile results if we have the issue again :
[oracle@LES000930122 setup]$ ps -efx|grep javahost
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
22869 pts/1 S+ 0:00 \_ grep javahost HOSTNAME=LES000930122 ANA_WEB_DIR=/mnt/desarrollo/oracle/oraclebi/web/bin TERM=xterm SHELL=/bin/bash HISTSIZE=1000 TMPDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp NLS_LANG=American_America.UTF8 SSH_CLIENT=10.254.210.121 1445 22 PYTHONUNBUFFERED=1 OLDPWD=/mnt/desarrollo/oracle/oraclebi SSH_TTY=/dev/pts/1 USER=oracle LD_LIBRARY_PATH=/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin:/mnt/desarrollo/oracle/oraclebi/odbc/lib:/usr/lib:/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib32:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/jdbc/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: GLOG_HOME=/opt/otm KDEDIR=/usr SA_ROOTDIR=/mnt/desarrollo/oracle/oraclebi UNIXPERFDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp TNS_ADMIN=/mnt/desarrollo/oracle/product/9.2.0/client_1/network/admin MAIL=/var/spool/mail/oracle PATH=/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin:/mnt/desarrollo/oracle/product/9.2.0/client_1/bin:/opt/otm/jdk/bin:/opt/otm/python/bin:/mnt/desarrollo/oracle/product/10.2.0/client_1/bin:/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin:/home/oracle/bin:/mnt/desarrollo/oracle/product/10.2.0/client_1/bin:/home/oracle/bin:/mnt/desarrollo/oracle/product/9.2.0/client_1/bin ANA_BIN_DIR=/mnt/desarrollo/oracle/oraclebi/server/Bin INPUTRC=/etc/inputrc PWD=/mnt/desarrollo/oracle/oraclebi/setup JAVA_HOME=/opt/otm/jdk LANG=en_US.UTF-8 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SADATADIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData SHLVL=1 HOME=/home/oracle ODBCINI=/mnt/desarrollo/oracle/oraclebi/setup/odbc.ini PYTHONPATH=/opt/otm/python/lib/python2.4:/opt/otm/python/lib/python2.4/site-packages:/opt/otm/python/lib/python2.4/site-packages/_xmlplus:/opt/otm/utils/integration/python LOGNAME=oracle CLASSPATH=/opt/otm/glog/glog_resources:/opt/otm/glog/config:/opt/otm/glog/gc3webapp/WEB-INF/classes:/opt/otm/glog/gc3webapp/WEB-INF/lib/glogserver.jar:/opt/otm/glog/gc3webapp/WEB-INF/lib/3rdparty/WaitForServer.zip:/mnt/desarrollo/oracle/product/10.2.0/client_1/jdbc/lib/classes12.jar:/opt/otm/oas/j2ee/home/lib/ejb.jar:/opt/otm/oas/j2ee/home/lib/jta.jar SSH_CONNECTION=10.254.210.121 1445 10.136.47.220 22 SATEMPDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp LESSOPEN=|/usr/bin/lesspipe.sh %s PYTHON_HOME=/opt/otm/python ORACLE_HOME=/mnt/desarrollo/oracle/product/9.2.0/client_1 SAROOTDIR=/mnt/desarrollo/oracle/oraclebi G_BROKEN_FILENAMES=1 _=/bin/grep
22634 pts/1 Sl 0:15 /mnt/desarrollo/oracle/oraclebi/jdk/bin/java -server -classpath /mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/sautils.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/sawconnect.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/javahost.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/xalan-2.4.1.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/xercesImpl-2.6.2.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/xml-apis-2.6.2.jar -Xms128M -Xmx256M -Djava.awt.headless=true -Djava.util.logging.config.file=/mnt/desarrollo/oracle/oraclebi/web/javahost/config/logconfig.txt -Doracle.bi.presentation.coreconfigdir=/mnt/desarrollo/oracle/oraclebi/web/config -Doracle.bi.presentation.dataconfigdir=/mnt/desarrollo/oracle/oraclebi/OracleBIData/web/config -Doracle.bi.rootdir=/mnt/desarrollo/oracle/oraclebi -Doracle.bi.presentation.rootdir=/mnt/desarrollo/oracle/oraclebi/web -Doracle.bi.tempdir=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp -Doracle.bi.javahostdir=/mnt/desarrollo/oracle/oraclebi/web/javahost -Doracle.bi.presentation.cordaroot=/mnt/desarrollo/oracle/oraclebi/corda50 com.siebel.analytics.javahost.standalone.Main /Config /mnt/desarrollo/oracle/oraclebi/web/javahost/config/config.xml SAWCLASSPATH=/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/sautils.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/sawconnect.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/javahost.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/xalan-2.4.1.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/xercesImpl-2.6.2.jar:/mnt/desarrollo/oracle/oraclebi/web/javahost/lib/core/xml-apis-2.6.2.jar HOSTNAME=LES000930122 ANA_WEB_DIR=/mnt/desarrollo/oracle/oraclebi/web/bin TERM=xterm SHELL=/bin/bash HISTSIZE=1000 TMPDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp NLS_LANG=American_America.UTF8 SSH_CLIENT=10.254.210.121 1445 22 PYTHONUNBUFFERED=1 SSH_TTY=/dev/pts/1 USER=oracle LD_LIBRARY_PATH=/mnt/desarrollo/oracle/oraclebi/jdk/jre/lib/i386/jrockit:/mnt/desarrollo/oracle/oraclebi/jdk/jre/lib/i386:/mnt/desarrollo/oracle/oraclebi/jdk/jre/../lib/i386:/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin:/mnt/desarrollo/oracle/oraclebi/odbc/lib:/usr/lib:/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib32:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/jdbc/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: SawJavaHostDir=/mnt/desarrollo/oracle/oraclebi/web/javahost GLOG_HOME=/opt/otm KDEDIR=/usr SA_ROOTDIR=/mnt/desarrollo/oracle/oraclebi UNIXPERFDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp TNS_ADMIN=/mnt/desarrollo/oracle/product/9.2.0/client_1/network/admin MAIL=/var/spool/mail/oracle PATH=/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin:/mnt/desarrollo/oracle/product/9.2.0/client_1/bin:/opt/otm/jdk/bin:/opt/otm/python/bin:/mnt/desarrollo/oracle/product/10.2.0/client_1/bin:/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin:/home/oracle/bin:/mnt/desarrollo/oracle/product/10.2.0/client_1/bin:/home/oracle/bin:/mnt/desarrollo/oracle/product/9.2.0/client_1/bin JAVA_DEBUG_OPTIONS= ANA_BIN_DIR=/mnt/desarrollo/oracle/oraclebi/server/Bin INPUTRC=/etc/inputrc PWD=/mnt/desarrollo/oracle/oraclebi/web/javahost/bin JAVA_HOME=/mnt/desarrollo/oracle/oraclebi/jdk LANG=en_US.UTF-8 SAWROOTDIR=/mnt/desarrollo/oracle/oraclebi/web SASRVTUNESCRIPT=/mnt/desarrollo/oracle/oraclebi/setup/systunesrv.sh SASAWSERVER=/mnt/desarrollo/oracle/oraclebi/web/bin/sawserver SASYSINITSCRIPT=/mnt/desarrollo/oracle/oraclebi/setup/sysenvinit.sh ANA_VARIANT=Linux SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SASBINDIR=/mnt/desarrollo/oracle/oraclebi/server/Bin SADATADIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData SHLVL=3 HOME=/home/oracle SawCoreConfigDir=/mnt/desarrollo/oracle/oraclebi/web/config ODBCINI=/mnt/desarrollo/oracle/oraclebi/setup/odbc.ini SAWBINDIR=/mnt/desarrollo/oracle/oraclebi/web/bin PYTHONPATH=/opt/otm/python/lib/python2.4:/opt/otm/python/lib/python2.4/site-packages:/opt/otm/python/lib/python2.4/site-packages/_xmlplus:/opt/otm/utils/integration/python LOGNAME=oracle CLASSPATH=/opt/otm/glog/glog_resources:/opt/otm/glog/config:/opt/otm/glog/gc3webapp/WEB-INF/classes:/opt/otm/glog/gc3webapp/WEB-INF/lib/glogserver.jar:/opt/otm/glog/gc3webapp/WEB-INF/lib/3rdparty/WaitForServer.zip:/mnt/desarrollo/oracle/product/10.2.0/client_1/jdbc/lib/classes12.jar:/opt/otm/oas/j2ee/home/lib/ejb.jar:/opt/otm/oas/j2ee/home/lib/jta.jar SSH_CONNECTION=10.254.210.121 1445 10.136.47.220 22 ANA_INSTALL_DIR=/mnt/desarrollo/oracle/oraclebi SATEMPDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp LESSOPEN=|/usr/bin/lesspipe.sh %s CordaInstallDir=/mnt/desarrollo/oracle/oraclebi/corda50 SawDataConfigDir=/mnt/desarrollo/oracle/oraclebi/OracleBIData/web/config PYTHON_HOME=/opt/otm/python ORACLE_HOME=/mnt/desarrollo/oracle/product/9.2.0/client_1 SAROOTDIR=/mnt/desarrollo/oracle/oraclebi G_BROKEN_FILENAMES=1 _=/mnt/desarrollo/oracle/oraclebi/jdk/bin/java
22607 pts/1 S 0:00 /bin/sh /mnt/desarrollo/oracle/oraclebi/setup/sawserver.sh HOSTNAME=LES000930122 ANA_WEB_DIR=/mnt/desarrollo/oracle/oraclebi/web/bin SHELL=/bin/bash TERM=xterm HISTSIZE=1000 SSH_CLIENT=10.254.210.121 1445 22 NLS_LANG=American_America.UTF8 TMPDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp PYTHONUNBUFFERED=1 SSH_TTY=/dev/pts/1 USER=oracle SawJavaHostDir=/mnt/desarrollo/oracle/oraclebi/web/javahost LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: LD_LIBRARY_PATH=/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin:/mnt/desarrollo/oracle/oraclebi/odbc/lib:/usr/lib:/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib32:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/jdbc/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib KDEDIR=/usr GLOG_HOME=/opt/otm UNIXPERFDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp SA_ROOTDIR=/mnt/desarrollo/oracle/oraclebi PATH=/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin:/mnt/desarrollo/oracle/product/9.2.0/client_1/bin:/opt/otm/jdk/bin:/opt/otm/python/bin:/mnt/desarrollo/oracle/product/10.2.0/client_1/bin:/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin:/home/oracle/bin:/mnt/desarrollo/oracle/product/10.2.0/client_1/bin:/home/oracle/bin:/mnt/desarrollo/oracle/product/9.2.0/client_1/bin MAIL=/var/spool/mail/oracle TNS_ADMIN=/mnt/desarrollo/oracle/product/9.2.0/client_1/network/admin ANA_BIN_DIR=/mnt/desarrollo/oracle/oraclebi/server/Bin PWD=/mnt/desarrollo/oracle/oraclebi/server/Log INPUTRC=/etc/inputrc JAVA_HOME=/mnt/desarrollo/oracle/oraclebi/jdk SASRVTUNESCRIPT=/mnt/desarrollo/oracle/oraclebi/setup/systunesrv.sh SAWROOTDIR=/mnt/desarrollo/oracle/oraclebi/web LANG=en_US.UTF-8 SASAWSERVER=/mnt/desarrollo/oracle/oraclebi/web/bin/sawserver ANA_VARIANT=Linux SASYSINITSCRIPT=/mnt/desarrollo/oracle/oraclebi/setup/sysenvinit.sh SASBINDIR=/mnt/desarrollo/oracle/oraclebi/server/Bin SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SawCoreConfigDir=/mnt/desarrollo/oracle/oraclebi/web/config HOME=/home/oracle SHLVL=2 SADATADIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData ODBCINI=/mnt/desarrollo/oracle/oraclebi/setup/odbc.ini SAWBINDIR=/mnt/desarrollo/oracle/oraclebi/web/bin LOGNAME=oracle PYTHONPATH=/opt/otm/python/lib/python2.4:/opt/otm/python/lib/python2.4/site-packages:/opt/otm/python/lib/python2.4/site-packages/_xmlplus:/opt/otm/utils/integration/python SSH_CONNECTION=10.254.210.121 1445 10.136.47.220 22 CLASSPATH=/opt/otm/glog/glog_resources:/opt/otm/glog/config:/opt/otm/glog/gc3webapp/WEB-INF/classes:/opt/otm/glog/gc3webapp/WEB-INF/lib/glogserver.jar:/opt/otm/glog/gc3webapp/WEB-INF/lib/3rdparty/WaitForServer.zip:/mnt/desarrollo/oracle/product/10.2.0/client_1/jdbc/lib/classes12.jar:/opt/otm/oas/j2ee/home/lib/ejb.jar:/opt/otm/oas/j2ee/home/lib/jta.jar ANA_INSTALL_DIR=/mnt/desarrollo/oracle/oraclebi CordaInstallDir=/mnt/desarrollo/oracle/oraclebi/corda50 LESSOPEN=|/usr/bin/lesspipe.sh %s SATEMPDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp SawDataConfigDir=/mnt/desarrollo/oracle/oraclebi/OracleBIData/web/config ORACLE_HOME=/mnt/desarrollo/oracle/product/9.2.0/client_1 PYTHON_HOME=/opt/otm/python SAROOTDIR=/mnt/desarrollo/oracle/oraclebi G_BROKEN_FILENAMES=1 OLDPWD=/mnt/desarrollo/oracle/oraclebi/setup _=/mnt/desarrollo/oracle/oraclebi/setup/sawserver.sh
22618 pts/1 Sl 0:01 \_ /mnt/desarrollo/oracle/oraclebi/web/bin/sawserver HOSTNAME=LES000930122 ANA_WEB_DIR=/mnt/desarrollo/oracle/oraclebi/web/bin TERM=xterm SHELL=/bin/bash HISTSIZE=1000 TMPDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp NLS_LANG=American_America.UTF8 SSH_CLIENT=10.254.210.121 1445 22 ANA_ODBC_DIR=/mnt/desarrollo/oracle/oraclebi/odbc PYTHONUNBUFFERED=1 SSH_TTY=/dev/pts/1 USER=oracle LD_LIBRARY_PATH=/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin:/mnt/desarrollo/oracle/oraclebi/odbc/lib:/usr/lib:/lib:/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin:/mnt/desarrollo/oracle/oraclebi/odbc/lib:/usr/lib:/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib32:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/jdbc/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib:/mnt/desarrollo/oracle/product/9.2.0/client_1/lib LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: SawJavaHostDir=/mnt/desarrollo/oracle/oraclebi/web/javahost GLOG_HOME=/opt/otm KDEDIR=/usr SA_ROOTDIR=/mnt/desarrollo/oracle/oraclebi UNIXPERFDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp TNS_ADMIN=/mnt/desarrollo/oracle/product/9.2.0/client_1/network/admin MAIL=/var/spool/mail/oracle PATH=/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin::/mnt/desarrollo/oracle/oraclebi/server/Bin:/mnt/desarrollo/oracle/oraclebi/web/bin:/mnt/desarrollo/oracle/product/9.2.0/client_1/bin:/opt/otm/jdk/bin:/opt/otm/python/bin:/mnt/desarrollo/oracle/product/10.2.0/client_1/bin:/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin:/home/oracle/bin:/mnt/desarrollo/oracle/product/10.2.0/client_1/bin:/home/oracle/bin:/mnt/desarrollo/oracle/product/9.2.0/client_1/bin ANA_BIN_DIR=/mnt/desarrollo/oracle/oraclebi/server/Bin INPUTRC=/etc/inputrc PWD=/mnt/desarrollo/oracle/oraclebi/server/Log JAVA_HOME=/mnt/desarrollo/oracle/oraclebi/jdk LANG=en_US.UTF-8 SAWROOTDIR=/mnt/desarrollo/oracle/oraclebi/web SASRVTUNESCRIPT=/mnt/desarrollo/oracle/oraclebi/setup/systunesrv.sh SASAWSERVER=/mnt/desarrollo/oracle/oraclebi/web/bin/sawserver SASYSINITSCRIPT=/mnt/desarrollo/oracle/oraclebi/setup/sysenvinit.sh ANA_VARIANT=Linux SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SASBINDIR=/mnt/desarrollo/oracle/oraclebi/server/Bin SADATADIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData SHLVL=3 HOME=/home/oracle SawCoreConfigDir=/mnt/desarrollo/oracle/oraclebi/web/config ODBCINI=/mnt/desarrollo/oracle/oraclebi/setup/odbc.ini SAWBINDIR=/mnt/desarrollo/oracle/oraclebi/web/bin PYTHONPATH=/opt/otm/python/lib/python2.4:/opt/otm/python/lib/python2.4/site-packages:/opt/otm/python/lib/python2.4/site-packages/_xmlplus:/opt/otm/utils/integration/python LOGNAME=oracle CLASSPATH=/opt/otm/glog/glog_resources:/opt/otm/glog/config:/opt/otm/glog/gc3webapp/WEB-INF/classes:/opt/otm/glog/gc3webapp/WEB-INF/lib/glogserver.jar:/opt/otm/glog/gc3webapp/WEB-INF/lib/3rdparty/WaitForServer.zip:/mnt/desarrollo/oracle/product/10.2.0/client_1/jdbc/lib/classes12.jar:/opt/otm/oas/j2ee/home/lib/ejb.jar:/opt/otm/oas/j2ee/home/lib/jta.jar SSH_CONNECTION=10.254.210.121 1445 10.136.47.220 22 ANA_INSTALL_DIR=/mnt/desarrollo/oracle/oraclebi SATEMPDIR=/mnt/desarrollo/oracle/oraclebi/OracleBIData/tmp LESSOPEN=|/usr/bin/lesspipe.sh %s CordaInstallDir=/mnt/desarrollo/oracle/oraclebi/corda50 SawDataConfigDir=/mnt/desarrollo/oracle/oraclebi/OracleBIData/web/config PYTHON_HOME=/opt/otm/python ORACLE_HOME=/mnt/desarrollo/oracle/product/9.2.0/client_1 SAROOTDIR=/mnt/desarrollo/oracle/oraclebi G_BROKEN_FILENAMES=1 _=/mnt/desarrollo/oracle/oraclebi/web/bin/sawserver -
Why my internet connection randomly gets slow ?
Hi
Rabdomly I see a huge network slow down on my Macbook Pro. The same time if I check my line's speed by another device ( as iPhone ) it reports about 2-3 Mbps , but MacBook is slow. If I ping yahoo.com I see don't see a long response time. During these periods which may last maximum for 1 hour, all other connections are slow ( as Mail ) except the FaceTime.
Resetting the Safari or deleting com.safari.apple make no improvement. I even tried reinstalling the OS but these periods happen againg.
any suggestion?
MBP Pro, Core i7, 2.GHz, 4 GB RAM, 8.2 (late 2011) , OSX= Mountain Lion.Here is the results:
STEP 1:
org.virtualbox.kext.VBoxDrv (4.1.20)
org.virtualbox.kext.VBoxUSB (4.1.20)
org.virtualbox.kext.VBoxNetFlt (4.1.20)
org.virtualbox.kext.VBoxNetAdp (4.1.20)
foo.tun (1.0)
foo.tap (1.0)
STEP 2:
org.macosforge.xquartz.privileged_startx
net.openvpn.client
com.microsoft.office.licensing.helper
com.DesignScience.DSMTTool
com.adobe.fpsaud
STEP 3:
org.macosforge.xquartz.startx
com.google.keystone.user.agent
STEP 4:
/Library/Components:
/Library/Extensions:
VBoxDrv.kext
VBoxNetAdp.kext
VBoxNetFlt.kext
VBoxUSB.kext
/Library/Frameworks:
AEProfiling.framework
AERegistration.framework
AudioMixEngine.framework
MT6Lib.framework
NyxAudioAnalysis.framework
OpenVPN.framework
PluginManager.framework
TSLicense.framework
iTunesLibrary.framework
/Library/Input Methods:
/Library/Internet Plug-Ins:
AdobePDFViewer.plugin
Flash Player.plugin
Flip4Mac WMV Plugin.plugin
JavaAppletPlugin.plugin
Quartz Composer.webplugin
QuickTime Plugin.plugin
SharePointBrowserPlugin.plugin
SharePointWebKitPlugin.webplugin
Silverlight.plugin
flashplayer.xpt
nsIQTScriptablePlugin.xpt
/Library/Keyboard Layouts:
/Library/LaunchAgents:
org.macosforge.xquartz.startx.plist
/Library/LaunchDaemons:
com.DesignScience.DSMTTool.plist
com.adobe.fpsaud.plist
com.microsoft.office.licensing.helper.plist
net.openvpn.client.plist
org.macosforge.xquartz.privileged_startx.plist
/Library/PreferencePanes:
Flash Player.prefPane
Flip4Mac WMV.prefPane
/Library/PrivilegedHelperTools:
com.DesignScience.DSMTTool
com.microsoft.office.licensing.helper
/Library/QuickLook:
iBooksAuthor.qlgenerator
iWork.qlgenerator
/Library/QuickTime:
AppleIntermediateCodec.component
AppleMPEG2Codec.component
Flip4Mac WMV Advanced.component
Flip4Mac WMV Export.component
Flip4Mac WMV Import.component
/Library/ScriptingAdditions:
/Library/Spotlight:
Microsoft Office.mdimporter
iBooksAuthor.mdimporter
iWork.mdimporter
/Library/StartupItems:
VirtualBox
/etc/mach_init.d:
/etc/mach_init_per_login_session.d:
/etc/mach_init_per_user.d:
Library/Address Book Plug-Ins:
SkypeABDialer.bundle
SkypeABSMS.bundle
Library/Fonts:
Library/Frameworks:
HunterSuiteInterface.framework
Library/Input Methods:
.localized
Library/Internet Plug-Ins:
FolxNetscapePlugIn.plugin
rf-firefox-plugin.plugin
rf-safari-plugin.webplugin
Library/Keyboard Layouts:
Library/LaunchAgents:
com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.EE825805-8FA0-4784-B38E-DFB 4892D9B15.plist
com.apple.FolderActions.enabled.plist
com.apple.FolderActions.folders.plist
com.google.keystone.agent.plist
org.virtualbox.vboxwebsrv.plist
Library/PreferencePanes:
STEP 5:
iTunesHelper, CrossOver CD Helper
Some items as OpenVPN and LittleSnitch are uninstalled before ( by their uninstaller ), but they exist here yet.
Thanks -
When I open my browser, it takes 3-5 minutes to fully open. When I get to a website, randomly the tab will say 'Connecting' and slow down and take 10-15 minutes to function or freeze completely. This almost always happens on sites that require Flash Player use. I have uninstalled and reinstalled my Flash several times. I've added memory, as someone suggested it was a memory issue. It's so frustrating, please help!
A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
See:
* [[Server not found]]
* [[Firewalls]] -
Hi forum members,
I have been using Windows 7 64 Bit ultimate for almost 2-3 months. I have noticed this strange slow boot ups(randomly once in 3 or 4 days) during cold boot or restart. The system seems to hang up at the Windows 7 splash screen, but on the contrary its not hanged. The system is taking its own sweet time to boot up to the start up screen.
During a normal boot up my Razer Lycosa and Lachesis backlights would go off for few seconds and lights up as soon windows 7 start up screen appears. But during the random slow boots I have noticed that the backlight of Razer Lycosa stays on for 2-3 mins before Windows 7 start up screen appears. Another strange thing that I've noticed was the ticking sound on my Logitech Clearchat USB headset during the random slow boot. The ticking sound appears every 3 seconds during the slow boot. What could be the problem guys? Is it because of Hardware or corrupt system files. FYI, I have Razer Lachesis, Lycosa, HP 3500 Deskjet Printer and Logitech USB Headset connected to the USB ports. Logitech USB headset is connected to the USB port of Razer Lycosa.
I have recently flashed my MOBO to see if it was because of the BIOS, but the problem persists even after flashing.
Any suggestions members. I would really appreciate your help on this.
My system specs,
Intel Core i7 920 2.66
MSI X58 Pro SLI ( BIOS Version 8.A)
Corsair DDR3 3 x 2GB DDR3 1333
2 x 1 TB Seagate SATA II
EVGA GeForce GTX 295
Tagan 1100 W BZ Series
Windows 7 64 Ult
Regards
RahulThanks for the reply Henry. Well I am trying that but as I have mentioned in the POST the problem happens very randomly, like once in 4 days. Funny after posting this thread the system is running fine. I am determined to find the cause of this. I am planning to do couple of cycles of reboot today to determine if its the hardware issue(USB). What can be the other problems apart from the USB issues??
-
PHP/Oracle/Apache on Windows mid tier
Hey,
I am trying to set up PHP to connect to my oracle instance using apache.
The PHP/Apache set up is on XP, which I also have a 9i client installed. I am trying to then connect to a database on a linux box. the 9i client works fine, SQL*Plus and everything else works great.
However, when I try to run my PHP I get the following error:
Fatal error: Call to undefined function: ocilogon() in c:\program files\apache group\apache\htdocs\pear\markondo\test.php on line 12
I have set the php.ini file to add oci extension but am not convinced that it is being pick up, hence the error !
Any help would be really appreciated,
Thanks,
MarkTry this link:
http://www.php.net/manual/en/install.windows.php
You're right, it probably means PHP is not loading the php_*.dll extension for whatever version of Oracle you are running. The link above has some good comments by users who are struggling with you're problem.
-Bryan -
While using multilanguage in php/oracle iam facing some issues
i gave input as : Portuguese: O próximo vôo à
and got output as : Portuguese: O pr?ximo v?o ?
for some special characters it is replaced by '?' mark.
iam using php5 and orcle 9 and OCI for connecting.
i gave NLS_CHARACTERSET as UTF8
and the unicode datatype as NVARCHAR2(100)
Plz some one help me out in solving ithi..
using alter session in php i changed my nsl_lang to PORTUGUESE
but still the data is stored in ? for some special characers
Array
[PARAMETER] => Array
[0] => NLS_LANGUAGE
[1] => NLS_TERRITORY
[2] => NLS_CURRENCY
[3] => NLS_ISO_CURRENCY
[4] => NLS_NUMERIC_CHARACTERS
[5] => NLS_CALENDAR
[6] => NLS_DATE_FORMAT
[7] => NLS_DATE_LANGUAGE
[8] => NLS_CHARACTERSET
[9] => NLS_SORT
[10] => NLS_TIME_FORMAT
[11] => NLS_TIMESTAMP_FORMAT
[12] => NLS_TIME_TZ_FORMAT
[13] => NLS_TIMESTAMP_TZ_FORMAT
[14] => NLS_DUAL_CURRENCY
[15] => NLS_NCHAR_CHARACTERSET
[16] => NLS_COMP
[17] => NLS_LENGTH_SEMANTICS
[18] => NLS_NCHAR_CONV_EXCP
[VALUE] => Array
[0] => PORTUGUESE
[1] => AMERICA
[2] => $
[3] => AMERICA
[4] => .,
[5] => GREGORIAN
[6] => DD-MON-RR
[7] => PORTUGUESE
[8] => UTF8
[9] => WEST_EUROPEAN
[10] => HH.MI.SSXFF AM
[11] => DD-MON-RR HH.MI.SSXFF AM
[12] => HH.MI.SSXFF AM TZR
[13] => DD-MON-RR HH.MI.SSXFF AM TZR
[14] => $
[15] => AL16UTF16
[16] => BINARY
[17] => BYTE
[18] => FALSE
Input i gave : próximo vôo à
out put : pr??ximo v??o ?? -
Oracle insert very slow (very urgent)
Hello
I am new to this forum and also new to oracle .... I am woking in a C# 3.5 desktop application
I am Leasing data from socket (1 message per 10 millisecond) and save in queue<T> and then i have a background thread which dequeu the data and perform some calculation and create “insert sql query “ on run time NO STORE PROCEDURE just simple insert query
For example
insert into Product values(0,computer , 125.35);
I pass that insert query to my datalayer which create oracle connection and insert in to a data base. see the code below
using System.Data.OracleClient
class db
OracleConnection conns = null
public static void conn(string dbalias, string userid, string password){
try
string connString = @"server =" + dbalias + ";uid =" + userid + ";password =" + password + ";";
conns = new OracleConnection(connString);
conns.Open();
catch (OracleException e){
Console.WriteLine("Error: " + e);}}
public static void ExecuteCommand(string sqlquery)
try
OracleCommand cmd = new OracleCommand(sqlquery,conns);
cmd.ExecuteNonQuery();
NOW the problem is that inseration in oracle database is very slow please tell me how to solve this issueAdditionally:
How slow? Just one single insert is slow? Or you're doing thousands of inserts that way and they add up to being slow?
If you're doing a bunch of inserts, wrap a bunch of them inside a transaction instead of doing them one by one which will avoid a commit each time as well.
Or use Array binding or Associatve arrays as indicated previously (You'd need to use Oracle's provider for that though ~ ou're using System.Data.OracleClient).
You're using a literal hard coded statement, per your example? Use bind variables.
Also, this forum is for tools that plug in to VS. Problems with ODP.NET code you've written would be more appropriate in the [ODP.NET forum|http://forums.oracle.com/forums/forum.jspa?forumID=146], but that forum deals with problems with Oracle's ODP, not Microsofts (which is in maintenance mode by the way)
Hope it helps,
Greg
Maybe you are looking for
-
Can not Start Oracle Application Server ORB process
I have just installed Oracle Application Server (OAS) on my machine running Windows NT 4.0 Workstation. When I logon to the OAS manager and tried to start ORB, I got below error message: Please wait while the command is being processed on host ssoh_x
-
Hello. I have a piece of machinery that my system is connected to. Every time it reaches a proximity sensor (It's a reciprocating unit), I need to do a single pulse of 5v out of my analog output. It has to be fast, it has to stop until the sensor i
-
Vendor line item report based on profit centre wise like FAGLL03
We have profit centre wise GL Line item report i.e FAGLL03. Is there any such report for vendor line items with profit centre. I want to see open items of vendor for a particular profit centre.
-
HT1752 I can not send mail with my powerbook g4 running tiger
I can not send/receive mail using tiger 10.4.11. Can anyone help?
-
Pacman IgnorePkg not really ignoring?
$ sudo pacman -Su :: Replace gtk-smooth-engine with gnome-themes from "testing"? [Y/n] n :: gcc-3.4.1-2: ignoring package upgrade (3.4.2-1) :: glibc-2.3.3-2t2: local version is newer :: xapps-20040912-1: ignoring package upgrade (20040920-1) :: xorg-