[openstack-dev] [Nova] Database changes coming in Grizzly

Devananda van der Veen devananda.vdv at gmail.com
Fri Jan 25 16:24:08 UTC 2013


Hi all,

By my count, there are eight database-related blueprints targeted for
Grizzly. Some of these bring significant improvements over Folsom, and some
have user (deployer) impact. We discussed these at the DB meeting
yesterday. Below is a list of the BPs and a summary of our thoughts on the
current status and what the impact of the change is. If you're working on
one of these blueprints and think the info below is wrong, please let me
know.

I also want to thank everyone who's been working to make Openstack's
database usage better. Cheers!


* No-db-compute - https://blueprints.launchpad.net/nova/+spec/no-db-compute
 - Move all database access out of nova-compute and into the new
nova-conductor service.
 - Progress: good. Still targeted to G3.
 - Impact: user-facing. Improves security because database password will no
longer be needed by nova-compute.

* Db-archive - https://blueprints.launchpad.net/nova/+spec/db-archiving
 - Provide ability to automatically move deleted records to shadow tables.
 - Progress: recently unblocked. First patch up for review. Second (and
possibly final) patch coming soon. Still targeted for G3.
 - Impact: user-facing. Table size will not bloat over time, leading to
improved database performance. Some deployers may have internal processes
which duplicate or conflict with this change.

* Db-unique-keys -
https://blueprints.launchpad.net/nova/+spec/db-unique-keys
 - Allow real unique constraints. This addresses several race conditions
and locking concerns in db/api where uniqueness was softly-enforced by nova.
 - Progress: good. Still targeted to G3. Prerequisites have landed. Code
now supports unique indexes and patches to add them will be proposed soon.
 - Impact: internal.

* Db-api-cleanup -
https://blueprints.launchpad.net/nova/+spec/db-api-cleanup
 - Improve consistency and maintainability of db/api in several ways.
 - Progress: good. Still targeted to G3.
 - Impact: internal. More maintainable code and cleaner RPC.

* Db-session-cleanup -
https://blueprints.launchpad.net/nova/+spec/db-session-cleanup
 - Remove "session" parameter from public db/api methods. Cleans up
inconsistent use of transactions within db/sqlalchemy/api.
 - Progress: good. Still targeted for G3.
 - Impact: internal.

* Non-blocking-db -
https://blueprints.launchpad.net/nova/+spec/non-blocking-db
 - Use eventlet's db-pool so that MySQL queries don't block the whole
python process.
 - Progress: done, but has a known bug (
https://bugs.launchpad.net/nova/+bug/1097992 )
 - Impact: user-facing. This feature is disabled by default; deployer must
choose to enable it.

* Backportable-db-migrations -
https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations
 - Progress: deferred to H series.
 - Impact: internal.

* common-db (oslo) - https://blueprints.launchpad.net/oslo/+spec/common-db
 - Share common database code between projects.
 - Progress: Nothing in trunk yet but still targeted to Grizzly. WIP patch:
https://review.openstack.org/#/c/19970/
 - Impact: internal. Make Openstack DRYer.


--
Devananda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130125/50758d80/attachment.html>


More information about the OpenStack-dev mailing list