Re: performance of Insert with Partitioned View
From: BP Margolin (bpmargo@attglobal.net)
Date: 04/24/03
- Next message: Thanh-Nhan Le: "Re: performance of Insert with Partitioned View"
- Previous message: TNL: "performance of Insert with Partitioned View"
- In reply to: TNL: "performance of Insert with Partitioned View"
- Next in thread: Thanh-Nhan Le: "Re: performance of Insert with Partitioned View"
- Reply: Thanh-Nhan Le: "Re: performance of Insert with Partitioned View"
- Reply: TNL: "Re: performance of Insert with Partitioned View"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "BP Margolin" <bpmargo@attglobal.net> Date: Wed, 23 Apr 2003 23:25:33 -0400
TNL,
As documented in the SQL Server Books Online, partitioned views require UNION ALL's. Using just UNION does not create a partitioned view.
-------------------------------------------
BP Margolin
Please reply only to the newsgroups.
When posting, inclusion of SQL (CREATE TABLE ..., INSERT ..., etc.) which
can be cut and pasted into Query Analyzer is appreciated.
"TNL" <le.nhan@freenet.de> wrote in message news:ed#AssgCDHA.33548@TK2MSFTNGP10.phx.gbl...
> I am trying to insert new Records in different Database on different Server
> with a Partitioned View, but the perfomance is very bad.
>
> The partitioned View: MyPVIEW
> SELECT * FROM server1.myDB.myTable
> UNION
> SELECT * FROM server2.myDB.myTable
> UNION
> SELECT * FROM server3.myDB.myTable
>
> The Job:
> Insert into MyPVIEW
> SELECT * FROM Temp
>
> Temp is a Table on the local server, it hat about 300.000 records.
>
> How can I improve the performance?
>
>
- Next message: Thanh-Nhan Le: "Re: performance of Insert with Partitioned View"
- Previous message: TNL: "performance of Insert with Partitioned View"
- In reply to: TNL: "performance of Insert with Partitioned View"
- Next in thread: Thanh-Nhan Le: "Re: performance of Insert with Partitioned View"
- Reply: Thanh-Nhan Le: "Re: performance of Insert with Partitioned View"
- Reply: TNL: "Re: performance of Insert with Partitioned View"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|