A
Alex Ben-Ari
I am encountering a strange performance issue with DataRelation which
I am hoping someone can cast some light on.
I have two tables related to each other by a single field (of type
varchar, about 60 characters long on average).
Now I load a single row from the first table to a DataTable and about
40000 rows from the second table to another DataTable.
Now I add a relation between the two tables (the DataTable with the
single row is the parent). All goes well.
However: if I do exactly the same thing but instead of loading 40000
rows to the second table I load 80000 rows, the time it takes to add
the relation jumps from less than a second to close to an hour.
Why is this happening ? Any ideas anyone ?
(I tried adding the relation both before and after loading the data
into the tables - same result).
Alex.
I am hoping someone can cast some light on.
I have two tables related to each other by a single field (of type
varchar, about 60 characters long on average).
Now I load a single row from the first table to a DataTable and about
40000 rows from the second table to another DataTable.
Now I add a relation between the two tables (the DataTable with the
single row is the parent). All goes well.
However: if I do exactly the same thing but instead of loading 40000
rows to the second table I load 80000 rows, the time it takes to add
the relation jumps from less than a second to close to an hour.
Why is this happening ? Any ideas anyone ?
(I tried adding the relation both before and after loading the data
into the tables - same result).
Alex.