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

  New Posts New Posts RSS Feed - Access to SQL: 50% waste of DB size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Access to SQL: 50% waste of DB size

 Post Reply Post Reply
Author
madolik View Drop Down
Newbie
Newbie
Avatar

Joined: 28 September 2003
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote madolik Quote  Post ReplyReply Direct Link To This Post Topic: Access to SQL: 50% waste of DB size
    Posted: 07 October 2005 at 5:05am
After upsizing the Web Wiz Forum Access database to SQL I found a problem with the datatypes, most important in tblthread.
 
The upsizing assistant changes the tblthread.message datatype from memo in the Access database to ntext in the SQL version.
 
The original SQL database, when setting up with the Web Wiz SQL_setup script, has the field tblthread.message set to text, and not to ntext. The problem with that is that ntext is using twice as much space as text, so I would like to ask:
 
Can I change the SQL datatype of tblthread.message from ntext to text without losing data? I already tried it and the SQL database size was cut into half almost (From 70MB down to 38MB), but I would appreciate a technical explanation whether I am losing data that way.
 
Can some people here who upsized from Access to SQL please post the datatype of their field tblthread.message in the SQL database?
 
Thank you for your help.


Edited by madolik - 12 October 2005 at 7:10am
Back to Top
madolik View Drop Down
Newbie
Newbie
Avatar

Joined: 28 September 2003
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote madolik Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2005 at 7:19am

Topic was renamed and bumped since this should be of concern to everbody who upsized his Access database to SQL.

You are, in case this is not a problem with my upsizing assistant only, wasting 50% database space on your SQL server and you are very likely paying too much for SQL hosting. The difference between a 200MB SQL database and a 400MB SQL database can easily go into the $hundreds. Those 400MBs can be decreased to 200MB by simply setting the message field to text instead of ntext, that is how it worked for me!
 
Please post a reply when you know about any problems with the field type change from ntext to text. And I would still appreciate it when some users who upsized from Access to SQL would post the datatype of their field tblthread.message. Is it ntext or text?
 
Thank you!
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: 12 October 2005 at 8:07am
Back to Top
 Post Reply Post Reply

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.