This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Connect, disconnect on Database Connection freezes IDE for several min | ||
---|---|---|---|
Product: | db | Reporter: | Martin Schovanek <mschovanek> |
Component: | Code | Assignee: | Radko Najman <rnajman> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | bht |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 28199, 30946 | ||
Bug Blocks: |
Description
Martin Schovanek
2003-01-08 12:40:35 UTC
I get the same problem with the IDE version 4, build 2003 0108 0100 in Win98. However I do not get any errors in the log. Connect time is about 3 minutes, disconnect is 10 minutes, both with 100% CPU. How to reproduce: Install the embeddable database engine QED from www.quadcap.com/ This might provide a better testing environment. Why? Because I have used the database explorer with other databases but with QED the disconnect time is much slower. However QED normally connects and disconnects as fast or faster than other embeddable databases. The main problem is that the db connection is created in AWT thread. When the connection is created, the module starts to get basic informations about the database (metadata) to display them in properties window so it communicates with the database. This action can take some time and in this time the IDE is frozen. There is a task in Issuezilla (#28199) to reimplement the Database Explorer module to run these tasks in separate threads. Partially fixed in trunk - properties are set in a separete thread. One more performance enhancement implemented - PropertySupport object is created only once, not everytime when the connection status is changed. Closing as FIXED, the other progress will be tracked under bug #28199. *** Issue 30319 has been marked as a duplicate of this issue. *** VERIFIED |