LLBLGen limitations?

Posts   
 
    
Khou
User
Posts: 46
Joined: 28-Mar-2009
# Posted on: 21-Apr-2009 11:38:53   

1 - What are llblgen limitations? how many tables can i have before llblgen crashes and dies! 100-500+ is ok?

Khou
User
Posts: 46
Joined: 28-Mar-2009
# Posted on: 21-Apr-2009 11:40:15   

wrong forum , please move to "general"

Done -- Otis

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 21-Apr-2009 11:47:42   

We have customers with more than 500 tables, so we don't have a problem with this.

The generated code will always perform well. But you might face an issue loading the llblgen project into the designer (it might get slow). Then you might need to remve unwanted relations especially m:n ones. You also might find it usefull to use Command Line Refresher and code generator.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39859
Joined: 17-Aug-2003
# Posted on: 21-Apr-2009 12:33:26   

Indeed, the more tables you get, the bigger the project will become and it will become slower to load. The more relations you'll have is a bigger factor though. thousands and thousands of relations inside a project might slow it down more than a thousand tables.

Also, if you have thousands of stored procedures in a project, it will become slower to load, so keep these to a minimum. There's no maximum of tables you can have, it's that thousand or more tables and multiple thousand relations will make the load/save process a tad slow. The designer itself doesn't become slower (well, perhaps the reverse engineering of entities of course will become slower as well). the one downside of the system is that if you have many relations between the same entities (so A and B have many relations) it might cause a lot of m:n relations to be generated which could slow the system.

As thousands of entities will result in a large generated code base, you want to compile that on the command line as vs.net is slower to compile that than a command line compile action.

What's the number of tables you're looking at exactly?

Frans Bouma | Lead developer LLBLGen Pro
Khou
User
Posts: 46
Joined: 28-Mar-2009
# Posted on: 22-Apr-2009 07:00:42   

Otis wrote:

.....

What's the number of tables you're looking at exactly?

Currently the database contains 150-200, is the GUI ok with this? (2GB, quad core).

1 - Another question is the database contains more than one application, one application might use only 200 or where another application might only use a 20 or so.

So when generating the DAL with LLBLGen do you generate only the tables required to be used by the specify application you are building or just generate all table entities so that you can share the DAL classes across all applications using the database.

generate separate DAL or single shared DAL?

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 22-Apr-2009 10:11:23   

Currently the database contains 150-200, is the GUI ok with this? (2GB, quad core).

No problem with these numbers.

1 - Another question is the database contains more than one application, one application might use only 200 or where another application might only use a 20 or so.

So when generating the DAL with LLBLGen do you generate only the tables required to be used by the specify application you are building or just generate all table entities so that you can share the DAL classes across all applications using the database.

generate separate DAL or single shared DAL?

That's your choice, you can generate a DAL per each aplication, where you pick which tables to map entities too and hencegenerate code for. Or you might wish to have one DAL containing all tables to be used by all apps.

Personally I would separate them.