Couchbase Questions: Couchbase Server

Have a Question? Get it answered by our community

fredlaub's picture
Asked 6 months 1 week ago
Latest activity 6 months 4 days ago

dateToArray(date) milliseconds

Hi,

Using builtin functions instead of custom functions is better, as I read in the doc.

Now the builtin function dateToArray doesn't include the milliseconds, so what do you suggest if I want the milliseconds to be included in my view for sorting?

Example in doc:
...

bmhardy's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

couchbase and sync using ssl

Hello,

I have sync_gateway and couchbase running on amazon AWS. How can I get set up to use SSL with couchbase and sync_gateway? I'm currently running couchbase on port 8091 and gateway on 4984.

I read here (...

amitg's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

Elasticsearch slowing down Couchbase set operations (inserts)?

Hello, we are experimenting with Couchbase and ElasticSearch.
I know this may sound strange but when we run them both (on the same machine) we get much slower response times from Couchbase set operations.
If we take down the ElasticSearch process (leaving the XDCR replication as it...

haakonl's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Out of Memory regularly on 2.0.1 and 2.1.1

Hi,

we have a cluster where the nodes fails regularly because of an out of memory crash. In the console, we find this message in the logs:

Control connection to memcached on 'ns_1@10.45.11.215' disconnected: {{badmatch,
{error,
closed}},
[{mc_client_binary,
...

sergay.shamshin's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Couchbase down urgent help

Hi, i got a problem. i dont have a lot of experience in couchbase so please help me please.
i am using couchbase 2.1.0 in production.
we got 2 nodes in amazon which worked fine.
i wanted to upgrade the disk capacity, i took down a node changed disk size and it didnt come back...

jakjak's picture
Asked 6 months 2 weeks ago

RestAPI pools/default not always returning otpNode

Is there a reason why the otpNode and otpCookie are not always sent in the response to a pools/default request? Is there another response that contains this for everynode? I need to initiate a manual failover and that rest request require the otpNode as the parameter.

jazneil's picture
Asked 6 months 2 weeks ago

Pagination using scoring algorithm

Hi

I have 2 types of Documents, users and posts. Basically a user makes multiple posts. Each post records how many times somebody likes, comments on or reshares the post.

I want a simple query to get users sorted by the total number of likes, comments, reshares across all posts...

frostyyetti's picture
Asked 6 months 2 weeks ago

Question on how the query results are merged

If I issue the query below:

SELECT *
FROM tutorial
WHERE fname = 'Ian'

does it scan all the documents in 'tutorial' bucket in many servers to produce the result? Is it smart to use the secondary index or if the data exists in Elastic search?

igal.dahan's picture
Asked 6 months 2 weeks ago

add spatial view with REST API

HI i would like to add spatial view with REST API, where i have additional views on the same document, so i think i have to correct command, i didnt get error, but still i cannot see that in the web console.
could you help me here?

here is the command :

# curl -X PUT -H'...

frostyyetti's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 2 weeks ago

Indexing and querying documents

I'm evaluating Couchbase vs. MongoDB for storing JSON documents.

1. Is there a way to index documents real-time? For example, if a user writes the data and a query is issued using index, I want to get the recently updated data.

2. Here is a scenario. I have millions of documents...

Pages