Oracle connection is very slow
Hello,
I install oracle enterprise 5 and oracle 11g R2 and when i connect oracle from plsql developer connectoion is very very slow.
What do you think about this problem ?
i don't want to install oracle 11g on windows server !
Hi,
Get the network speed/connection checked from the source server to database server. Also check the resources usage on client and server machine for any sign of resource issues.
Regards
Similar Messages
-
Query can run in Oracle 10g but very slow in 11g
Hi,
We've just migrated to Oracle 11g and we noticed that some of our view are very slow (it takes seconds in 10g and takes 30 minutes in 11g), and the tables are using the local table.
Do any of you face the same issue?
This is our query:
SELECT
A.wellbore
,a.depth center
,d.MD maxbc
,d.XDELT xbc
,d.YDELT ybc
,e.MD minac
,e.XDELT xac
,e.YDELT yac
from
table_A d,table_A e, table_B a
where a.wellbore = d.WELLBORE (+)
and a.wellbore = e.WELLBORE(+)
and d.MD = (select max(MD) from table_A b where b.MD < a.depth and
d.wellBORE = b.wellBORE)
and e.md = (select min(md) from table_A c where c.MD > a.depth and
e.wellBORE = c.wellBORE);Thanks I will move to the correct one..
Rafi,
Build the Indexes and it is still slow. I am querying from a view from another database, which is in 10g instances.
Moved: Query can run in Oracle 10g but very slow in 11g
Edited by: 924400 on Apr 1, 2012 6:03 PM
Edited by: 924400 on Apr 1, 2012 6:26 PM -
Time Capsule connection is very slow on windows 8
Time Capsule wireless connection is very slow on a Samsung windows 8 computer.
Any advice? It is placed next to my mac and the speed is 20% less (often more)
If I move the computer into the livingroom (about 10 meter) the speed is reduced with 95%.Windows 8 drivers are still developing.. download the drivers from the wireless manufacturer not Samsung and try it.
I am not surprised though at differences between wireless.. card using different chipsets and different antennas will give totally different results.
But you can help a bit.. setup the TC with SMB names.. short, no spaces, pure alphanumeric.
Set the name for 5ghz different to 2.4ghz so you can change over.
Set the security to WPA2 Personal which is the only one suitable for N wireless at home without a server.
Set 2.4ghz to manual radio channels and test, channel 1, 6, 11 in turn.
Try up close using 5ghz as it is faster.. but to get full speed you need a broadcom 450mbps card..
Remember wireless chipset like atheros and broadcom never quite see eye to eye.. it is one reason you buy the same brand.
Solution.. buy a cheap edimax wireless router.. plug it into the TC and use it for wap only.. I just did this for a friend.. works much better than TC or airport extreme on a PC. But I have not used win8 yet.. no idea if that is going to be problematic. -
I have just returned from a business trip to China and my Macbook is not well. My internet connection is very slow and drops out intermittently. Is there a utility I can run which might clean it up.
Hello,
I have very similar problem. Suddenly Firefox stopped work - It was working few days after ver. 4 update. I was looking everywhere for some solution but nothing worked.
- uninstalled firewall - did not worked
- added full exception for Firefox into the firewall - did not worked
- Firefox reinstall - did not worked
- Firefox complete reinstall (registry included) - did not worked
- IPv6 diseabling - did not worked
- diferent proxy options (no proxy, system proxy, autodetect proxy) - did not worked
- new firefox profile - did not worked
- complete coockies, history... deleted - did not worked
- there is only one solution which partly works - I have used public proxy addresses for Firefox but the ping is (750ms), down/up (0.8MB/0.2MB originaly (10MB/2MB) and yes I have tried different proxy server from different countries from my included.
- IE is working perfectly and without proxy
- other companies browser - did not worked too
- only IE is working
- I have used three different malware, trojans, spyware, anti-virus programs and nothing
It seems to me as hopeless situation or very clever move from Microsoft, I am forced to use IE - at least this works
Any ideas, solutions?
System Windows 7, firewall Comodo Internet security
Thanks everyone for the help -
Oracle-11g connection is very slow
Hi Team,
Installed oracle11g with database yesterday. but the connection to database using tnsnames is very slow even from host server, where as sys / as sysdba is normal in hostserver.
And checked other databases(10g) connections in the same host server, normal. Here with I spooled alert log file and parameter list. pls do the needful help.
Aler log file from shut down to startup.
Sat Aug 06 11:28:54 2011
Shutting down instance (immediate)
Stopping background process SMCO
Shutting down instance: further logons disabled
Sat Aug 06 11:28:55 2011
Stopping background process CJQ0
Stopping background process QMNC
Stopping background process MMNL
Stopping background process MMON
License high water mark = 10
ALTER DATABASE CLOSE NORMAL
Sat Aug 06 11:28:58 2011
SMON: disabling tx recovery
SMON: disabling cache recovery
Sat Aug 06 11:28:58 2011
Shutting down archive processes
Archiving is disabled
Sat Aug 06 11:28:58 2011
ARCH shutting down
Sat Aug 06 11:28:58 2011
ARCH shutting down
Sat Aug 06 11:28:58 2011
ARCH shutting down
ARC1: Archival stopped
ARC0: Archival stopped
ARC3: Archival stopped
Sat Aug 06 11:28:58 2011
ARCH shutting down
ARC2: Archival stopped
Thread 1 closed at log sequence 9
Successful close of redo thread 1
Completed: ALTER DATABASE CLOSE NORMAL
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Sat Aug 06 11:29:01 2011
Stopping background process VKTM:
Sat Aug 06 11:29:05 2011
Instance shutdown complete
Sat Aug 06 11:32:12 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =118
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production.
Using parameter settings in client-side pfile /oracle/ora11g/apps/dbs/initrakshak.ora on machine abml01
System parameters with non-default values:
processes = 700
sga_max_size = 30G
sga_target = 30G
control_files = "/barch10g_db/ora11g/rakshak_control/rkdatabase/control1/rakshak_control01.ctl"
control_files = "/barch10g_db/ora11g/rakshak_redo/rkdatabase/control2/rakshak_control02.ctl"
control_files = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/control3/rakshak_control03.ctl"
db_block_size = 16384
compatible = "11.2.0"
log_archive_dest = "/barch10g_db/ora11g/rakshak_archive/rkdatabase/rakshak"
db_recovery_file_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/flash_recovery_area"
db_recovery_file_dest_size= 2G
undo_management = "AUTO"
undo_tablespace = "UNDOTBS1"
sec_case_sensitive_logon = FALSE
remote_login_passwordfile= "EXCLUSIVE"
utl_file_dir = "/barch10g_db/ora11g/ldoutput/"
plsql_code_type = "native"
job_queue_processes = 100
cursor_sharing = "FORCE"
audit_file_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/adump"
audit_trail = "DB"
db_name = "rakshak"
open_cursors = 700
diagnostic_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/"
Sat Aug 06 11:32:33 2011
PMON started with pid=2, OS id=9463
Sat Aug 06 11:32:34 2011
VKTM started with pid=3, OS id=9465 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Sat Aug 06 11:32:34 2011
GEN0 started with pid=4, OS id=9469
Sat Aug 06 11:32:34 2011
DIAG started with pid=5, OS id=9471
Sat Aug 06 11:32:34 2011
DBRM started with pid=6, OS id=9473
Sat Aug 06 11:32:34 2011
PSP0 started with pid=7, OS id=9475
Sat Aug 06 11:32:34 2011
DIA0 started with pid=8, OS id=9477
Sat Aug 06 11:32:34 2011
MMAN started with pid=9, OS id=9479
Sat Aug 06 11:32:34 2011
DBW0 started with pid=10, OS id=9481
Sat Aug 06 11:32:34 2011
DBW1 started with pid=11, OS id=9483
Sat Aug 06 11:32:34 2011
DBW2 started with pid=12, OS id=9485
Sat Aug 06 11:32:34 2011
LGWR started with pid=13, OS id=9487
Sat Aug 06 11:32:34 2011
CKPT started with pid=14, OS id=9489
Sat Aug 06 11:32:34 2011
SMON started with pid=15, OS id=9491
Sat Aug 06 11:32:34 2011
RECO started with pid=16, OS id=9493
Sat Aug 06 11:32:34 2011
MMON started with pid=17, OS id=9495
Sat Aug 06 11:32:34 2011
MMNL started with pid=18, OS id=9497
Sat Aug 06 11:32:34 2011
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Sat Aug 06 11:34:34 2011
Shutting down instance (immediate)
Shutting down instance: further logons disabled
Stopping background process MMNL
Stopping background process MMON
License high water mark = 1
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Sat Aug 06 11:34:37 2011
Stopping background process VKTM:
Sat Aug 06 11:34:40 2011
Instance shutdown complete
Sat Aug 06 11:35:55 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =118
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production.
Using parameter settings in client-side pfile /oracle/ora11g/apps/dbs/initrakshak.ora on machine abml01
System parameters with non-default values:
processes = 700
sga_max_size = 30G
sga_target = 30G
control_files = "/barch10g_db/ora11g/rakshak_control/rkdatabase/control1/rakshak_control01.ctl"
control_files = "/barch10g_db/ora11g/rakshak_redo/rkdatabase/control2/rakshak_control02.ctl"
control_files = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/control3/rakshak_control03.ctl"
db_block_size = 16384
compatible = "11.2.0"
log_archive_dest = "/barch10g_db/ora11g/rakshak_archive/rkdatabase/rakshak"
db_recovery_file_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/flash_recovery_area"
db_recovery_file_dest_size= 2G
undo_management = "AUTO"
undo_tablespace = "UNDOTBS1"
sec_case_sensitive_logon = FALSE
remote_login_passwordfile= "EXCLUSIVE"
utl_file_dir = "/barch10g_db/ora11g/ldoutput/"
plsql_code_type = "native"
job_queue_processes = 100
cursor_sharing = "FORCE"
audit_file_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/adump"
audit_trail = "DB"
db_name = "rakshak"
open_cursors = 700
diagnostic_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/"
Sat Aug 06 11:36:16 2011
PMON started with pid=2, OS id=9648
Sat Aug 06 11:36:16 2011
VKTM started with pid=3, OS id=9657 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Sat Aug 06 11:36:16 2011
GEN0 started with pid=4, OS id=9669
Sat Aug 06 11:36:16 2011
DIAG started with pid=5, OS id=9678
Sat Aug 06 11:36:16 2011
DBRM started with pid=6, OS id=9686
Sat Aug 06 11:36:16 2011
PSP0 started with pid=7, OS id=9697
Sat Aug 06 11:36:16 2011
DIA0 started with pid=8, OS id=9704
Sat Aug 06 11:36:16 2011
MMAN started with pid=9, OS id=9711
Sat Aug 06 11:36:16 2011
DBW0 started with pid=10, OS id=9713
Sat Aug 06 11:36:16 2011
DBW1 started with pid=11, OS id=9715
Sat Aug 06 11:36:16 2011
DBW2 started with pid=12, OS id=9717
Sat Aug 06 11:36:16 2011
LGWR started with pid=13, OS id=9719
Sat Aug 06 11:36:16 2011
CKPT started with pid=14, OS id=9721
Sat Aug 06 11:36:16 2011
SMON started with pid=15, OS id=9723
Sat Aug 06 11:36:16 2011
RECO started with pid=16, OS id=9725
Sat Aug 06 11:36:16 2011
MMON started with pid=17, OS id=9727
Sat Aug 06 11:36:16 2011
MMNL started with pid=18, OS id=9729
Sat Aug 06 11:36:16 2011
ORACLE_BASE from environment = /oracle/ora11g/home
Sat Aug 06 11:36:40 2011
alter database mount
Sat Aug 06 11:36:44 2011
Successful mount of redo thread 1, with mount id 3292194824
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount
Sat Aug 06 11:36:54 2011
alter database open
LGWR: STARTING ARCH PROCESSES
Sat Aug 06 11:36:54 2011
ARC0 started with pid=20, OS id=9743
Sat Aug 06 11:36:55 2011
ARC0: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC0: STARTING ARCH PROCESSES
Sat Aug 06 11:36:55 2011
ARC1 started with pid=21, OS id=9745
Sat Aug 06 11:36:55 2011
ARC2 started with pid=22, OS id=9747
Sat Aug 06 11:36:55 2011
ARC3 started with pid=23, OS id=9749
ARC1: Archival started
ARC2: Archival started
ARC2: Becoming the 'no FAL' ARCH
ARC2: Becoming the 'no SRL' ARCH
ARC1: Becoming the heartbeat ARCH
Thread 1 opened at log sequence 9
Current log# 3 seq# 9 mem# 0: /barch10g_db/ora11g/rakshak_idx1/rkdatabase/redo3/rakshak_redolog3a.log
Current log# 3 seq# 9 mem# 1: /barch10g_db/ora11g/rakshak_idx1/rkdatabase/redo3/rakshak_redolog3b.log
Successful open of redo thread 1
Sat Aug 06 11:36:55 2011
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is WE8ISO8859P1
No Resource Manager plan active
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Sat Aug 06 11:36:55 2011
QMNC started with pid=25, OS id=9753
Completed: alter database open
Sat Aug 06 11:36:56 2011
db_recovery_file_dest_size of 2048 MB is 0.99% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
ARC3: Archival started
ARC0: STARTING ARCH PROCESSES COMPLETE
Sat Aug 06 11:36:58 2011
Starting background process CJQ0
Sat Aug 06 11:36:58 2011
CJQ0 started with pid=24, OS id=9768
Setting Resource Manager plan SCHEDULER[0x2FF9]:DEFAULT_MAINTENANCE_PLAN via scheduler window
Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter
Sat Aug 06 11:37:01 2011
Starting background process VKRM
Sat Aug 06 11:37:01 2011
VKRM started with pid=26, OS id=9770
Sat Aug 06 11:41:55 2011
Starting background process SMCO
Sat Aug 06 11:41:55 2011
SMCO started with pid=29, OS id=9920
parameter list
db_name='rakshak'
+#memory_target=30G+
processes = 700
audit_file_dest='/barch10g_db/ora11g/rakshak_idx1/rkdatabase/adump'
audit_trail ='db'
db_block_size=16384
db_recovery_file_dest='/barch10g_db/ora11g/rakshak_idx1/rkdatabase/flash_recovery_area'
db_recovery_file_dest_size=2G
diagnostic_dest='/barch10g_db/ora11g/rakshak_idx1/rkdatabase/'
+#dispatchers='(PROTOCOL=TCP) (SERVICE=ORCLXDB)'+
open_cursors=700
job_queue_processes=100
remote_login_passwordfile='EXCLUSIVE'
undo_management='AUTO'
undo_tablespace='UNDOTBS1'
+# You may want to ensure that control files are created on separate physical+
+# devices+
control_files = '/barch10g_db/ora11g/rakshak_control/rkdatabase/control1/rakshak_control01.ctl','/barch10g_db/ora11g/rakshak_redo/rkdatabase/control2/rakshak_control02.ctl','/barch10g_db/ora11g/rakshak_idx1/rkdatabase/control3/rakshak_control03.ctl'
compatible ='11.2.0'
SGA_MAX_SIZE=30G
SGA_TARGET=30G
Utl_file_dir='/barch10g_db/ora11g/ldoutput/'
sec_case_sensitive_logon=FALSE
plsql_code_type=native
cursor_sharing='FORCE'
log_archive_dest='/barch10g_db/ora11g/rakshak_archive/rkdatabase/rakshak'
If any information is needed, pls let me know.
thanks in advance
Regards
Phani KumarPhani wrote:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.247.27)(PORT=1522)))Why use port 1522?
It is always a good idea to use the standard ports for a network application. There is no logic in obfuscating ports for security purposes. It also makes network management and dealing with quality of service issues for example, much more complex if you do not stick to the registered application ports.
Also note that if you provide a dotted IP address, only that address will be used for binding the tcp port as a listening end point. This means no connections will be accepted on localhost and other IP addresses of that server. Make sure that this is what is technically required.
ifconfig
bond6 Link encap:Ethernet HWaddr 00:26:55:D3:02:B6
Why are you using bonding? How many bonded interfaces are there and now many physical NICs? Bond6 alludes that it is the 7th bonded interface - and at 2 NICs per bonded interface it implies that your server has 14 physical Ethernet interfaces. Which I doubt is true.
RX packets:1309675596 errors:5 dropped:0 overruns:0 frame:3Not good to see any errors. What does ethtool stats show? Also check that the physical interfaces are enabled for full duplex. Some Cisco switches do not negotiate it properly and the NIC could be running half duplex.
Also - using bonding... does not seem right. The 1st and default bonded interface should be +/dev/bond0+ - and not bond6.
Check the server's network configuration (the +ifcfg-*+ files in +/etc/sysconfig/networking-scripts+ directory). Suggest that you get a network engineer (or the like) to assist with reviewing the network setup of that server. -
Dear all
I bought two days ago HP Deskjet 3520 e-All-in one printer serie, but i have some really bad issues with the scanner! I have searched on the internet and i couldn’t find anything to solve the problem.
I have installed the printer according to the book of the printer, so everything did go well(i think), except that i can’t connect the scan to my computer, a Mac OS X (i am connected with the printer). I get directed to the website where i can connect the scanner, but every time i try to connect it with wi-fi, i get two notification, one from my computer (from HP Itility (Dutch) program) that the connection is off and second from the website that i have to make sure that i’m connected with internet (which i am) and to check the IP address if it is the same with my computer (which is the same).
Obesely something did go wrong, but i can’t find the problem.
Beside when its copy or prints a document (no matter how many pages) it’s very slow. It takes 10 -15 minutes till the printer starts. Has it something to do with the problem i’ve got with the scanner or is the printer always so slow? Because the very first time, when i installed the printer, it printed very fast.
By the way i also print the test-results to check if there is a problem, but according to test-results there are no problems at all.
I hope that someone recognize this problem and can help me to solve it.
Regards,
EsraHello chesterpascual,
Welcome to the HP Support Forums!
Regarding the Deskjet 3520 and the error to use setup cartridges, you will need to call HP's Technical Support to see about sending some to you.
Click here to locate the contact information.
Regards,
JERENDS
I work on behalf of HP
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping! -
Oracle Forms Performance very slow on the internet
Hi ,
We have developed a form application with forms Developer 10g and deployed it on a ORACLE 10g AS. If the user runs our application over intranet there is no any network problem or not any performance decrease occurs. However if we deploy our application over WAN or internet, the startup time of the forms become Very Slow.
What we can use to make it faster , is there any other tools we have to learn like APEX or JDeveloper , what is the best solution , should we forget the Developer for ever and starting with other tools with fast performance on the internet , if so , what we have to learn , please help us , its common problem .
any help please ,Interesting thread....
You asked whether "Forms" is the right product for the job. Well, the answer to that question will depend entirely on exactly what functionality you need and your skill-set. One advantage of using Forms over other Oracle products is that, in my opinion, Forms allows you to create simple or complex applications very quickly, with limited development experience. The downside to using Forms however, is that it does use a fairly thick client making startup slower than other applications. Generally, Forms is not very well suited for Internet deployments although it can and has been done. If your goal is to use a product which is easy to work with and is appropriate for Internet deployment, you may want to consider Apex. The downside to Apex is that unlike Forms, Apex generates what I like to call static html pages. Meaning once a page is displayed for the end-user, the data on it remains the same until the user forces interaction with the server again, but in this case the entire page would be refreshed in order to realize the changes. In the case of Forms, any content displayed to the end-user can be change without completely refreshing their view. I like to refer to Forms as a living application because unlike Apex, it can easily respond to most user inputs and/or server side changes almost in real-time. If you want this "live" experience, Forms might be the way to go, although at the cost of some startup performance. Alternatively, Oracle ADF can also give you a similar live-like experience. However, ADF will require a broader skill-set (pl/sql, java, html, etc), whereas with Forms you could get away with only knowing pl/sql although java knowledge would be helpful.
The views expressed in this thread are my own and do not necessarily reflect the views of Oracle. -
FOI theme (Oracle Maps) rendering very slow
I sniffed the network traffic when a FOI theme is rendered on a map. I determined that for each feature of the theme a network request is sent to the server fetching the corresponding marker. Fetching markers has a big impact on the performance.
I think that fetching the same marker for each feature is not nessary.
Is there a way (undocumented feature or patch) to avoid this from happening?
Thanks in advance,
JeroenHi,
Experienced the same issue. I would like to hear from Oracle Maps development team if they are going to do something with it because our Map with active theme is very slow (rendering of markers and also panning the map). Without active markers it's fast.
thanks,
Branislav -
Oracle query running very slow
Hi,
We've MS-Access application which was pointing to UDB. Now we migrated it to point Oracle DB 9.2. After migration some of the query is running very slow.
These queries used to take less than 30 seconds in UDB now taking more than 5 Minutes in Oracle.
some more obeservation :
(1) Some of the queries using "HAVING" clause without any aggregate function. When I moved this condition to "WHERE" clause, performance improved a lot.
But problem is that I can't suggest this solution to "USERS". They are creating query using "query wizard" in MS-Access and they started creating noise on this.
(2) I tested same MDB in two different PCs and same query is returning records in 4 seconds in one system, is taking more than 10 minutes in other system.
Since I'm new to MS-Access, I don't know what other information I need to provide here.
Please help me out.ms wrote:
Hi All
I am using Oracle 11g . My table contains 10-12 lac rows.Do not use the word lac: it is common in the Indian sub-continent but not known much outside of
there because it is not standard English.
>
1) what is the difference between a index on one column and an index of number of columns ( i.e composite index). The obvious answer of one contains only one column and the other contains more than one.
2) For what columns in a where clause should index be created ( single columns index or composite index ).Depends
3) Also can u suggest how to improve the perfomane of thsi query?Please read: SQL and PL/SQL FAQ
which tells you how to ask a performance related question -
Fast internet connection but very slow browsing
Hi,
For some time now we have been struggling with very slow browsing speeds. Sometimes the web page will not even load. ADSL speed checks show a good up and down speed and shown below and everything appears to run well if we simply download a file.
Do any of the numbers below indicate any problems?
We have various pc's both hard wired and connected wirelessly and the problems are the same on all. The laptop works fine on my office connection.
Any help greatly appreciated.
ADSL Line Status
Connection Information
Line state:
Connected
Connection time:
2 days, 22:27:19
Downstream:
17.55 Mbps
Upstream:
1.053 Mbps
ADSL Settings
VPI/VCI:
0/38
Type:
PPPoA
Modulation:
G.992.5 Annex A
Latency type:
Interleaved
Noise margin (Down/Up):
3.6 dB / 7.0 dB
Line attenuation (Down/Up):
20.9 dB / 11.1 dB
Output power (Down/Up):
20.1 dBm / 12.6 dBm
FEC Events (Down/Up):
8822810 / 44550
CRC Events (Down/Up):
121 / 59570
Loss of Framing (Local/Remote):
0 / 0
Loss of Signal (Local/Remote):
0 / 0
Loss of Power (Local/Remote):
0 / 0
HEC Events (Down/Up):
1805 / 164783
Error Seconds (Local/Remote):
87 / 45535Hi,
Thanks for replying.
line test was fine.
Here are results from bt speed tester
1. Best Effort Test: -provides background information.
Download Speed
15.57 Mbps
0 Mbps
21 Mbps
Max Achievable Speed
Download speedachieved during the test was - 15.57 Mbps
For your connection, the acceptable range of speeds is 4 Mbps-21 Mbps.
IP Profile for your line is - 16.12 Mbps
2. Upstream Test: -provides background information.
Upload Speed
0.83 Mbps
0 Mbps
0.83 Mbps
Max Achievable Speed
Upload speed achieved during the test was - 0.83Mbps
Additional Information:
Upstream Rate IP profile on your line is - 0.83 Mbps -
UCP wrapped connection is very slow
Test with oracle jdbc driver - 11.2.0.3 and latest 12.1.0.1.
When we create connections directly, we get an instance of oracle.jdbc.driver.LogicalConnection.
When we create connections from UCP pool, we get an instance of $Proxy
Then, we run the same test on this connection:
public static long runDBTest(int loopCount) {
final Connection con = //get connection from pool or directly
long b = System.currentTimeMillis();
for(int index=0;index<loopCount;index++){
try {
PreparedStatement s = con.prepareStatement("select count(*) from no_table");
s.close();
catch (Exception e) {
System.out.println(e);
return (System.currentTimeMillis()-b);
some result of 10000 iterations:
--------- UCP accessUniversalConnectionPool ---------
connection: $Proxy0@61578aab
prepare statement only (ms): 512, 523...
execute a statement (ms): 2029, 2022...
--------- accessOracleConnectionPool ---------
connection: oracle.jdbc.driver.LogicalConnection@3adec8b3
prepare statement only (ms): 223, 247...
execute a statement (ms): 1632, 1671...
This is just synthetic test, but we did our performance tests with real usage of database (selects, updates) and it is indeed slower in real life scenarios, by magnitude of 10, so this synthetic test shows the problem very vell.
Is this inherent overhead of UCP or something can be done? Dynamic proxies introduce that much overhead?
As I understand, we need to use UCP to be able to support advanced features like oracle RAC, right?1). yes, same JVM. it is running from same standalone java class, just pass into different parameters.
2). I already did, there is no significant different in execution part, time difference is from the prepare step.
the tests are done with local database, means JVM and oracle are in same machine.
see result below, execution part only is pretty much similar, around 1.5s.
--------- UCP accessUniversalConnectionPool ---------
connection: $Proxy0@61578aab
prepare statement only (ms): 512, 523...
execute a statement (ms): 2029, 2022... --- execution part is 1500 ms.
--------- accessOracleConnectionPool ---------
connection: oracle.jdbc.driver.LogicalConnection@3adec8b3
prepare statement only (ms): 223, 247...
execute a statement (ms): 1632, 1671...--- execution part is 1400 ms. -
DBProviderFactories.GetFactory("Oracle.DataAccess.Client") very slow
The call to System.Data.Common.DBProvidersFactories.GetFactory("Oracle.DataAccess.Client") is taking over 2 minutes to return on my computer. By comparison, calls to GetFactory() for the System.Data.SqlClient and IBM.Data.DB2 takes less than a second.
Even more strange, the same call is very fast if I am running the code inside of the VS2010 debugger.
ODAC version 11.2.0.1.2 (32bit version)
Windows 7 64 bit
.NET 3.5 SP1
Oracle server - not relevant since test pgm is not connecting to a serve.
Code developed with VS 2010.
Test pgm built with:
- Target CPU=32 (so app runs as 32bit mode, instead of 64)
- Target Framework = .NET 3.5 SP1
The call has not always been this slow. I have been running with ODAC 11.2.0.1.2 since it's release. But, IIRC, the slowness just started several weeks ago.
Below is the test pgm:
Imports System.Configuration
Imports System.Data.Common
Module Module1
Sub Main()
CreateFactory("Oracle.DataAccess.Client")
CreateFactory("System.Data.SqlClient")
CreateFactory("IBM.Data.DB2")
End Sub
Sub CreateFactory(ByVal providerName As String)
Dim sw = New Stopwatch
sw.Start()
Dim factory = DbProviderFactories.GetFactory(providerName)
sw.Stop()
If factory Is Nothing Then
Throw New Exception(String.Format("DbProviderFactories.GetFactory({0}) failed", providerName))
End If
Console.WriteLine("DbProviderFactories.GetFactory({0}) call took {1} secs", providerName, sw.Elapsed.TotalSeconds)
End Sub
End ModuleThe output I get is:
DbProviderFactories.GetFactory(Oracle.DataAccess.Client) call took 130.1584958 secs
DbProviderFactories.GetFactory(System.Data.SqlClient) call took 0.0001462 secs
DbProviderFactories.GetFactory(IBM.Data.DB2) call took 0.1252213 secs
Please let me know if you need any more information. All help is appreciated.
JimAs I mentioned before, if I loaded the DBProviderFactory object, for the IBM.Data.DB2 provider, loading the Oracle.DataAccesss.Client provider ran quickly. The IBM.Data.DB2 provider always using a distributed transaction to communicate with the database. So, my guess is that the IBM DBProviderFactory was doing work to prepare for a distributed transaction. And this prep work allows the Oracle DBProviderFactory to run much faster.
So to test my theory, I created a TransactionScope object, before creating the Oracle DBProviderFactory. See new code below:
<pre>
Sub Main()
Using ts = New Transactions.TransactionScope()
CreateFactory("Oracle.DataAccess.Client")
End Using
End Sub
Sub CreateFactory(ByVal providerName As String)
Dim sw = New Stopwatch
sw.Start()
Dim factory = DbProviderFactories.GetFactory(providerName)
sw.Stop()
If factory Is Nothing Then
Throw New Exception(String.Format("DbProviderFactories.GetFactory({0}) failed", providerName))
End If
Console.WriteLine("DbProviderFactories.GetFactory({0}) call took {1} secs", providerName, sw.Elapsed.TotalSeconds)
End Sub
</pre>
And this was the result:
DbProviderFactories.GetFactory(Oracle.DataAccess.Client) call took 0.1925129 sec
a dramatic speedup.
Is this expected behavior? More importantly, is there a fix to make loading the Oracle DbProviderFactory faster without requiring the creation of a TransactionScope object?
Thanks,
Jim
Edited by: thompkin on Nov 18, 2010 10:55 AM -
Hi all,
I have two Windows 2000 Servers:
1. Compaq Server with one 2.4G CPU, 1G RAM and 30G harddisk
2. Acer Server with one 2.4G CPU, 1G RAM and 30G harddisk
The software configuration of two server are identical, they both have:
1 Windows 2000 Server with SP3
2 Oracle 8i ( Oracle configuration(such SGA, buffer size, etc...) are also identical
But I found two strange things I cannot explain.
1.)
When I local(not throuhg network) login Oracle on Compaq Server, it only takes no more than 1second to login. But When I local login Oracle on Acer Server it takes about 3 seconds to logon.
2.)
I local login to Oracle on Acer Server, and followed by executing a query which involves external procedure call, it takes 5 seconds to finish that query. In the same session, I executed the same query again and again, it only took 2 seconds to complete. I donot know why the first execution of a query (with external procedure call) takes longer time. It seems Oracle takes some time to load the external procedure service in Acer server. Again the strange thing, there is not such issue in Compaq Server, no matter when I execute the same query, it always take 2 seconds.
Could any one tell me why Oracle on Acer Server has slow response in certain situations (e.g Logon , and run first query involve external procedure). And any solution to solve the problem?
Thanks in advance.
FrankCould any one tell me why Oracle on Acer Server has slow response in certain situations (Maybe that's why Compaq charge more than Acer.
Cheers, APC -
Oracle Database suddenly very slow!
Hello,
After running our Oracle 10g instance on Red Hat Enterprise for more than two years without an itch it suddenly became extremely slow. A simple query that would take a few seconds now takes an hour to complete! It is not the network since the same happens from a local console.
I checked the log files on bdump and cdump but couldn't see anything wrong.
Any assistance would be much appreciated!
Thank you in advance.hi,
do you perform the following
execute dbms_stats.gather_system_stats ('Start');
let the system do some typical work
execute dbms_stats.gather_system_stats ('Stop');
try running this and see what happens.
could you also post back some
vmstat 10 13
under typical work load and also some
sar figures
rgds
alan -
Oracle database is very slow and hangs sometime
I am using Oracle 11g on Red hat 5.2 . My RAM is of 6 GB and swap size is 12GB . When I checked the used RAM and Swap area by using $ free -m command it shows that enough free memory (almost 4990 GB and swap space (more than 10GB) is available to use. Then I checked an alert.log file as my database was hanged . It contains error like
1. audit commit delay exceeded oracle
2. unable to spawn jobq slave process oracle
3. maximum number of sessions exceeded
4. could not allocate new resource
My init.ora contains following parameters.
Processes =150
Sessions= 248
Transactions = 220
memory_target = 2400m
sga_max_size = 1500m
sga_target = 0m
So, what steps i should take to stop database hanging and how can i boost slow performance ? Is there any problem with my resource manager and if so then how can i correct it?
Thanks
Tushar LapaniHi,
Please check the query
SELECT username,default_tablespace from dba_users;
Ususally the default tablespace of the user should not be in SYSTEM tablespace. This might cause performance issue. Create a seperate tablespace and alter/assign this user. Also must move all the objects from SYSTEM tablespace to this new tablespace which you created.
For complete details, you can refer the document http://docs.oracle.com/cd/B14117_01/server.101/b10752.pdf
Maybe you are looking for
-
New iMac - iChat won't quit....
Hi, I just got my new iMac 24" and I've had no problems with it in general. I was flirting with the idea of joining iChat and getting an iMac acoount when I changed my mind. So I tried to back out and quit the iChat application. But the 'Welcome to i
-
I seem to remember about 4 years ago that it is possible to do panel canvases with tabs in Forms 4.5. I'm running a Apps 10.7 shop that uses 4.5 and we want to have panels on our custom forms. Anyone know how to do it in 4.5? Thanks,
-
ScrollPane doesn't display its content
I created a scrollpane in as3 and set its source to another object, which contains several rows of icons. The scrollbar in the scrollpane is getting the right length, which means the object was loaded as expected, but the contant is not showing corre
-
My non iphone user friend is not getting my messages
My friend is not receiving my imessages. My Imessage ballon on my macbook air is not opening.
-
What happens after failed passcode attempts
Ok so i setup a restrictions passcode different from password and I haven't the slightest what it is. Ok I have about 20 options but only 7 attempts left. My questions are: 1. What happens whenI run out of failed attempts? 2. If I CAN get into restri