Indexes ON :GraphPart(mfr_id) ONLINE ON :GraphPart(part_id) ONLINE (for uniqueness constraint) Constraints ON (graphpart:GraphPart) ASSERT graphpart.part_id IS UNIQUE
I'm going to use the Talend connector for my initial load, then the rest api to keep my graph in sync.
--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/rOr8tL1r-R8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/rOr8tL1r-R8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
USING PERIODIC COMMIT 10000
LOAD CSV WITH HEADERS FROM "file://localhost/home/deployer/tblMfr.csv" AS csvLine
FIELDTERMINATOR '\t'
CREATE (vendor:GraphVendor { vendor_code_id: toInt(csvLine.Mfr_Code_ID), vendor_id: toInt(csvLine.Mfr_ID), vendor_name: csvLine.Mfr_Name, vendor_abbreviation: csvLine.Mfr_Abbr, vendor_status: csvLine.Mfr_Status });
USING PERIODIC COMMIT 10000
LOAD CSV WITH HEADERS FROM "file://localhost/home/deployer/tblMfr.csv" AS csvLine
FIELDTERMINATOR '\t'
MATCH (vendor:GraphVendor { vendor_id: vendor_id})
MATCH (part:GraphPart {mfr_id: vendor_id})
MERGE (part)-[:MANUFACTURED_BY]->(vendor);
--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
Indexes ON :GraphPart(mfr_id) ONLINE ON :GraphPart(part_id) ONLINE (for uniqueness constraint) ON :GraphVendor(vendor_id) ONLINE (for uniqueness constraint) Constraints ON (graphpart:GraphPart) ASSERT graphpart.part_id IS UNIQUE ON (graphvendor:GraphVendor) ASSERT graphvendor.vendor_id IS UNIQUE
The import still spends significant time in GC:
2014-08-28 14:18:30.559+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 27270ms [total block time: 111.254s]
2014-08-28 14:18:58.105+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 25724ms [total block time: 136.978s]
2014-08-28 14:19:19.571+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 19982ms [total block time: 156.96s]
2014-08-28 14:19:47.826+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 26533ms [total block time: 183.493s]
2014-08-28 14:19:48.088+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 162ms [total block time: 183.655s]
2014-08-28 14:20:16.149+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 26880ms [total block time: 210.535s]
2014-08-28 14:20:37.432+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 20102ms [total block time: 230.637s]
2014-08-28 14:21:06.477+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 27755ms [total block time: 258.392s]
2014-08-28 14:21:06.907+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 330ms [total block time: 258.722s]
2014-08-28 14:21:35.483+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 27721ms [total block time: 286.443s]
2014-08-28 14:21:57.764+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 21430ms [total block time: 307.873s]
2014-08-28 14:22:27.172+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 28122ms [total block time: 335.995s]
2014-08-28 14:22:27.613+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 340ms [total block time: 336.335s]
2014-08-28 14:22:56.549+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 28191ms [total block time: 364.526s]
2014-08-28 14:23:18.865+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 21591ms [total block time: 386.117s]
2014-08-28 14:23:44.941+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 25330ms [total block time: 411.447s]
2014-08-28 14:23:45.415+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 374ms [total block time: 411.821s]
2014-08-28 14:24:13.505+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 27449ms [total block time: 439.27s]
2014-08-28 14:24:33.630+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 19595ms [total block time: 458.865s]
2014-08-28 14:25:00.748+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 26693ms [total block time: 485.558s]
2014-08-28 14:25:01.247+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 398ms [total block time: 485.956s]
--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/rOr8tL1r-R8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/rOr8tL1r-R8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.