dbTalk Databases Forums  

dts of everything except indexes...

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss dts of everything except indexes... in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
OJ
 
Posts: n/a

Default dts of everything except indexes... - 09-09-2004 , 12:10 PM






Hi,
I have specific request here: I need to copy large
database from one server to another. It has 700GB. Most of
it are indexes (500GB). Because of time restrictions, I
plan to use DTS export to copy ONLY TABLES from this
database (I will create indexes on destination server
afterwards).
Is there any way to do that (wizard doesn't offer option
to exclude indexes)? I hope that there is some way other
than to create transformation for every single table?
Thanks,
OJ

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: dts of everything except indexes... - 09-09-2004 , 02:34 PM






Why do you not use BACKUP and RESTORE? That would be quicker I think.



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"OJ" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,
I have specific request here: I need to copy large
database from one server to another. It has 700GB. Most of
it are indexes (500GB). Because of time restrictions, I
plan to use DTS export to copy ONLY TABLES from this
database (I will create indexes on destination server
afterwards).
Is there any way to do that (wizard doesn't offer option
to exclude indexes)? I hope that there is some way other
than to create transformation for every single table?
Thanks,
OJ



Reply With Quote
  #3  
Old   
OJ
 
Posts: n/a

Default Re: dts of everything except indexes... - 09-09-2004 , 02:39 PM



No, it wouldn't. Problem is in network component of this
process. So we calculated that the fastest way is to
transfer only data, and to create indexes afterwards.
OJ
Quote:
-----Original Message-----
Why do you not use BACKUP and RESTORE? That would be
quicker I think.



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"OJ" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:8ec101c4968f$ef4e6ac0$a601280a (AT) phx (DOT) gbl...
Hi,
I have specific request here: I need to copy large
database from one server to another. It has 700GB. Most
of
it are indexes (500GB). Because of time restrictions, I
plan to use DTS export to copy ONLY TABLES from this
database (I will create indexes on destination server
afterwards).
Is there any way to do that (wizard doesn't offer option
to exclude indexes)? I hope that there is some way other
than to create transformation for every single table?
Thanks,
OJ


.


Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: dts of everything except indexes... - 09-09-2004 , 02:54 PM



It may be quicker to move the data but to have accumulated 500GB in Index
space will take some time to reapply surely.

I will go with what metrics you have as I have no experience with index
space of 500GB where the data is only 200GB

If you must do it your way then simply

Use the wizard to generate the DataPump tasks.
Run those

You will now have data on the destination with no indices.

Script the indices on your source to a text file.

Carry the file to the new server and apply (Or get your index creation
scripts out of whatever source control system you use.)


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"OJ" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
No, it wouldn't. Problem is in network component of this
process. So we calculated that the fastest way is to
transfer only data, and to create indexes afterwards.
OJ
-----Original Message-----
Why do you not use BACKUP and RESTORE? That would be
quicker I think.



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"OJ" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:8ec101c4968f$ef4e6ac0$a601280a (AT) phx (DOT) gbl...
Hi,
I have specific request here: I need to copy large
database from one server to another. It has 700GB. Most
of
it are indexes (500GB). Because of time restrictions, I
plan to use DTS export to copy ONLY TABLES from this
database (I will create indexes on destination server
afterwards).
Is there any way to do that (wizard doesn't offer option
to exclude indexes)? I hope that there is some way other
than to create transformation for every single table?
Thanks,
OJ


.




Reply With Quote
  #5  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: dts of everything except indexes... - 09-09-2004 , 08:14 PM



OJ,

Are you sure the 500GB does not include the clustered indexes? You have to
count that much data whether you have the index or not as it is mainly the
data itself. I still say SQL LiteSpeed will get you a smaller file and with
a lot less effort than what your seeking with DTS.

--
Andrew J. Kelly SQL MVP


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
It may be quicker to move the data but to have accumulated 500GB in Index
space will take some time to reapply surely.

I will go with what metrics you have as I have no experience with index
space of 500GB where the data is only 200GB

If you must do it your way then simply

Use the wizard to generate the DataPump tasks.
Run those

You will now have data on the destination with no indices.

Script the indices on your source to a text file.

Carry the file to the new server and apply (Or get your index creation
scripts out of whatever source control system you use.)


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"OJ" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:023701c496a4$b4dd4720$a401280a (AT) phx (DOT) gbl...
No, it wouldn't. Problem is in network component of this
process. So we calculated that the fastest way is to
transfer only data, and to create indexes afterwards.
OJ
-----Original Message-----
Why do you not use BACKUP and RESTORE? That would be
quicker I think.



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"OJ" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:8ec101c4968f$ef4e6ac0$a601280a (AT) phx (DOT) gbl...
Hi,
I have specific request here: I need to copy large
database from one server to another. It has 700GB. Most
of
it are indexes (500GB). Because of time restrictions, I
plan to use DTS export to copy ONLY TABLES from this
database (I will create indexes on destination server
afterwards).
Is there any way to do that (wizard doesn't offer option
to exclude indexes)? I hope that there is some way other
than to create transformation for every single table?
Thanks,
OJ


.






Reply With Quote
  #6  
Old   
Jéjé
 
Posts: n/a

Default Re: dts of everything except indexes... - 09-09-2004 , 08:23 PM



you can create an empty database on the destination server withtout any
index (you can very easely create an SQL script which do this for you)
Also, create another script which contain only your indexes definition.

then use DTS to load the data from the source to the destination
at the end of the step, execute the script which contain your indexes.

what is the fillfactor of your indexes? try to setup to 100%, maybe you'll
reduce the index file size


"OJ" <anonymous (AT) discussions (DOT) microsoft.com> a écrit dans le message de news:
023701c496a4$b4dd4720$a401280a (AT) phx (DOT) gbl...
Quote:
No, it wouldn't. Problem is in network component of this
process. So we calculated that the fastest way is to
transfer only data, and to create indexes afterwards.
OJ
-----Original Message-----
Why do you not use BACKUP and RESTORE? That would be
quicker I think.



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"OJ" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:8ec101c4968f$ef4e6ac0$a601280a (AT) phx (DOT) gbl...
Hi,
I have specific request here: I need to copy large
database from one server to another. It has 700GB. Most
of
it are indexes (500GB). Because of time restrictions, I
plan to use DTS export to copy ONLY TABLES from this
database (I will create indexes on destination server
afterwards).
Is there any way to do that (wizard doesn't offer option
to exclude indexes)? I hope that there is some way other
than to create transformation for every single table?
Thanks,
OJ


.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.