🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #106

Re: Over 500 Tables ?

#106
From: Giuliano
Date: Wed, 05 Oct 2005 10:57
35 lines
2286 bytes
On Wed, 5 Oct 2005 13:55:14 +0330, "Sasan" <sasan_vm@yahoo.com> wrote:

>Hello,
>I use SQL-Serevr for my database application,
>i have more than 500 tables and split it in 2 databases,
>i want know may be this design decrease application speed ?

If you are creating relations (making queries),  
using objects from both databases, you could to experiment   
degraded performances. Normally, this kind of queries   
are called "heterogeneous queries".

AFAIK, server's optimizers (even if databases are owned by 
the same server), don't play very much with relations coming 
from different databases (database = groups of tables, views, 
stored procedures, rules, etc etc).

Moreover, if you are using databases' access technologies 
like ADO, is possible that some parts of yours join, they 
could be made "locally". If so, the network traffic is 
unavoidably increased 'cause amount of transmitted data 
isn't reduced at server side. Only the server has "intimate"
semantics of structure (schema) you have created in the 
database. 

Again, AFAIK, it's not possible to have referential
integrity between different databases, so I suggest 
you, if it's possible, "to reduce" (denormalize) 
your database schema, and put  all your objects 
(tables, views, stored procedures, etc etc) in the 
same place.

Best regards.

Giuliano
Technical Details
Message-ID: <pia7k11c9qv445osnmbuds0t6fikg1hrpv@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4343a981@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcd2b,8c89f950d92fdae0
X-Google-Attributes: gidfcd2b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Giuliano <gcardinali@remove.adhoc.net>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Re: Over 500 Tables ?
Date: Wed, 05 Oct 2005 12:57:44 +0200
Message-ID: <pia7k11c9qv445osnmbuds0t6fikg1hrpv@4ax.com>
References: <4343a981@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.72.236.131
X-Trace: newsgroups.borland.com 1128509733 81.72.236.131 (5 Oct 2005 03:55:33 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail