INF: Moving Databases Between Servers Using DUMP/LOADID: Q82946
|
When moving databases between servers using the DUMP and LOAD commands, the device fragments of the target database must match the device fragments of the source database not only in size, but also in sequence. If the device fragments are inconsistent, the integrity of the LOAD may be compromised.
A database may be fragmented on a single device or across multiple
devices. The fragmentation is dependent on the way in which the
database is created, logged, and altered.
For example, consider a 12-MB database consisting of 8 MB of data and
a 4-MB log. The database FRAGMENTED is created on SERVER1 with the
following commands:
CREATE DATABASE fragmented
ON dev1 = 2, dev2 = 2, dev3 = 2, dev4 = 2, log1 = 2, log2 = 2
EXEC SP_LOGDEVICE fragmented, log1
EXEC SP_LOGDEVICE fragmented, log2
CREATE DATABASE fragmented
ON dev1 = 4, log1 = 4, dev2 = 4
EXEC SP_LOGDEVICE fragmented, log1
dbid = DB_ID( 'fragmented' )
SERVER1
segmap lstart size
3 0 1024
3 1024 1024
3 2048 1024
3 3072 1024
4 4096 1024
4 5120 1024
SERVER2
segmap lstart size
3 0 2048
4 2048 2048
3 4096 2048
Additional query words: Dumping loading Windows NT
Keywords : kbusage SSrvGen SSrvWinNT
Version : 4.2 | 4.2 4.21 4.21a
Platform : OS/2 WINDOWS
Issue type :
Last Reviewed: March 12, 1999