<commit_before>---
authors: <NAME> <<EMAIL>>
state: predraft
---

<!--
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->

<!--
    Copyright 2018 Joyent Inc.
-->

# RFD 125 Online Schema Changes in Manta


## Overview

This RFD will propose an online schema change system for Manta.

A schema change in Manta is a modification to any part of the database structure
that Moray is aware of. This includes, but is not limited to: tables, sequences,
and indexes.

As we scale Manta to handle heavier workloads, we may find it necessary to
change these schemata to consolidate storage or improve data-path performance
and availability. We cannot predict all changes we may have to make in the
future. For this reason, we should have a system for making such changes in
production Manta deployment with minimal performance impact and no service<commit_msg>RFD 125 add gh issue link<commit_after>---
authors: <NAME> <<EMAIL>>
state: predraft
discussion: https://github.com/joyent/rfd/issues/84
---

<!--
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->

<!--
    Copyright 2018 Joyent Inc.
-->

# RFD 125 Online Schema Changes in Manta


## Overview

This RFD will propose an online schema change system for Manta.

A schema change in Manta is a modification to any part of the database structure
that Moray is aware of. This includes, but is not limited to: tables, sequences,
and indexes.

As we scale Manta to handle heavier workloads, we may find it necessary to
change these schemata to consolidate storage or improve data-path performance
and availability. We cannot predict all changes we may have to make in the
future. For this reason, we should have a system for making such changes in
production Manta deployment with minimal performance impact and no service
{'fraction_non_alphanumeric': 0.06292026897214217, 'fraction_numerical': 0.012968299711815562, 'mean_word_length': 3.6186252771618626, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1955943', 'n_tokens_mistral': 577, 'n_tokens_neox': 536, 'n_words': 320}