You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by José Guilherme Vanz <gu...@gmail.com> on 2015/01/29 11:31:19 UTC

Database schema migration

Hello

I am studying Cassandra for while and to practice the libraries and
concepts I will implement a simple Cassandra client. During my research I
faced a doubt about schema migrations. What the common/best practice in
production clusters? I mean, who actually make the schema migration? The
application or the cluster mananger have to update the schema before update
the application?

All the best
Vanz

Re: Database schema migration

Posted by José Guilherme Vanz <gu...@gmail.com>.
Yeap, some of the tools I already found. Anyway, thank you for the link
=]

On Thu, Jan 29, 2015 at 9:29 AM, Paulo Ricardo Motta Gomes <
paulo.motta@chaordicsystems.com> wrote:

> This might be of interest (you probably have already found it):
> http://grokbase.com/t/cassandra/user/14bs9zvasf/cassandra-schema-migrator
>
> On Thu, Jan 29, 2015 at 9:16 AM, José Guilherme Vanz <
> guilherme.sft@gmail.com> wrote:
>
>> Hi, Ricardo
>>
>> Thank you for your quick reply. =]
>> I'll take a look in the mutagen-cassandra and others I find in the
>> archives
>>
>> All the best
>>
>>
>> On Thu, Jan 29, 2015 at 8:38 AM, Paulo Ricardo Motta Gomes <
>> paulo.motta@chaordicsystems.com> wrote:
>>
>>> Hello José,
>>>
>>> There isn't yet an officially supported way to perform schema migrations
>>> afaik, but there are quite a few tools on github that perform migrations
>>> either from within the application, or external tools. We currently use
>>> this tool to perform migrations embedded in the application:
>>> https://github.com/fromanator/mutagen-cassandra
>>>
>>> You may find other options in the mail list archives.
>>>
>>> Cheers,
>>>
>>> On Thu, Jan 29, 2015 at 8:31 AM, José Guilherme Vanz <
>>> guilherme.sft@gmail.com> wrote:
>>>
>>>> Hello
>>>>
>>>> I am studying Cassandra for while and to practice the libraries and
>>>> concepts I will implement a simple Cassandra client. During my research I
>>>> faced a doubt about schema migrations. What the common/best practice in
>>>> production clusters? I mean, who actually make the schema migration? The
>>>> application or the cluster mananger have to update the schema before update
>>>> the application?
>>>>
>>>> All the best
>>>> Vanz
>>>>
>>>>
>>>
>>>
>>> --
>>> *Paulo Motta*
>>>
>>> Chaordic | *Platform*
>>> *www.chaordic.com.br <http://www.chaordic.com.br/>*
>>> +55 48 3232.3200
>>>
>>
>>
>>
>> --
>> Att. José Guilherme Vanz
>> br.linkedin.com/pub/josé-guilherme-vanz/51/b27/58b/
>> <http://br.linkedin.com/pub/jos%C3%A9-guilherme-vanz/51/b27/58b/>
>> "O sofrimento é passageiro, desistir é para sempre" - Bernardo Fonseca,
>> recordista da Antarctic Ice Marathon.
>>
>
>
>
> --
> *Paulo Motta*
>
> Chaordic | *Platform*
> *www.chaordic.com.br <http://www.chaordic.com.br/>*
> +55 48 3232.3200
>



-- 
Att. José Guilherme Vanz
br.linkedin.com/pub/josé-guilherme-vanz/51/b27/58b/
<http://br.linkedin.com/pub/jos%C3%A9-guilherme-vanz/51/b27/58b/>
"O sofrimento é passageiro, desistir é para sempre" - Bernardo Fonseca,
recordista da Antarctic Ice Marathon.

Re: Database schema migration

Posted by Paulo Ricardo Motta Gomes <pa...@chaordicsystems.com>.
This might be of interest (you probably have already found it):
http://grokbase.com/t/cassandra/user/14bs9zvasf/cassandra-schema-migrator

On Thu, Jan 29, 2015 at 9:16 AM, José Guilherme Vanz <
guilherme.sft@gmail.com> wrote:

> Hi, Ricardo
>
> Thank you for your quick reply. =]
> I'll take a look in the mutagen-cassandra and others I find in the archives
>
> All the best
>
>
> On Thu, Jan 29, 2015 at 8:38 AM, Paulo Ricardo Motta Gomes <
> paulo.motta@chaordicsystems.com> wrote:
>
>> Hello José,
>>
>> There isn't yet an officially supported way to perform schema migrations
>> afaik, but there are quite a few tools on github that perform migrations
>> either from within the application, or external tools. We currently use
>> this tool to perform migrations embedded in the application:
>> https://github.com/fromanator/mutagen-cassandra
>>
>> You may find other options in the mail list archives.
>>
>> Cheers,
>>
>> On Thu, Jan 29, 2015 at 8:31 AM, José Guilherme Vanz <
>> guilherme.sft@gmail.com> wrote:
>>
>>> Hello
>>>
>>> I am studying Cassandra for while and to practice the libraries and
>>> concepts I will implement a simple Cassandra client. During my research I
>>> faced a doubt about schema migrations. What the common/best practice in
>>> production clusters? I mean, who actually make the schema migration? The
>>> application or the cluster mananger have to update the schema before update
>>> the application?
>>>
>>> All the best
>>> Vanz
>>>
>>>
>>
>>
>> --
>> *Paulo Motta*
>>
>> Chaordic | *Platform*
>> *www.chaordic.com.br <http://www.chaordic.com.br/>*
>> +55 48 3232.3200
>>
>
>
>
> --
> Att. José Guilherme Vanz
> br.linkedin.com/pub/josé-guilherme-vanz/51/b27/58b/
> <http://br.linkedin.com/pub/jos%C3%A9-guilherme-vanz/51/b27/58b/>
> "O sofrimento é passageiro, desistir é para sempre" - Bernardo Fonseca,
> recordista da Antarctic Ice Marathon.
>



-- 
*Paulo Motta*

Chaordic | *Platform*
*www.chaordic.com.br <http://www.chaordic.com.br/>*
+55 48 3232.3200

Re: Database schema migration

Posted by José Guilherme Vanz <gu...@gmail.com>.
Hi, Ricardo

Thank you for your quick reply. =]
I'll take a look in the mutagen-cassandra and others I find in the archives

All the best


On Thu, Jan 29, 2015 at 8:38 AM, Paulo Ricardo Motta Gomes <
paulo.motta@chaordicsystems.com> wrote:

> Hello José,
>
> There isn't yet an officially supported way to perform schema migrations
> afaik, but there are quite a few tools on github that perform migrations
> either from within the application, or external tools. We currently use
> this tool to perform migrations embedded in the application:
> https://github.com/fromanator/mutagen-cassandra
>
> You may find other options in the mail list archives.
>
> Cheers,
>
> On Thu, Jan 29, 2015 at 8:31 AM, José Guilherme Vanz <
> guilherme.sft@gmail.com> wrote:
>
>> Hello
>>
>> I am studying Cassandra for while and to practice the libraries and
>> concepts I will implement a simple Cassandra client. During my research I
>> faced a doubt about schema migrations. What the common/best practice in
>> production clusters? I mean, who actually make the schema migration? The
>> application or the cluster mananger have to update the schema before update
>> the application?
>>
>> All the best
>> Vanz
>>
>>
>
>
> --
> *Paulo Motta*
>
> Chaordic | *Platform*
> *www.chaordic.com.br <http://www.chaordic.com.br/>*
> +55 48 3232.3200
>



-- 
Att. José Guilherme Vanz
br.linkedin.com/pub/josé-guilherme-vanz/51/b27/58b/
<http://br.linkedin.com/pub/jos%C3%A9-guilherme-vanz/51/b27/58b/>
"O sofrimento é passageiro, desistir é para sempre" - Bernardo Fonseca,
recordista da Antarctic Ice Marathon.

Re: Database schema migration

Posted by Paulo Ricardo Motta Gomes <pa...@chaordicsystems.com>.
Hello José,

There isn't yet an officially supported way to perform schema migrations
afaik, but there are quite a few tools on github that perform migrations
either from within the application, or external tools. We currently use
this tool to perform migrations embedded in the application:
https://github.com/fromanator/mutagen-cassandra

You may find other options in the mail list archives.

Cheers,

On Thu, Jan 29, 2015 at 8:31 AM, José Guilherme Vanz <
guilherme.sft@gmail.com> wrote:

> Hello
>
> I am studying Cassandra for while and to practice the libraries and
> concepts I will implement a simple Cassandra client. During my research I
> faced a doubt about schema migrations. What the common/best practice in
> production clusters? I mean, who actually make the schema migration? The
> application or the cluster mananger have to update the schema before update
> the application?
>
> All the best
> Vanz
>
>


-- 
*Paulo Motta*

Chaordic | *Platform*
*www.chaordic.com.br <http://www.chaordic.com.br/>*
+55 48 3232.3200