Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Analysis (Data Mining) / July 2008

Tip: Looking for answers? Try searching our database.

Flexible Database Design

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
doverj - 15 Jul 2008 19:56 GMT
Greetings.  I'm working on designing a database that provides a great deal of
flexibility in that it stores calls to .NET classes and SQL procedures.  Was
curious if any of you had any ideas or experience you'd like to share.  

The system has to be able to handle a number of different types of jobs.
Each job could have a number of different processes which may include
printing reports, sending emails, updating tables, etc.  I want to be able to
have it so that each time a new job with a completely different set of
processes is required, new deployments of the system aren't required (or if
they are they are minor), only updates to database are needed.  Rather, some
sort of template would be created that would allow administrators to
configure the jobs and their processes and details behind the jobs would be
stored in the database architecture.

What I'm thinking is having a series of tables that may look something like
this.  One is a template table that identifies the high level parts related
to a job.  Then a process table which is related to a given template.  This
would include each different process a job may go through (i.e. print report
A, send email, print report B).  Related to the process table would be a
table or tables that include the procedures or reference to code that would
be fired off specific to the current process being run for that job.

I don't think I will have problems conceptualizing any sql that may be
executed as a result of a given process.  However, certain aspects will have
to be written in C#.  

Finally, do any of you have ideas or have worked where you store references
to a .NET class within a table.  So when a certain process is reached the .
NET class is called?

I was told that this isn't terribly uncommon and I think the person who told
me said it was called a pipeline or routing architecture but haven't had much
luck finding any information.

Any direction or high level ideas would be apprecaited.

Thanks.
Chuck Heinzelman - 16 Jul 2008 03:49 GMT
What you are attempting is - in my experience - not all that common.  But, I
have seen it implemented fairly successfully when done right.

One of the things that you will need to be aware of is that getting a system
like this to perform well - especially when you have large amounts of data -
requires high-end hardware - and lots of it.  A two core machine with 4GB of
RAM and an on-board disk controller probably isn't going to cut it.  Most of
the time when I hear people complaining about this type of system it is
because they haven't thrown enough hardware at it.

Sincerely,

Chuck Heinzelman
SQL Server MVP

> Greetings.  I'm working on designing a database that provides a great deal
> of
[quoted text clipped - 49 lines]
>
> Thanks.
doverj - 16 Jul 2008 17:27 GMT
Thank you Chuck!  That's good to know because there will in fact be very
large amounts of data.  I will have to continue to look into the feasability
of doing this.  Your help as always is much appreciated.

>What you are attempting is - in my experience - not all that common.  But, I
>have seen it implemented fairly successfully when done right.
[quoted text clipped - 16 lines]
>>
>> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.