- This topic has 12 replies, 3 voices, and was last updated 19 years, 4 months ago by
Haris Peco.
-
AuthorPosts
-
Todd CorleyParticipantEclipse 3.1.1
MyEclipse 4.1
Oracle 9iConnecting with thin drivers.
jdbc: latest classes12.jarI can connect fine to the db.
If I click on the tree expand [+] it will show the columns in a table.
I can even use the sql file to manipulate the db.
BUT
If I left or right click on any of the table nodes DBBrowser it a wait cursor is shown and Eclipse locks up.I will note that I am working with a fairly complex db. Talking with our Oracle person and he suggested using optimizer options, but I don’t know if the DB browser allows customization.
Any suggestions?
February 15, 2006 at 9:26 am #246800
Todd CorleyParticipantAfter I posted I updated to ojdbc14.zip drivers for 92. It didn’t help.
February 15, 2006 at 9:27 am #246802
Riyad KallaMemberCan you paste the result of MyEclipse > About > Configuration Summary for us?
February 15, 2006 at 9:31 am #246806
Todd CorleyParticipant@support-rkalla wrote:
Can you paste the result of MyEclipse > About > Configuration Summary for us?
*** Date: Wed Feb 15 10:29:52 EST 2006
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.0 GA
Build id: 20060122-4.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.1
Build id: M20050929-0840Eclipse Platform
Version: 3.1.1
Build id: M20050929-0840Eclipse RCP
Version: 3.1.1
Build id: M20050929-0840Eclipse Java Development Tools
Version: 3.1.1
Build id: M20050929-0840Eclipse Plug-in Development Environment
Version: 3.1.1
Build id: M20050929-0840Eclipse Project SDK
Version: 3.1.1
Build id: M20050929-0840Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\todd\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
d6c_38
-vm
C:\WINDOWS\system32\javaw.exeFebruary 15, 2006 at 9:40 am #246811
Todd CorleyParticipantThis comment is just so I can add notification for replies.
February 15, 2006 at 12:03 pm #246826
Haris PecoMemberTodd,
Click on table node read table information : columns, indexes, pk,fk (you see this in Table Info view).It have to work good for very complex table and i suppose that you have non-optimized database.
I will try help you that optimize your database, if you can send us any dataFirst, you can try call analyze database statistics, but is likely to take quite a while (hours), special if your database isn’t optimized.
Please call this command in sql editor (you must have dba privilege for some commands)
and send us results from ‘Sql Results’1) for currently parameters
select * from v$parameter
2) for introduction in complexity your database
select object_type,count(*)
from all_objects
group by object_type3) I suppose that you have bad settings for a temporary tablespace
Send us this :select *
from dba_tablespacesselect file#,status,blocks,name
from v$tempfileBest
February 15, 2006 at 12:23 pm #246827
Todd CorleyParticipantI am contracting on a project that I have no control over the db.
I am pming you the results of the query’s you suggested.SQL is not my strongest suite, but the DBA said that if I can get the DB Browser tool to inject an optimizer call that it would help.
Any idea of what he is talking about?
February 15, 2006 at 12:28 pm #246828
Todd CorleyParticipantCould you delete that last post, I clicked the wrong button. That was supposed to be a pm.
February 15, 2006 at 1:00 pm #246830
Riyad KallaMember*deleted*
February 15, 2006 at 1:04 pm #246831
Haris PecoMemberSQL is not my strongest suite, but the DBA said that if I can get the DB Browser tool to inject an optimizer call that it would help.
this is command, but i think that it isn’t problem
alter system set optimizer_mode=choose
you can set rule, first_rows, but CHOOSE is fine – you can see parameter in ‘select * from v$parameter’
I suppose that is ‘CHOOSE’ already and it will not help usI haven’t saw this parameter, because you send me firts 100 rows only .
never mind – see optimizer_mode and if it CHOOSE, it is fineyou need dba privilege for change parameter
February 15, 2006 at 1:19 pm #246833
Haris PecoMemberselect object_type,count(*)
from all_objects
group by object_typeyour database is relative complex, but it isn’t problem – for MyEclipse ‘click’ performance depend from number of tables,views,index,columns – it work perfect on bigger database
your database is bad optimized or your default temporary tablespace is small (do you have one or more usernames) ?
Do you have sqlplus ?
Best
February 15, 2006 at 1:29 pm #246834
Haris PecoMemberSQL is not my strongest suite, but the DBA said that if I can get the DB Browser tool to inject an optimizer call that it would help.
What does that mean? How can we know the database features and inject calls, if oracle guys can’t do it in their JDBC driver ?
Best
February 18, 2006 at 6:34 am #246980
Haris PecoMemberTodd,
Have you resolved this problem ?
Best
-
AuthorPosts