Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

SQL 2005 and collation conflicts

Thread Tools
 
Search this Thread
 
Old 11 June 2008, 12:49 PM
  #1  
markr1963
Scooby Regular
Thread Starter
 
markr1963's Avatar
 
Join Date: Jun 2002
Location: Perth, Western Australia
Posts: 1,866
Likes: 0
Received 0 Likes on 0 Posts
Default SQL 2005 and collation conflicts

Got a client for whom I installed Altiris that created a DB on their SQL box. They have subsequently recreated this SQL server on different hardware and in process used a different DB collation from that of the original install. Upshot of this is that aspects of Altiris' functionality now report collation conflict errors. Is it possible to install a new instance on the SQL server that uses the original collation?

TIA

Mark
Old 12 June 2008, 02:14 PM
  #2  
markr1963
Scooby Regular
Thread Starter
 
markr1963's Avatar
 
Join Date: Jun 2002
Location: Perth, Western Australia
Posts: 1,866
Likes: 0
Received 0 Likes on 0 Posts
Default

Figured it out. Multiple instances with different collations is the way to go. Does anyone know if there's much of a performance hit in running 2 instances with half a dozen DBs apiece as opposed to 1 instance with 12 DBs?

Mark
Old 12 June 2008, 05:28 PM
  #3  
AllenJ
Scooby Regular
 
AllenJ's Avatar
 
Join Date: Mar 2004
Posts: 752
Likes: 0
Received 0 Likes on 0 Posts
Default

I have installed two instances of MSSQL 2005 on one of our database servers, one with US collation and the other with a UK collation, so far no issues with performance.

There are ways of cross referencing instances in code especially if temporary tables are used within stored procs. Creating temp tables with the required collation will force it from using the default collation.

HTH
Old 13 June 2008, 12:52 PM
  #4  
J4CKO
Scooby Regular
iTrader: (1)
 
J4CKO's Avatar
 
Join Date: Jan 2003
Posts: 19,384
Likes: 0
Received 1 Like on 1 Post
Default

Shouldnt be a problem as long as you have enough memory, SQL Server is very good at apportioning memory between instances and the O/S, the main factor is the ammount of connections and what they are doing, you can have a SQL instance with 32,767 separate databases, extreme but if there is no activity a large number of databases its not a problem but you can have one database that gets battered and it is a problem. Use Windows Performance monitor to keep an eye on the figures like Disk Queues, Buffer Cache, Page retention etc.

I tend to find that with modern servers, the resources arent that much of a problem unless its really ramped up, my SQL 2000 cluster has 32 databases and the CPU figures are always below 10%, its got 8 cores and its only a fairly basic server.

Also, dont get fixated on counters, just ask the users if they find it ok, if they do, just leave it alone !
Old 13 June 2008, 07:13 PM
  #5  
DemonDave
Scooby Regular
iTrader: (13)
 
DemonDave's Avatar
 
Join Date: Jan 2001
Location: Midlands - between notts and derby !
Posts: 4,997
Likes: 0
Received 0 Likes on 0 Posts
Default

you can change the collation after installation ? Surely that would be better ?

It was mainly the system db's that caused a problem for me, especially when trying to create a temp table
Old 14 June 2008, 10:41 AM
  #6  
markr1963
Scooby Regular
Thread Starter
 
markr1963's Avatar
 
Join Date: Jun 2002
Location: Perth, Western Australia
Posts: 1,866
Likes: 0
Received 0 Likes on 0 Posts
Default

Dave

If they hadn't got production DBs with the new collation I would have tried changing master and temp etc back to the old one. I did try to change the Altiris DB collation to the new one but got heaps of schema errors and such and my SQL skills aren't up to sorting that out.

Cheers, Jacko. Can't see these DBs being thrashed that hard so all should be good.

The client has now buggered up their Altiris server installation too Would solve the first problem though if I have to do a fresh install
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Harley87
Subaru
23
11 December 2015 09:54 AM
Doobydoo123
Engine Management and ECU Remapping
5
11 October 2015 03:54 PM
toyney83
General Technical
10
02 October 2015 08:38 PM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
Doobydoo123
Suspension
0
20 September 2015 12:09 PM



Quick Reply: SQL 2005 and collation conflicts



All times are GMT +1. The time now is 05:08 AM.