Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to override Keyspace in schema #98

Open
pierreis opened this issue Apr 9, 2017 · 1 comment
Open

Allow to override Keyspace in schema #98

pierreis opened this issue Apr 9, 2017 · 1 comment

Comments

@pierreis
Copy link
Contributor

pierreis commented Apr 9, 2017

Currently, the keyspace is defined once and for all in the ORM initial configuration.

Sometimes, in order to accommodate with different workloads, some data must be treated differently from some other, requiring its storage in different keyspaces.
One example of such cases would be logs requiring lower replication than live data, or a replication in a datacenter running data analytics.

Although it is obviously possible today to create two ORM instances to accommodate these different keyspaces, it is unpractical and is less and less as the number of keyspaces grows.

Would it be possible to add a keyspace option in the schema configuration, allowing to override the keyspace on a per-table basis?

@guharajan
Copy link

Is this support available now ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants