Replies: 2 comments
-
@zssai yes, you may view those databases. They are node-local (not clustered), so you could access them via
A word of warning: modifying them by hand unless you're aware of the CouchDB internals may render your cluster unusable and you may lose data. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, Nick
Thank you for your help. I will test it and reply to you later.
Best Regards
From: Nick Vatamaniuc
Date: 2022-02-25 00:45
To: apache/couchdb
CC: zssai; Mention
Subject: Re: [apache/couchdb] Is it possible to open and view the _dbs.couch under the data directory (Discussion #3942)
@zssai yes, you may view those databases. They are node-local (not clusters) so you could access them via /_node/_local/_dbs for example.
_dbs would contain shards for clustered databases. It's a database of database docs :-)
http put $DB/mydb
http $DB/_node/_local/_dbs/mydb
HTTP/1.1 200 OK
{
"_id": "mydb",
"_rev": "1-275115469f6f9a8469008e5e5a929d2c",
"by_node": {
***@***.***": [
"00000000-7fffffff",
"80000000-ffffffff"
]
},
"by_range": {
"00000000-7fffffff": [
***@***.***"
],
"80000000-ffffffff": [
***@***.***"
]
},
"changelog": [
[
"add",
"00000000-7fffffff",
***@***.***"
],
[
"add",
"80000000-ffffffff",
***@***.***"
]
],
"props": {},
"shard_suffix": [
46,
49,
54,
52,
53,
55,
50,
49,
48,
48,
56
]
}
A word of warning: modifying them by hand unless you're aware of the CouchDB internals may render your cluster unusable and you may lose data.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After installation, under the data directory, there are four databases, _dbs.couch, _nodes.couch, _replicator.couch and _users.couch. Is it possible to open and view the _dbs.couch database
Beta Was this translation helpful? Give feedback.
All reactions