Click here to Skip to main content
15,915,319 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralDAL Design Question Pin
Waleed Eissa24-Jan-08 2:42
Waleed Eissa24-Jan-08 2:42 
GeneralRe: DAL Design Question Pin
Mark Churchill25-Jan-08 4:24
Mark Churchill25-Jan-08 4:24 
GeneralRe: DAL Design Question Pin
led mike25-Jan-08 4:40
led mike25-Jan-08 4:40 
GeneralRe: DAL Design Question Pin
Mark Churchill25-Jan-08 4:55
Mark Churchill25-Jan-08 4:55 
GeneralRe: DAL Design Question Pin
Waleed Eissa27-Jan-08 3:16
Waleed Eissa27-Jan-08 3:16 
GeneralRe: DAL Design Question Pin
Mark Churchill27-Jan-08 5:19
Mark Churchill27-Jan-08 5:19 
GeneralRe: DAL Design Question Pin
Waleed Eissa1-Feb-08 18:58
Waleed Eissa1-Feb-08 18:58 
GeneralRe: DAL Design Question Pin
Ashfield30-Jan-08 4:24
Ashfield30-Jan-08 4:24 
If you are using SQL Server 2005 have a look at partitioned tables, partitioning by group and date - this gives very good performance.These are single tables, but physically split on the columns you define, allowing the underlying files to be located on different physical disks.

If you are using SQL Server 2000 take a look at partitioned views - not quite so friendly as partitioned tables, but good never the less. This is really a view over multiple tables, so table structure changes are a bit of a pain, but done properly you can insert into the view and it will add the record to the correct underlying table.

In either case you will be able to have a single stored proc to insert, and, although SQL Server will cache ad-hoc sql execution plans I would be very reluctant to use anything other than stored procs for data access. They provide a good degree of security against sql injection and are a single source of data, so any changes are abstracted from your code.

Hope some of this makes sense and helps.

Bob

Ashfield Consultants Ltd

QuestionBeta Testing? Develop Tech? Pin
Chrispie12323-Jan-08 19:00
Chrispie12323-Jan-08 19:00 
AnswerRe: Beta Testing? Develop Tech? Pin
Paul Conrad25-Jan-08 15:56
professionalPaul Conrad25-Jan-08 15:56 
GeneralVisual Studio 2005 collaboration Pin
Mike Nelson22-Jan-08 1:47
Mike Nelson22-Jan-08 1:47 
GeneralRe: Visual Studio 2005 collaboration Pin
led mike22-Jan-08 4:59
led mike22-Jan-08 4:59 
GeneralRe: Visual Studio 2005 collaboration Pin
Mike Nelson22-Jan-08 7:49
Mike Nelson22-Jan-08 7:49 
GeneralRe: Visual Studio 2005 collaboration Pin
led mike22-Jan-08 7:58
led mike22-Jan-08 7:58 
GeneralRe: Visual Studio 2005 collaboration Pin
Mike Nelson28-Jan-08 2:55
Mike Nelson28-Jan-08 2:55 
GeneralRe: Visual Studio 2005 collaboration Pin
led mike28-Jan-08 5:58
led mike28-Jan-08 5:58 
GeneralRe: Visual Studio 2005 collaboration Pin
Mike Nelson28-Jan-08 7:41
Mike Nelson28-Jan-08 7:41 
GeneralRe: Visual Studio 2005 collaboration Pin
led mike28-Jan-08 8:42
led mike28-Jan-08 8:42 
GeneralRe: Visual Studio 2005 collaboration Pin
Mike Nelson28-Jan-08 9:34
Mike Nelson28-Jan-08 9:34 
GeneralRe: Visual Studio 2005 collaboration Pin
led mike28-Jan-08 9:51
led mike28-Jan-08 9:51 
GeneralRe: Visual Studio 2005 collaboration Pin
Mike Nelson29-Jan-08 2:15
Mike Nelson29-Jan-08 2:15 
GeneralFree tool for UML Pin
mhmo21-Jan-08 2:42
mhmo21-Jan-08 2:42 
AnswerRe: Free tool for UML Pin
martinig29-Jan-08 6:46
martinig29-Jan-08 6:46 
GeneralRe: Free tool for UML Pin
Tristan Rhodes6-Feb-08 2:10
Tristan Rhodes6-Feb-08 2:10 
GeneralUML with Visio Pin
mhmo21-Jan-08 2:38
mhmo21-Jan-08 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.