Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a schema versioning tool for cassandra [closed]

Tags:

cassandra

In the sql world, it's quite common to have a tool that goes through a folder of schema scripts to set up some schema. A widely used approach is to have a table holding the current db version number, and ddl scripts so that we can start from any version of the db and update to any subsequent version in a controller manner. Visual Studio has db projects, redgate have similar tools.

I was wondering if there's something for cassandra as well. I know it won't be too difficult to implement something basic for cassandra, but was wondering if somebody's already done it.

like image 432
ashic Avatar asked Aug 13 '14 12:08

ashic


People also ask

How do I design a schema for a Cassandra database?

There are several tools available to help you design and manage your Cassandra schema and build queries. Hackolade is a data modeling tool that supports schema design for Cassandra and many other NoSQL databases.

What is @Cassandra migration tool for Java?

Cassandra migration tool for java is a lightweight tool used to execute schema and data migration on Cassandra database. Schema versioning state is saved in schema_version table which stores name and description of migration along with type and timestamp.

Where does schema versioning state is saved?

Schema versioning state is saved in schema_version table which stores name and description of migration along with type and timestamp. There are two types of migrations: SCHEMA migrations, which alter database schema (add or remove column, change type of column, add table, etc)

Is Cassandra a key or value database?

Cassandra as a Key-value Database Cassandra can be thought of as a key-value database. Under the hood and beyond its Cassandra Query Language (CQL) and schemas, it actually contains a lookup key for every data in the form of a primary key. Considering this user_tweets table:


1 Answers

Pillar manages migrations for your Cassandra data stores.

Pillar grew from a desire to automatically manage Cassandra schema as code. Managing schema as code enables automated build and deployment, a foundational practice for an organization striving to achieve Continuous Delivery.

Pillar is to Cassandra what Rails ActiveRecord migrations or Play Evolutions are to relational databases with one key difference: Pillar is completely independent from any application development framework.

https://github.com/comeara/pillar

like image 179
Isvara Avatar answered Nov 26 '22 12:11

Isvara