Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I think Kadira is adding collections to my database with 0 documents but taking 50mb of space each. #227

Closed
sferoze opened this issue Apr 22, 2016 · 4 comments

Comments

@sferoze
Copy link

sferoze commented Apr 22, 2016

In my database I have noticed the collections, _kdconfig, _kdtimeevents, _kdtraces.

_kdtimeevents is taking up 50MB of space in compose.io yet the collections has 0 documents in it.

_kdtraces is also taking up 50MB yet has 0 documents in it.

What is going on?

@joadr
Copy link

joadr commented Sep 2, 2016

I've got this too, It's too weird that it's that heavy without having any collection

@arunoda
Copy link
Member

arunoda commented Sep 3, 2016

That's coming from Kadira Debug.
If you are not using Kadira Debug, just remove those collections.

@arunoda arunoda closed this as completed Sep 3, 2016
@maxko87
Copy link

maxko87 commented Oct 27, 2016

These collections cannot be deleted.

> show tables
__kdtimeevents
__kdtraces
> db.__kdconfig.drop()
E QUERY    [thread1] TypeError: db.__kdconfig is undefined

@maxko87
Copy link

maxko87 commented Oct 27, 2016

Ah, turns out this is a known bug with Mongo and they encourage not to prefix collections with underscores. You can still remove like so: db.getCollection("__kdtraces").drop()

http://stackoverflow.com/questions/24309685/mongo-client-cant-access-collections-prefixed-with-an-underscore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants