Couchbase Questions: N1QL

Have a Question? Get it answered by our community

rubynadler's picture
Asked 2 months 5 days ago
Latest activity 2 months 4 days ago

GetBucket

Hello,
i tried running the example Couchbase.NetDP1 in C#.
I changed the code so i connect to my server and bucket:

private void button1_Click(object sender, EventArgs e)
{
Cluster cluster = InitializeCluster2();
var bucket = GetBucket(...

fredericb's picture
Asked 3 months 2 hours ago
Latest activity 2 months 4 weeks ago

Is there any Java API to use N1QL?

Hello,

I'm interesting in N1QL with Couchbase. I understand that one can use:
- web interface (as in http://localhost:8093/tutorial)
- through CLI ( as in ./cbq -engine=http://HOST:8093/)

But...

yaco's picture
Asked 3 months 4 hours ago
Latest activity 3 months 1 hour ago

Error while trying to query my own repository in the Query Tutorial #3

Hello,

I'm trying to execute any query at the query tutorial #3 whit my own bucket and i'm not able to.

1) When i choose a wrong bucket name, i got the "non existing bucket repsonse", so there is no conectivity issues.
2) When the bucket it's empty, i got no errors, just a...

robertgtaylor1's picture
Asked 3 months 3 days ago
Latest activity 2 months 3 weeks ago

When do you expect N1QL to be ready for release?

I realize you will not want to commit to a date but when do you plan to make N1QL available; month, quarter, year?

Thanks.

jatin's picture
Asked 3 months 1 week ago
Latest activity 3 months 1 week ago

N1QL API To query document from c# .Net

Hello,

I want to query couchbase data using N1QL from c# .net,but i am not able to find any API which i can used to do that.

please help me as it is urgent.

Thanks!
Jatin

christopher.mina's picture
Asked 3 months 1 week ago
Latest activity 3 months 6 days ago

N1QL - Getting Started

I've got Couchbase 2.5.1 running on Mac OSX.

Using latest version of Couchnode, I am able to get and set objects no problem. However, I am not able to use N1QL query. every request comes back with "Not Found".

For instance, I have a simple "default" bucket with an object as {...

wrx230's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

How do i do a join that doesn't use document key?

How would I run a query like this:

"SELECT asset.fqdn, port.name FROM bucket asset JOIN bucket port ON port.assetId = asset.id" (or asset.id could be key).

Asset document is asset:1 and has asset.id (asset:1), and some other details.

Port document has port.assetId (asset:1...

canagey's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

With N1QL queries being executed on the Couchbase server, what is the cost (on performance) of running such queries?

Appreciate if the cost can be defined for example with 100GB of data in one bucket if we run a query what the performance cost is??

levonio99's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

Sorting asc vs. desc performance in views and N1QL

Hello,

We know that the views sort data in ascending order. Since N1QL uses views behind the scenes, we assume that ORDER BY in asc is performant. How does N1QL handle ORDER BY desc? Is there a difference in performance?

For example in SQL relational database when an index is...

gustavo.leivapiedra's picture
Asked 3 months 3 weeks ago
Latest activity 3 months 3 weeks ago

How would a N1QL join statement behave in a sharded environment?

How would it be executed so that it's performant?

Pages