Placing the transaction log on a separate device

Use the log on clause of the create database command to place the transaction log (the syslogs table) on a separate database device. Unless you are creating very small, noncritical databases, always place the log on a separate database device. Placing the logs on a separate database device:

To specify a size and device for the transaction log, use the log on device = size clause to create database. The size is in the unit specifiers “k” or “K” (kilobytes), “m” or “M” (megabytes), and “g” or “G” (gigabytes), “t” or “T” (terabytes). For example, the following statement creates the newdb database, allocates 8MB on mydata and 4MB on newdata, and places a 3MB transaction log on a third database device, tranlog:

create database newdb
on mydata = "8M", newdata = "4M"
log on tranlog = "3M"