Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

SQL Split datafile

  • 19-07-2007 9:07am
    #1
    Closed Accounts Posts: 120 ✭✭


    Hi All,

    I have a 60GB disk where a database resides.
    The database is now 58GB.
    I have another drive which has 60GB free.
    Is it possible to split the datafile over two disks or do I just have to purchase a bigger drive ?

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 23,212 ✭✭✭✭Tom Dunne


    What database/operating system?


  • Closed Accounts Posts: 120 ✭✭samelterrance


    Hi Tom,

    Windows 2003 Server, SQL Server 2005 Enterprise Edition


  • Registered Users, Registered Users 2 Posts: 23,212 ✭✭✭✭Tom Dunne


    And this is where I bow out. More of an Oracle man, myself. :D

    It's been a while since I looked at SQL server, but I would be very surprised if you can't do it.


  • Registered Users, Registered Users 2 Posts: 2,781 ✭✭✭amen


    yes you can.

    you could split the physical file device over multiple drives
    or even better create new physical devices on the same/multiple drives
    and then assign different tables to those devices.

    Of course doing this can have performance issues as you may have tables involved in the same query on different drives/devices which could cause issues.

    you need to be careful with this.

    With only 2Gbs free how is performance?

    is there any old data that can be removed/archived?

    what size is your transaction log and how often do you back it up?

    Do you run statistics, reindex and defrag jobs on a regular basis?


  • Closed Accounts Posts: 120 ✭✭samelterrance


    Hi there,
    Thanks for the reply.


    With only 2Gbs free how is performance?
    It's adequate

    is there any old data that can be removed/archived?
    unfortunately not.

    what size is your transaction log and how often do you back it up?
    transaction log is 400MB, back it up every night

    Do you run statistics, reindex and defrag jobs on a regular basis?[/QUOTE]
    Statistics and reindex is done on a weekly basis.

    I think I'll have a go at creating new filegroup then and adding various tables to that. ?

    Cheers


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,781 ✭✭✭amen


    go for it!


Advertisement