> We had the issue because too much 'subroots' (one per object kind)
> were related to the main root object (generating the need for a
> foreign key).
Hi!
Sorry for not answering before, but it seems that you already solved
your problem.
Still, there is one thing that I would like to know. Are these
troublesome relations 1-to-1 or 1-to-many?
Because, from your email, it seems that they are 1-to-1, and, if they
are, then there is no need of indexes for those foreign keys. At least
not with the latest version of the fenix-framework.
But I believe that the SQL code generator is creating indexes even in
those cases. I'll check this and change it soon.
Best regards,
--
João Cachopo
Some days ago, after a report of Stéphane that there were many indexes
being generated, and after finding out that there were indexes generated
for 1-to-1 relations, I said that:
> But I believe that the SQL code generator is creating indexes even in
> those cases. I'll check this and change it soon.
The last version of the fenix-framework no longer creates unnecessary
indexes. Now, they are created only for 1-to-n relations.