![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When I am transferring lets say a 'Product Class' table from the production servers to the data warehouse. is it better practice to always delete the current product classes in the table and then re add the ones from production servers? Or, would it be better to look for the changes between production and data warehouse and only add or update those that need to be? It seems that it is easier to just delete all the records in Product Class and then re-add but what about over all efficiency of the SQL server pertaining particularly to storage abilities. (Page splits, heaps and stuff like that). Since product class generally seems to be a small table would you use the same method for say a customer table which for us contains upwards of 7000 records. To me, it just seems to delete and re-add these on a nightly basis would almost cause SQL fragmentation if you will. Any thoughts on this. -mike |
#3
| |||
| |||
|
|
Content-Class: urn:content-classes:message From: "Michael Morse" <mike.morse (AT) micromo (DOT) com Sender: "Michael Morse" <mike.morse (AT) micromo (DOT) com Subject: Transfer Techniques. Date: Wed, 8 Oct 2003 06:30:26 -0700 Lines: 22 Message-ID: <2541001c38da0$555bcff0$a601280a (AT) phx (DOT) gbl MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Thread-Index: AcONoFVb0Zq+hxG4QNyCWV4/hlU6DA== Newsgroups: microsoft.public.sqlserver.olap Path: cpmsftngxa06.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:43591 NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166 X-Tomcat-NG: microsoft.public.sqlserver.olap When I am transferring lets say a 'Product Class' table from the production servers to the data warehouse. is it better practice to always delete the current product classes in the table and then re add the ones from production servers? Or, would it be better to look for the changes between production and data warehouse and only add or update those that need to be? It seems that it is easier to just delete all the records in Product Class and then re-add but what about over all efficiency of the SQL server pertaining particularly to storage abilities. (Page splits, heaps and stuff like that). Since product class generally seems to be a small table would you use the same method for say a customer table which for us contains upwards of 7000 records. To me, it just seems to delete and re-add these on a nightly basis would almost cause SQL fragmentation if you will. Any thoughts on this. -mike |
![]() |
| Thread Tools | |
| Display Modes | |
| |