Re: performance of Insert with Partitioned View
From: Andrew J. Kelly (ajkellynospam@attbi.com)
Date: 04/24/03
- Next message: Greg Low: "Re: Facing problems after installing the SP3.."
- Previous message: Amar Dhadli: "SQL Server service 'losing' logon password'"
- In reply to: TNL: "performance of Insert with Partitioned View"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Andrew J. Kelly" <ajkellynospam@attbi.com> Date: Thu, 24 Apr 2003 08:09:41 -0400
I don't know if it is directly related to the DPV or not but inserting 300K
rows at a time can be pretty slow if the hardware is not configured
properly. Try inserting them in smaller batches of say 10K at a time.
-- Andrew J. Kelly SQL Server MVP "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: Greg Low: "Re: Facing problems after installing the SP3.."
- Previous message: Amar Dhadli: "SQL Server service 'losing' logon password'"
- In reply to: TNL: "performance of Insert with Partitioned View"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|