OrientDB-NET.binary icon indicating copy to clipboard operation
OrientDB-NET.binary copied to clipboard

Massive Insert in OrientDB-Net API ?

Open mkhalid12 opened this issue 9 years ago • 3 comments

How should I implement massive insert in OrientDB I have 10K Vertex have almost 1M Edges how should i Load as fast as possible? Currently i am using this for loop and it takes more than 20 mins to complete. Please suggest some feasible solution.

List _listRating = LoadRatings(_PathRatings); foreach (Rating r in _listRating) { i++; oDB.Command(" create edge rated from (select from Users where userID = " + r.userID + ") to (select from Movies where MovieID = " + r.movieID + " ) set rating =" + r.Ratings + " "); Console.WriteLine("Creating Ratings...." + i.ToString()); }

mkhalid12 avatar Dec 27 '15 10:12 mkhalid12

@lvca Hi, please guide me about this?

mkhalid12 avatar Dec 30 '15 11:12 mkhalid12

@mkhalid12 cleaning up old issues, did you get this figured out?

GrayDelacluyse avatar Jul 05 '16 12:07 GrayDelacluyse

please share me the code for oreintdb 2.2.33 database connection through c#.net

user33 avatar Sep 18 '18 03:09 user33