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

Summary: DatabaseOption.writeExternal is slow
Product: db Reporter: Jesse Glick <jglick>
Component: CodeAssignee: Radko Najman <rnajman>
Severity: blocker Keywords: PERFORMANCE
Priority: P3    
Version: -S1S-   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 24145    
Bug Blocks: 20190    

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