Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Moving MSSQL data to a new server
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Moving MSSQL data to a new server

 Post Reply Post Reply Page  123>
Author
Shaun View Drop Down
Groupie
Groupie


Joined: 24 February 2006
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shaun Quote  Post ReplyReply Direct Link To This Post Topic: Moving MSSQL data to a new server
    Posted: 07 March 2006 at 2:58am
Hi all - Hopefully someone can help me out here.

We have our own dedicated webserver running our Forum, with a separate shared server running our MSSQL DB etc.

We've been having absolute crock of sh*te page load times for a few months now!

On the advice I read in here, we've reduced our amount of Forum Sections (We did have 27 - Now down 16, of which 2 are Admin sections).. But we still get completely randomn page loads.. Can get 0.5 secs > 50 secs.

Overall there has been an improvement though.

The reason why we have the shared server for the MSSQL side of things, was to help out with the MSSQL License.

Having just found out Microsoft have released Microsoft SQL Server 2005 Express Edition, I figure we can plop that on our own dedicated server and run the MSSQL stuff on it, so we have everything local. This would also rule out all our ideas about the current shared server, being pap and causing the slow page loads.

Does that sound like a plan?

So could anyone please take the time to knock up a "how to", on moving the data / tables from it's current server to our own.

It would need to start with what I need to ask our Host to supply etc.. And follow on from there.

Make it painfless please guys (with Mickey Mouse A - Z instructions).. I'm not the best Website Keeper.

Many thanks,
Shaun
    

Edited by Shaun - 07 March 2006 at 2:59am
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2006 at 11:48am
The problem with SQL 2005 Express is that DTS import/export tools don't work in it, which makes things tricky.

Until I workout a solution to this issue I'm using MSDE 2000 for the forum on this site.

The reason why is that with the DTS import/export tools I was able to move the database from SQL 2000 Enterprise straight across to MSDE.

So far I have found no issues with using MSDE as the backend for the forum on this site which is very busy and is over 100Mb in size.

If you find a simple way to move the database to SQL Express and beadle to backup SQL Express please let me know.
Back to Top
Shaun View Drop Down
Groupie
Groupie


Joined: 24 February 2006
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shaun Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2006 at 12:16am
Cheers Borg.. Just checked mate (I didn't realise LOL).. But MSDE is a freebie as well.

So does this mean I can download MSDE onto our local web server and run the MSSQL stuff from there as well, hence avoiding the 2 servers that we have at the moment etc.

Any tips on this idea please fella?

Our forum is dying a slow death, I've tried everything that's come up on here and the members are getting seriously pissed.

The only thing left to try, is to rule out any slow MSSQL issues, by having our MSSQL DB located on a seperate and shared server.

Many thanks for your help,
Shaun
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2006 at 12:59pm
Having the SQL Server installed locally should sort out your issues.

MSDE 2000 is the free version of SQL Server 2000.

You install it in the same was as SQL 2005 Express, although if you can I would use SQL 2005 Express as it doesn't have the throttling limitations that MSDE has.

Although both versions should sort out your problems.
Back to Top
Shaun View Drop Down
Groupie
Groupie


Joined: 24 February 2006
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shaun Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2006 at 11:14pm
You've lost me now fella?

You originally said above, NOT to use 2005 Express?

So next plan was MSDE, as you happily rate it and use it yourself etc.

Anyways, any advice on what I need to do please - To get the MSSQL data that's currently on the shared server, onto our own dedicated server.

The way I see it is:

1. Install MSDE on our server.
2. Get the data from our host - Can this just be a backup or do I need the data "detached"?
3. Import the tables / data into MSDE on our server.
4. Edit one of the .asp files (which one??) to point towards the new location of the MSSQL data.

Borg, I really am a n00b here mate.. Looking for some guidance from you

Cheers,
Shaun
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2006 at 2:51pm
I didn't say NOT to use SQL 2005 Express, what I said was that I'm not using it as I haven't found away yet for importing and exporting as DTS import/export tools don't work for it, but if you find away let me know.

As soon as I find away to import and export data on Express 2005 I'm going to move straight over to it as it doesn't have the throttling that MSDE has.

But for the moment use MSDE as you can, using Enterprise Manager use the DTS Import/Export Wizard built into Enterprise Manager to move your database from one SQL 2000 Server to another or between SQL Server and MSDE.
Back to Top
rx7tt View Drop Down
Groupie
Groupie


Joined: 25 October 2004
Location: United States
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote rx7tt Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2006 at 6:49am
Shaun,

I can be of assistance because I did exactly what your are asking. I moved my entire site and sql db from a shared server with shared sql to a dedicated with sql express.

With both methods I do recommend a trial run.

Attach method(Fairly simple):
Copy the db files from the old server (eg. C:\...Microsoft SQL Server\MSSQL\Data) to the sql express folder on the new server (eg. C:\...\Microsoft SQL Server\MSSQL.1\MSSQL\Data) open the sql express manager and attach the db. PS In order to copy the files you will need to stop the db.

Backup/Restore method(I prefer this way):
Backup the db from the old server to C:\...Microsoft SQL Server\MSSQL\Backup copy the backup files to the new server in C:\...\Microsoft SQL Server\MSSQL.1\MSSQL\Backup. Open sql express manager and create a new db with the same name. Once that is done right click the db and go to tasks->restore->database. In the source section select "from device" then browse for your db and that should be it.

Please let me know if you have any questions or problems with either.

SQL Express will take some getting used to but after that it is very good.

-Scott
Mobile Gear.biz-Ringtones, games, videos, links and more...
Wireless Forums
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2006 at 10:14am
Thanks scott, this is also what I was looking for, as from what I read from Microsoft the DTS tools don't work in SQL 2005 Express. Now I know how to do this I will probably be upgrading to SQL 2005 Express very soon.
Back to Top
 Post Reply Post Reply Page  123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.