Replies: 3 comments 6 replies
-
Quick update on this feature. This could be considered a federated database. The map federated-database.json: {
"databases": {
"0": {
"url": "file://usa-florida",
"user": "external",
"password": "XXXX"
},
"100": {
"url": "remote://server-Italy:2480",
"user": "external",
"password": "YYYY"
}
}
} Whereas the key in the |
Beta Was this translation helpful? Give feedback.
-
I assume this is still not done, since a search mainly leads to this page—is that assumption correct? |
Beta Was this translation helpful? Give feedback.
-
Correct, it's not implemented yet. We have a couple of users that are cross linking resources across databases by storing the RID as a string "#2:10:3", where 2 is the 2nd database in a configured list and 10:3 the actual RID in the target database. They basically decompose the RID by separating the first part, and executing a lookup on that database. It could be an easy workaround for now in case it's needed |
Beta Was this translation helpful? Give feedback.
-
SUMMARY
Status: Design
Progress: Design 50% -> Development & Unit Tests 0% -> Integration Tests 0%
Currently Assigned: @lvca
ETA: 6 days
With ArcadeDB links are expressed with RIDs. A Rid is composed by 2 numbers:
#<bucket-id>:<offset-in-bucket>
. If we create a new Cross RID (CRID from now on) by adding the database id, it would be like this:The database-id is a number. This means the server must keep track of database-name/number in a map.
Once this is available, the user should be able to load records from other databases. This is perfect for multi-tenant applications, where each tenant has its own database, but the common data can reside on a central database.
Beta Was this translation helpful? Give feedback.
All reactions