strange setup for a datawarehouse server?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Everybody,

At the company I work, the data warehouse administrators set up a
datamart server. However, I'm very skeptical about the setup
configuration. In essence, it's our databases' tables, views, and
proc's that are important, but not the data stored within those tables
because we can always re-run procedures to re-import the data from the
data warehouse.

First of all, shouldn't we be using Simple transaction mode instead of
Full? Again, we're not concerned about data loss. The only time we
would ever restore a database would be to get an object back, like a
dropped view or stored procedure. Our transaction logs have grown to
sizes I've never seen before--80 GB and higher in some cases. Our
main staging database has a transaction log over 220GB in size, with
data files growing to approximately the same size.

Second, how many LDF and MDF files should our database(s) have? In
the staging database, we're sure to be storing over 50GB of data in
any given database, but I don't understand why these databases were
set up with [on average] 4 MDF files and 4 LDF files. To top it off,
they're not consistent; one database can have MDF files on 3 different
local drives, and same for LDF files! I just don't understand why
somebody would do this. I understand we may want all LDF files on one
hard drive and all MDF files on another hard drive but what is the
advantage [if any] to having (1) multiple MDF and LDF files, and (2)
MDF and LDF files spread over various hard drives?

What advice could somebody give based on the few specs I've listed
here? I'm assuming we want to allow the datamart staging database to
grow automatically, without restriction, but should it also be set to
"auto-shrink"? And if our main staging database has approx. 200 GB of
data, how many MDF files and LDF files should it have?

I know there's a lot of theory I'm asking about here, so if somebody
could point me to a location where I could read and find my own
answers to any of these questions, that too would be greatly
appreciated. I've read BO's backing up the transaction log and
truncating the transaction log, but we should only be doing this
rarely (I would think).

Thanks,
Eric Bragas



.



Relevant Pages

  • Re: Deleted my log file
    ... MDF file not the LDF files. ... If you create a new database and then copy an old mdf file to the new ... database location and then issue sp_attach_db with those two log files. ...
    (microsoft.public.sqlserver.server)
  • Re: Copying database from one instance to another
    ... however one of the advantages of BACKUP/RESTORE is ... Database mdf and ldf files ... This permits you to copy the MDF and LDF files to another ...
    (microsoft.public.sqlserver.msde)
  • Re: Split Mirror backup and restores
    ... Well the minute you attach the mdf and ldf files, ... to the native attach/detach within SQL Server ... We will using the flashsnap plugin to do full database ...
    (microsoft.public.sqlserver.server)
  • Re: two .ldf files
    ... LDF files associated ... Insted of detaching the database you ... use the EMPTY FILE parameter in DBCC ... >REMOVE FILE in ALTER DATABASE command to drop the NDF ...
    (microsoft.public.sqlserver.server)
  • Re: Transaction log problems
    ... IF you have to shrink a database or file it ... sure that you get that database backup on tape or to another machine. ... > We are using SQL Server 2000 on Windows Server 2003 Standard Edition, ... > One of the databases has recently begun showing large growth of the> transaction log and it is causing us some problems. ...
    (microsoft.public.sqlserver.server)