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.

Bug 29833 - DatabaseOption.writeExternal is slow
Summary: DatabaseOption.writeExternal is slow
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Radko Najman
Depends on: 24145
Blocks: 20190
  Show dependency tree
Reported: 2003-01-07 16:16 UTC by Jesse Glick
Modified: 2004-09-16 10:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2003-01-07 16:16:44 UTC
It calls getAvailableDrivers, which seems to be
very time-consuming according to a profiler. A
major block of time spent shutting down S1SEE
seems to be DatabaseModule.closing -> getOption ->
DatabaseOption.writeExternal (for some reason,
maybe part of save()) -> getAvailableDrivers.
Please consider whether it is really necessary to
persist all of this information - note that in the
EE session in question, I had never even looked at
the DB node in Runtime, much less made any
customizations. Try to store only things actually
changed by the user.
Comment 1 Radko Najman 2003-01-22 18:00:04 UTC
I'm aware of this problem, I found it some time ago too.
I plan to fix it with some other design changes.
Meantime I will look if I can do some quick performance improvement.
Comment 2 Radko Najman 2003-10-20 10:41:55 UTC
Will be solved by #24145 changes.
Comment 3 Radko Najman 2004-01-19 15:03:40 UTC
getAvailableDrivers() is not called anymore.
Comment 4 dmladek 2004-09-16 10:29:29 UTC
looking into code, it's been removed in rev:1.25 of DatabaseOption