DO NOT USE FOR THE ANDROID JETPACK COMPOSE (use [android-jetpack-compose] for those questions!) Compose is a Database as a Service (DBaaS) provider that offers cloud-based databases (MongoDB, Elasticsearch, RethinkDB, Redis, PostgreSQL).
Questions tagged [compose-db]
94 questions
2
votes
0 answers
How can I set database failover portal with Sequelize?
I am using sequelize to connect to a postgres db which is hosted on compose.io.
const db = new Sequelize(DATABASE_URL, {
logging: false,
pool: {
max: 15,
min: 1,
idle: 10000,
acquire: 10000,
},
});
How can I set a failover…

perrosnk
- 835
- 2
- 13
- 23
2
votes
1 answer
How to access oplog database on MongoDB on compose (IBM Cloud)
i am trying to setup a HA instance of rocket chat on IBM Cloud (Bluemix).
My application nodes are running on Cloud Foundry while I use for the database MongoDB on compose.
I followed this…

Patrick P.
- 109
- 8
2
votes
1 answer
IBM Cloud - Compose for MySQL - Change sql_mode - to enable GROUP BY queries
I'm using the Compose for MySQL DB within my IBM Cloud CF app, however the current sql_mode settings for the DB DO NOT ALLOW ME me to run standard SQL queries using the GROUP BY statement.
I understand from research that I need to change the…

user9354812
- 21
- 3
2
votes
1 answer
How to manage connections in compose for postgresql in bluemix?
We are using pgadmin with postgresql on bluemix and keep seeing connections from our web app and pgadmin just lingering. Is there a way to set postgresql on bluemix with a max connection time?
Is there a way to set it in bluemix itself on the…

Johnson
- 133
- 8
2
votes
1 answer
Django doesn't support MySQL Group Replication
I'm using Compose for MySQL which uses MySQL 5.7 Group Replication
When trying doing DB tests with Django 1.11.4 i get errors regarding the rollback_test (because it doesn't hold the requirement of Primary Key)
and…

Yarh
- 895
- 7
- 15
2
votes
1 answer
Who is removing my whitespace: Meteor, MongoDB, or Compose.io?
Let's say I update a field like this in a Meteor method:
Collection.update({_id: "a"}, {$set: {lalala: " a b c "})
I would expect " a b c " to turn up as the value in the database, but what is really being saved is "a b …

Yeats
- 2,112
- 3
- 30
- 46
2
votes
0 answers
Mongo "not authorized for query" on user defined table while authenticated as dbOwner
I'm using is mongojs 2.3.0 to connect to a MongoDB cluster running 3.0. The user credentials I'm using to connect are for a user that has dbOwner privileges (so they should have read/write permissions for all collections).
The driver successfully…

ttacon
- 503
- 3
- 9
2
votes
2 answers
Deploying parse-on-bluemix node.js app to bluemix failing
I am deploying node.js in Bluemix and basically migrating from parse.com to Bluemix.
What does the following error mean? How do I resolve it? I am using CF command line tool.
The log attached…

Balu M
- 157
- 13
2
votes
0 answers
Does MongoCR authentication work with Compose.io?
I'm trying to use promised-mongo to access a MongoDB database hosted on Compose.io. I am using the same connection string I use to accept the DB using the mongo CLI tool, but when I try to connect I get:
err { [MongoError: auth failed]
name:…

Matthew Gertner
- 4,487
- 2
- 32
- 54
2
votes
1 answer
'No reachable servers' error when beginning parse migration with MongoDB
I am in the process of migrating my app from Parse to MongoDB and IBM Bluemix, however I can't seem to reach the server when attempting the migration of data from Parse.
I've been following this tutorial tutorial, and I am currently on the step:…

user3746428
- 11,047
- 20
- 81
- 137
2
votes
0 answers
How many connections Meteor creates to mongodb?
I have a meteor app with one nodejs process. It connects to compose with oplog.
There's only me on the server but I see that there's 27 connections in the compose stats.
Looking at the server, "netstat -ap" shows that node really have 27…

acemtp
- 2,971
- 6
- 34
- 43
2
votes
1 answer
Check queued reads/writes for MongoDB
I feel like this question would have been asked before, but I can't find one. Pardon me if this is a repeat.
I'm building a service on Node.js hosted in Heroku and using MongoDB hosted by Compose. Under heavy load, the latency is most likely to come…

Kevin Wood
- 143
- 10
1
vote
0 answers
Compose Transporter throws error when collection_filters is set to sync data for current day from DocumentDB/MongoDB to file/ElasticSearch
I am using Compose Transporter to sync data from DocumentDB to ElasticSearch instance in AWS. After one time sync, I added following collection_filters in pipeline.js to sync incremental data daily:
// pipeline.js
var source = mongodb({
"uri":…

Ritu
- 11
- 1
1
vote
3 answers
IBM Cloud Compose PostgresSQL FATAL: no pg_hba.conf entry for host
Provisioned an IBM Cloud Compose PostgreSQL instance. Then tried to connect the instance to the Watson Studio.
Although establishing a connection works fine, when I try to save retraining configuration getting the following error message.
Error:…

KosiB
- 1,086
- 1
- 7
- 13
1
vote
1 answer
Connecting to compose Janusgraph from Java for remote traversal
I am trying to connect to a remote compose-janusgraph server to create a graph and add vertices. Note that I don't have access to the server configurations or ability to change server settings.
I am able to do this over my local gremlin console with…

Max Arbiter
- 318
- 4
- 18