|
|
su.dbms- SU.DBMS ---------------------------------------------------------------------- From : Edward Shevtsov 2:5020/400 23 Aug 2002 20:33:26 To : Tolik Tentser Subject : Re: ответственная БД -------------------------------------------------------------------------------- x.com> From: "Edward Shevtsov" <edward.shevtsov@mtu-net.ru> > > For example, the Customers table has been partitioned across three > servers (Server1, Server2, and Server3). The distributed partitioned > view defined on Server1 is: > > CREATE VIEW Customers > AS > SELECT * FROM Customers_33 > UNION ALL > SELECT * FROM Server2.CustomerDB.dbo.Customers_66 > UNION ALL > SELECT * FROM Server3.CustomerDB.dbo.Customers_99 > > This view makes the actual location of the data transparent to an > application. When a SQL statement is executed on Server1 that > references the Customers partitioned view, the application has no > visibility to where the data is located. If some of the rows required > to complete the SQL statement reside on Server2 or Server3, the > instance of SQL Server on Server1 automatically generates a > distributed query that pulls in the required rows from the other > servers. This transparency allows database administrators to > repartition tables without recoding applications. If the Customers > view is updatable, the behavior of the view is the same as a table > named Customers > Оракл такие вещи умел делать еще во времена седьмой версии. Здесь масштабируемостью и не пахнет, хотя бы потому что в общем случае мы получим неравномерную нагрузку на сервера. Сам подход противоречит современным тенденциям. Сейчас пытаются максимально консолидировать данные в одном месте, а здесь обратный подход. Regards, Ed --- ifmail v.2.15dev5 * Origin: MTU-Intel ISP (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /su.dbms/910435090e27.html, оценка из 5, голосов 10
|