Is there a way to track the execution of an ALTER DATABASE SCHEMA FROM FILE command?
We were wondering if we could follow the progress of a database schema update, to alert the user about how much he should wait until the execution is completed.
Ps: We are targeting the iPhone and Android devices.
Request clarification before answering.
I'm afraid the answer is currently no. And it is true that altering columns or creating indexes can take some time when there are a lot of rows.
I suggest you synchronize any pending changes first, then request users patiently wait for the update to complete (possibly ensuring there is enough power available). Unlike a synchronization/network operation, while the alter-database request is active, you can be sure that work is progressing. Given that, it seems appropriate that the UI thread display some kind of "yes, I'm still alive and working" indication.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The feature you can use to track modifications in any database object (such tables).
I think the best name is notification (UlConnection.getNotification)
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.