I need to perform manually sweep my embedded database using zeoslib.
How can I ?
Thank you
How can I perform SWEEP by zeoslib API ?
Moderators: gto, cipto_kh, EgonHugeist, mdaems
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Thanks for the extra info. As seawolf wrote : this isn't yet implemented and not planned either.
I did some research now. To implement sweeping we must issue the isc_service_start( ) API call. This interface isn't available in the zeoslib plaindriver code yet, and my IB/FB experience is too limited to build this myself.
Functionally I would implement this the same way createnewdatabase is implemented : as a connection property. Adding 'sweep=true' to Connection.properties would perform a sweep upon connect.
Implementing this would at once provide an interface to do some other administration tasks (like validation and repair) as well.
Moved to Feature Requests, waiting for a FB guru to implement...
Mark
I did some research now. To implement sweeping we must issue the isc_service_start( ) API call. This interface isn't available in the zeoslib plaindriver code yet, and my IB/FB experience is too limited to build this myself.
Functionally I would implement this the same way createnewdatabase is implemented : as a connection property. Adding 'sweep=true' to Connection.properties would perform a sweep upon connect.
Implementing this would at once provide an interface to do some other administration tasks (like validation and repair) as well.
Moved to Feature Requests, waiting for a FB guru to implement...
Mark