Solved

Large Table Move between Database

Posted on 2009-07-01
6
178 Views
Last Modified: 2012-05-07
We have a requirement where we need to move few very Large tables from Main database to another new database on the same server.
There are 2 tables having more then 300 Million records.. What's the best way to move tables from one database to another db. Its SQL Server 2005.
0
Comment
Question by:Aanvik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 500 total points
ID: 24755082
use SSIS, it is a quick and easy way to set this up to do this...it uses BULK INSERT, which is key for you in this scenario.

To do it, right click the source db, go to tasks, andthen export data.  from there, follow the wizard....save the package at the end so you can use it again if you need to.
0
 
LVL 5

Author Comment

by:Aanvik
ID: 24756331
Its taking too much time. Don't we have any better approach.
0
 
LVL 60

Expert Comment

by:chapmandew
ID: 24756602
No
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 60

Expert Comment

by:chapmandew
ID: 24756604
when you created the table on the destination db, did you make sure that you DID NOT copy the indexes as well?  
0
 
LVL 5

Author Comment

by:Aanvik
ID: 24756628
I just created the Primary key index.. Not other indexes.
0
 
LVL 60

Expert Comment

by:chapmandew
ID: 24756913
you're going to be better off if you don't have that...especially if the PK is not an identity column...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question