-
Notifications
You must be signed in to change notification settings - Fork 871
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
Import database issues OrientDB Server v2.0-M2 #3137
Comments
Could you provide the log to see the indexes are rebuilt? |
2014-12-05 08:57:40:067 INFO Loading configuration from: /Users/Separ8/Documents/workspace/orientdb-community-2.0-M2/config/orientdb-server-config.xml... [OServerConfigurationLoaderXml] |
A Record level security is implemented in the DB I am using for the import / export test... |
@Bretto I see you're using 2.0-M2, could you try with 2.0-SNAPSHOT? |
I don't know where to find 2.0-SNAPSHOT... |
I downloaded orientdb-community-2.0-20141208.175939-452-distribution.zip but 2014-12-09 17:47:22:569 INFO OrientDB auto-config DISKCACHE=1,553MB (heap=494MB os=4,096MB disk=127,788MB) [orientechnologies] and when accessing http://localhost:2480 it just hangs, what is missing to run it properly ? |
@Bretto I see you have only 127,788MB of free space. This could be the reason. Could you make more room on your HD, or set the diskcache to a lower value? Use -Dstorage.diskCache.bufferSize=100 |
I wonder where is this 127,788MB coming from as I have 133.64GB of free space on my 512GB HD... |
@Bretto you're right. it's 127GB (comma separates thousands). We found the problem and we fixed it in last snapshot. |
I re-ran the test with the latest Snapshot "orientdb-community-2.0-20141209.233541-460-distribution" and the @Rid id still being rebuild... example case: select from Test export db select from Test The RID is being rebuild, is there a way to keep it the way it was? I am building an online/offline mobile app and the @Rid is the unique identifier of my data source, if I do a DB Import of my DB backups and my @Rid have changed it will break the app. |
Don't use spaces in import. Try this:
|
I am having the same issue in 2.0.10 using the exact syntax as suggested by lvca above. Still the @Rid is being rebuilt (with the exact behavior as described by Bretto.) Since i have external references from my app to the @rids i need them to stay the same after exporting and importing the database. |
This problem was never resolved for me either... at the time I just gave up on it and used the Record level security to map back to the user personal data. |
I am facing same problem. Is this problem is solved in any version? |
+1. Having still the same issue. Is this solved in any version? Just want to keep the @Rid when importing... |
It is fixed in the release 3.0.0?It will be fixed? |
hi, This is not guaranteed at the storage level, and is done by design. Regards |
When I export my db:
@Rid @Class:AppData data _allow
#12:27 "my data" #5:2
and Import it with:
import database C:/myDB.export -preserveClusterIDs=true -rebuildIndexes=false
I get:
@Rid @Class:AppData data _allow
#12:0 "my data" #5:2
So the cluster ID is preserved but the Index was rebuild, is this a bug ? or Am I misunderstanding something ?
The text was updated successfully, but these errors were encountered: