You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by MOHD ARSHAD SALEEM <ma...@tataelxsi.co.in> on 2012/06/07 09:03:24 UTC
how to configure cassandra as multi tenant
Hi All,
I wanted to know how to use cassandra as a multi tenant .
Regards
Arshad
Re: how to configure cassandra as multi tenant
Posted by aaron morton <aa...@thelastpickle.com>.
Check the documentation for you client or http://www.datastax.com/docs/1.0/dml/using_cql
Cheers
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 11/06/2012, at 11:25 PM, MOHD ARSHAD SALEEM wrote:
> Hi Sasha,
>
> one more thing by using API's how to create keyspace and column family dynamically. write now i have to create first through the command prompt then that keyspace and column family used in API's.
>
> Regards
> Arshad
> From: Sasha Dolgy [sdolgy@gmail.com]
> Sent: Monday, June 11, 2012 4:49 PM
> To: user@cassandra.apache.org
> Subject: Re: how to configure cassandra as multi tenant
>
> Arshad,
>
> I used google with the following query: apache cassandra multitenant
>
> Suggest you do the same? As was mentioned earlier, there has been a lot of discussion about this topic for the past year -- especially on this mailing list. If you want to use Thrift or, to make your life easier, using Hector or a similar API, you can create keyspaces however you want ... aligned to your design / architecture to support Multitenancy. If it's code specific help you want ... check out the maililng lists / resources for the various API's that make working with Thrift easier:
>
> Hector
> Pycassa
> PHPCassa
>
> etc.
>
> -sd
>
> On Mon, Jun 11, 2012 at 12:05 PM, MOHD ARSHAD SALEEM <ma...@tataelxsi.co.in>wrote:
> Hi Sasha,
>
> Thanks for your reply. but what you send this is just to create keyspace manually
> using command prompt.how to create keyspace(Multi tenant) automatically
> using cassandra API's.
>
> Regards
> Arshad
>
> From: Sasha Dolgy [sdolgy@gmail.com]
> Sent: Monday, June 11, 2012 3:09 PM
>
> To: user@cassandra.apache.org
> Subject: Re: how to configure cassandra as multi tenant
>
> Google, man.
>
> http://wiki.apache.org/cassandra/MultiTenant
> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/about-multitenant-datamodel-td7575966.html
> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/For-multi-tenant-is-it-good-to-have-a-key-space-for-each-tenant-td6723290.html
>
> On Mon, Jun 11, 2012 at 11:37 AM, MOHD ARSHAD SALEEM <ma...@tataelxsi.co.in>wrote:
> Hi Aaron,
>
> Can you send me some particular link related to multi tenant research
>
> Regards
> Arshad
> From: aaron morton [aaron@thelastpickle.com]
> Sent: Thursday, June 07, 2012 3:34 PM
> To: user@cassandra.apache.org
> Subject: Re: how to configure cassandra as multi tenant
>
> Cassandra is not designed to run as a multi tenant database.
>
> There have been some recent discussions on this, search the user group for more detailed answers.
>
> Cheers
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote:
>
>> Hi All,
>>
>> I wanted to know how to use cassandra as a multi tenant .
>>
>> Regards
>> Arshad
>
>
>
>
> --
> Sasha Dolgy
> sasha.dolgy@gmail.com
>
>
>
> --
> Sasha Dolgy
> sasha.dolgy@gmail.com
RE: how to configure cassandra as multi tenant
Posted by MOHD ARSHAD SALEEM <ma...@tataelxsi.co.in>.
Hi Sasha,
one more thing by using API's how to create keyspace and column family dynamically. write now i have to create first through the command prompt then that keyspace and column family used in API's.
Regards
Arshad
________________________________
From: Sasha Dolgy [sdolgy@gmail.com]
Sent: Monday, June 11, 2012 4:49 PM
To: user@cassandra.apache.org
Subject: Re: how to configure cassandra as multi tenant
Arshad,
I used google with the following query: apache cassandra multitenant
Suggest you do the same? As was mentioned earlier, there has been a lot of discussion about this topic for the past year -- especially on this mailing list. If you want to use Thrift or, to make your life easier, using Hector or a similar API, you can create keyspaces however you want ... aligned to your design / architecture to support Multitenancy. If it's code specific help you want ... check out the maililng lists / resources for the various API's that make working with Thrift easier:
Hector
Pycassa
PHPCassa
etc.
-sd
On Mon, Jun 11, 2012 at 12:05 PM, MOHD ARSHAD SALEEM <ma...@tataelxsi.co.in>> wrote:
Hi Sasha,
Thanks for your reply. but what you send this is just to create keyspace manually
using command prompt.how to create keyspace(Multi tenant) automatically
using cassandra API's.
Regards
Arshad
________________________________
From: Sasha Dolgy [sdolgy@gmail.com<ma...@gmail.com>]
Sent: Monday, June 11, 2012 3:09 PM
To: user@cassandra.apache.org<ma...@cassandra.apache.org>
Subject: Re: how to configure cassandra as multi tenant
Google, man.
http://wiki.apache.org/cassandra/MultiTenant
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/about-multitenant-datamodel-td7575966.html
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/For-multi-tenant-is-it-good-to-have-a-key-space-for-each-tenant-td6723290.html
On Mon, Jun 11, 2012 at 11:37 AM, MOHD ARSHAD SALEEM <ma...@tataelxsi.co.in>> wrote:
Hi Aaron,
Can you send me some particular link related to multi tenant research
Regards
Arshad
________________________________
From: aaron morton [aaron@thelastpickle.com<ma...@thelastpickle.com>]
Sent: Thursday, June 07, 2012 3:34 PM
To: user@cassandra.apache.org<ma...@cassandra.apache.org>
Subject: Re: how to configure cassandra as multi tenant
Cassandra is not designed to run as a multi tenant database.
There have been some recent discussions on this, search the user group for more detailed answers.
Cheers
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote:
Hi All,
I wanted to know how to use cassandra as a multi tenant .
Regards
Arshad
--
Sasha Dolgy
sasha.dolgy@gmail.com<ma...@gmail.com>
--
Sasha Dolgy
sasha.dolgy@gmail.com<ma...@gmail.com>
Re: how to configure cassandra as multi tenant
Posted by Sasha Dolgy <sd...@gmail.com>.
Arshad,
I used google with the following query: apache cassandra multitenant
Suggest you do the same? As was mentioned earlier, there has been a lot of
discussion about this topic for the past year -- especially on this mailing
list. If you want to use Thrift or, to make your life easier, using Hector
or a similar API, you can create keyspaces however you want ... aligned to
your design / architecture to support Multitenancy. If it's code specific
help you want ... check out the maililng lists / resources for the various
API's that make working with Thrift easier:
Hector
Pycassa
PHPCassa
etc.
-sd
On Mon, Jun 11, 2012 at 12:05 PM, MOHD ARSHAD SALEEM <
marshadsaleem@tataelxsi.co.in> wrote:
> Hi Sasha,
>
> Thanks for your reply. but what you send this is just to create keyspace
> manually
> using command prompt.how to create keyspace(Multi tenant) automatically
> using cassandra API's.
>
> Regards
> Arshad
>
> ------------------------------
> *From:* Sasha Dolgy [sdolgy@gmail.com]
> *Sent:* Monday, June 11, 2012 3:09 PM
>
> *To:* user@cassandra.apache.org
> *Subject:* Re: how to configure cassandra as multi tenant
>
> Google, man.
>
> http://wiki.apache.org/cassandra/MultiTenant
>
> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/about-multitenant-datamodel-td7575966.html
>
> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/For-multi-tenant-is-it-good-to-have-a-key-space-for-each-tenant-td6723290.html
>
> On Mon, Jun 11, 2012 at 11:37 AM, MOHD ARSHAD SALEEM <
> marshadsaleem@tataelxsi.co.in> wrote:
>
>> Hi Aaron,
>>
>> Can you send me some particular link related to multi tenant research
>>
>> Regards
>> Arshad
>> ------------------------------
>> *From:* aaron morton [aaron@thelastpickle.com]
>> *Sent:* Thursday, June 07, 2012 3:34 PM
>> *To:* user@cassandra.apache.org
>> *Subject:* Re: how to configure cassandra as multi tenant
>>
>> Cassandra is not designed to run as a multi tenant database.
>>
>> There have been some recent discussions on this, search the user group
>> for more detailed answers.
>>
>> Cheers
>>
>> -----------------
>> Aaron Morton
>> Freelance Developer
>> @aaronmorton
>> http://www.thelastpickle.com
>>
>> On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote:
>>
>> Hi All,
>>
>> I wanted to know how to use cassandra as a multi tenant .
>>
>> Regards
>> Arshad
>>
>>
>>
>
>
> --
> Sasha Dolgy
> sasha.dolgy@gmail.com
>
--
Sasha Dolgy
sasha.dolgy@gmail.com
RE: how to configure cassandra as multi tenant
Posted by MOHD ARSHAD SALEEM <ma...@tataelxsi.co.in>.
Hi Sasha,
Thanks for your reply. but what you send this is just to create keyspace manually
using command prompt.how to create keyspace(Multi tenant) automatically
using cassandra API's.
Regards
Arshad
________________________________
From: Sasha Dolgy [sdolgy@gmail.com]
Sent: Monday, June 11, 2012 3:09 PM
To: user@cassandra.apache.org
Subject: Re: how to configure cassandra as multi tenant
Google, man.
http://wiki.apache.org/cassandra/MultiTenant
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/about-multitenant-datamodel-td7575966.html
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/For-multi-tenant-is-it-good-to-have-a-key-space-for-each-tenant-td6723290.html
On Mon, Jun 11, 2012 at 11:37 AM, MOHD ARSHAD SALEEM <ma...@tataelxsi.co.in>> wrote:
Hi Aaron,
Can you send me some particular link related to multi tenant research
Regards
Arshad
________________________________
From: aaron morton [aaron@thelastpickle.com<ma...@thelastpickle.com>]
Sent: Thursday, June 07, 2012 3:34 PM
To: user@cassandra.apache.org<ma...@cassandra.apache.org>
Subject: Re: how to configure cassandra as multi tenant
Cassandra is not designed to run as a multi tenant database.
There have been some recent discussions on this, search the user group for more detailed answers.
Cheers
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote:
Hi All,
I wanted to know how to use cassandra as a multi tenant .
Regards
Arshad
--
Sasha Dolgy
sasha.dolgy@gmail.com<ma...@gmail.com>
Re: how to configure cassandra as multi tenant
Posted by Sasha Dolgy <sd...@gmail.com>.
Google, man.
http://wiki.apache.org/cassandra/MultiTenant
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/about-multitenant-datamodel-td7575966.html
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/For-multi-tenant-is-it-good-to-have-a-key-space-for-each-tenant-td6723290.html
On Mon, Jun 11, 2012 at 11:37 AM, MOHD ARSHAD SALEEM <
marshadsaleem@tataelxsi.co.in> wrote:
> Hi Aaron,
>
> Can you send me some particular link related to multi tenant research
>
> Regards
> Arshad
> ------------------------------
> *From:* aaron morton [aaron@thelastpickle.com]
> *Sent:* Thursday, June 07, 2012 3:34 PM
> *To:* user@cassandra.apache.org
> *Subject:* Re: how to configure cassandra as multi tenant
>
> Cassandra is not designed to run as a multi tenant database.
>
> There have been some recent discussions on this, search the user group
> for more detailed answers.
>
> Cheers
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote:
>
> Hi All,
>
> I wanted to know how to use cassandra as a multi tenant .
>
> Regards
> Arshad
>
>
>
--
Sasha Dolgy
sasha.dolgy@gmail.com
RE: how to configure cassandra as multi tenant
Posted by MOHD ARSHAD SALEEM <ma...@tataelxsi.co.in>.
Hi Aaron,
Can you send me some particular link related to multi tenant research
Regards
Arshad
________________________________
From: aaron morton [aaron@thelastpickle.com]
Sent: Thursday, June 07, 2012 3:34 PM
To: user@cassandra.apache.org
Subject: Re: how to configure cassandra as multi tenant
Cassandra is not designed to run as a multi tenant database.
There have been some recent discussions on this, search the user group for more detailed answers.
Cheers
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote:
Hi All,
I wanted to know how to use cassandra as a multi tenant .
Regards
Arshad
Re: how to configure cassandra as multi tenant
Posted by aaron morton <aa...@thelastpickle.com>.
Cassandra is not designed to run as a multi tenant database.
There have been some recent discussions on this, search the user group for more detailed answers.
Cheers
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote:
> Hi All,
>
> I wanted to know how to use cassandra as a multi tenant .
>
> Regards
> Arshad