Splitting data equaly from one .mdf to several .ndf files

Hi all,
Situation:
We have a db with 1 TB of data in one .mdf file (sql 2012).
For better performance we want to split this file up into 4 equaly big data files on different drives.
1st guess:
Well I thought that's pretty simple, I just add 4 datafiles (.ndf) on different drives, empty my existing .mdf and drop it finaly.
Well the problem with this is, you cannot delete your .mdf file because it holds metadata (catalog) for your db.
Solution:
- I added 3 more datafiles (.ndf) with 250 GB size each, autogrow disabled, on 3 additional drives (no new filegroup)
- DBCC SHRINKFILE (your_logical_mdf_file, EMPTYFILE)
  (this gives you an error because there is not enough diskspace to split the 1TB .mdf file into 3 x 250 GB .ndf files, but it splits your 1 TB file equaly to all your 4 db files)
- shrinked my .mdf file and adjusted filesize and autogrow settings for all 4 db files
Remark:
Just keep in mind that moving 1 TB of data around takes a while and you better do this in a not so busy time...
HTH
acki4711

Neha,
I don't see any advantage of the IO with filegroups.
We don't want to deal with what object should be in what filegroup, (most of the time we maintain 3rd party software/dbs) just want to get better performance by splitting data into more then one db file.
acki4711
You could benefit from performance by splitting data in upto 4 or 8 files and each file on a different drive.
How are the underlying disks configured, do you know? Otherwise, if all of these volumes are carved out of a single lun then there won't be a performance gain that you are looking for. Also, please enable TF 1117 for uniform db file growth once you size
the files to be of equal size.
Note: You may want to test the emptyfile option on your .mdf file, as it may not be straightfoward.
HTH
Hello AlliedDBA,
There is no benefit by splitting database files on different disk drives if your Underlying hardware is RAID 10 or RAID 5 you can achieve performance benefit.Daa to data files are written in Round robin fashion and you dont have any control over it.
Please dont enable any Trace flag.I am not sure what could be solution beacause IMO you anyhow require space
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
Hello Shanky..
Thanks for your feedback, but, I still stand by my suggestion. I see you are opinionating here, so please post some facts to back your claims that 1. No advantage of having multiple files 2. Not sure why your are scared of the term Trace flag but your
statement "IMO anyhow require space" lacks clarity..What is the relationship between space and trace flag??

Similar Messages

  • How to make data flow from one application to other in BPEL.

    Hi All,
    I am designing work-flow of my application through BPEL(JDeveloper), I am making different BPEL projects for different functions, like sales manager got the order from sales person and sales manager either approve it or reject it, if he approve it it goes to Production manager and he ships the goods, now I want to keep sales person, sales manger,production manager in seperate BPEL files and want to get the output of sales person to sales manager and sales manager to production manager please help me in dong this.
    I was trying to make partner link in Sales manager of sales person and getting the input from there. I dont know this is right even or not, if it is right I dont know how to make data flow from one application to other.
    Experience people please guide.
    Sales Person -----> Sales Manager ----> Production Manager
    Thanks
    Yatan

    Yes you can do this.
    If you each integration point to be in different process, you have to create three BPEL process.
    1. Create a Async BPEL process 'A' which will be initiated when sales person creates the order.
    2. From BPEL process 'A' call a ASync BPEL process 'B' which has the approval flow. Depending on the input from process 'A' the sales manager will review the order in workflow and approve or reject and send the result back to process 'A'.
    3. Based on the result from workflow, invoke the Sync BPEL process 'C', where you can implement the shipping logic.
    -Ramana.

  • Customer master data updation from one system to another system

    HI  Experts,
    I have an issue with customer master data updation from one system to another system. And here only one field is not updating properly from one system to another system. and we found this is through idoc , but we don't find field in any segment.
    and the field is called ADDR1_DATA-HOME_CITY.
    and this will displayed as different city in address column.
    but as per the notes given in help , it is by program , form through only passing. but not able to trace and as per my analysis ADRC table , ADRNR  had this field HOME CITY.
    And this is for some customers updating wrong one from one system to another system , and for some customers field itself not updating in address column.
    please can you suggest any one. here are screenshot for your reference.

    that is not enough, it was enough in times before 40b release, but this was in the  last century
    Please read OSS note 384462 - Master data and addresses
    it explains what you have to do for ALE

  • Data Load into two data targest from one DataSource

    Hi,
    I want to load data into two data targest from one DataSource. I did full load, then Initialization & delta settings for that DataSource. But I want to load data into one data target using delta InfoPackage & into 2nd data target using Full Load InfoPackage. Can I schedule execution of these 2 infopackges one delta & 2nd Full load InfoPackage for the same DataSource simaltaneously?
    Regards,
    Pradip

    Hi,
    In BI, You can achieve this. As thorugh info package, you laod data till PSA only. Then it is being loaded to other data targets.
    Create two DTPs, one with FULL load and another one with Detla Load. It will work.
    In R/3 Side, As sandeep has mentioned , there might be possibility that if you run full load after delta , your delta may get corrupt. i am not sure about that , but there is a possibility.
    - Jaimin

  • How do i create and pass a global variable from one vi to several sub-vi's?

    Hi Guys,
    I am trying to create a program that opens several front panels (sub-VI's) in sequence. in each front panel, the user would open a file that the name is obtained from the previous sub-VI. I would like to know how i could pass the filename and refnum of the file thorough from one sub-vi to another. A global variable would do it in VB, but how do we do global vars in LABWIEW. thanks
    Papish

    I put together a sample VI and Sub VI that illustrates how to pass a Refnum and access a data file while in a Sub VI.
    For multiple VIs just repeat the sub VI process.
    You probably don't wanna use a Global Variable if not needed (can add to the mess down the road haha).
    Let me know if it helps you out! Or if I can clarify anything else!
    Chances are if you have seen VI in the forest it hasn't fallen.
    Attachments:
    Passing Refnum.zip ‏21 KB

  • Data synchronization from one Oracle DB to multiple Timesten DB

    Hi all,
    I need to synchronize data from one Oracle DB to multiple Timesten DBs, for example <n> TT DBs, with following requirements:
    1) Data in <n> Timesten DB must be synchronized, it means data of Oracle DB must appear in all <n> Timesten DBs, or not in any Timesten DB
    2) Flexibly increase and decrease the value of <n>
    Please give me good way or tool to do this!
    Thanks,
    LeoBon

    Hi,
    I am assuming here that all updates to this data will occur in Oracle and the data in Timesten is query only? If so then there are several approaches but the 'best' one is probably as follows:
    1. Create a pair of Timesten datastores (on two separate machines0 which are synchronised uwing TimesTen active/standby pair replication.
    2. Create one or more READONLY cache groups in this A/S pair as required.
    Applications can connect to either database to query the cached data. The AUTOREFRESH mechanism will refresh changes from oracle into the 'active' TimesTen database and replication will propagate them to the 'standby' database.
    To 'scale out' you can add one or more readonly subscriber databases to the A/S pair (up to a maximum of 128!). The cached data will be present in these also and kept in sync by TimesTen replication.
    Chris

  • How do I transfer "date added" from one iTunes library to another?

    I recently transfered my iTunes library from one Mac to another w/ no problem, however all of the dates in the date added column show the date of the library transfer and not the original date the music was imported into iTunes. Is there any way to retrieve or preserve the original dates? I know, not a "real' problem, but a concern for me nonetheless.
    Thanks to anyone who can help.
    R.H. Sharp

    iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -
    Generally it is not advised to have multiple Photo libraries - but if you do you need IPLM to manage them
    LN

  • Copy Version-Budget data copied from one version to another-How to view Data in Copied Version.

    Dear All,
    Budget Data is copied from one Version to another Version using Tools>copy Version option. How can you view Data copied to new Version, when you receive a message Version is successfully copied.
    I think we can do that by selecting appropriate version in the version dimension while accessing the Forms or in Smart View.
    Can you please let me know how to do this or different options available with this process.
    Thanks in Advance for your valuable time...

    A form to check the data with the correct POV, a Smart View query, excel addin retrieve, financial report, export data, report script, take your pick.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • QM master Data copy from one client to another client

    Hi QM guru...
    Kindly suggest me how i will copy all  qm master data  from one client to another client
    QM master Data like....Catlogs. MIC inspection method. sampling...etc
    Kindly suggest me how i will copy all master data
    Thanx
    Regards
    Akil

    Dear Akil,
    I think that LSMW can be of help in this case.
    Otherwise, please check with your ABAPer whether any BDC is there for mass uploading of master data.
    Regards,
    Kaushik

  • Purchase Order Data transfer from one old sap system to new sap system

    hi all,
    Suppose i have created some purchase orders in one client( old sytem) that are accurate according to our need .
    Now instead of creating same purchase orders again in in new system is a useless task.
    SO i want to upload these purchase order directly from SAP old system to
    SAP new system.
    How to execute this task.
    CAN anybody help me out with simple example  plz..
    thnx & rgds

    using ALE & IDOCS you can trasfer data from one system to another

  • Data transfer from one sql server to another sql server in 2005

    Hi,
    Im trying to transfer only one table data from one server database  to another server   database table.both are in 2005 .Can anyone help?

    Hi,
    Im trying to transfer only one table data from one server database  to another server   database table.both are in 2005 .Can anyone help?
    If you are not using express you can use Import export wizard to mode data its very easy below link will help.In link destination is excel but you can select destination as your SQL Server
    http://www.mssqltips.com/sqlservertutorial/202/simple-way-to-export-data-from-sql-server/
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Purchase Order Data transfer from one client to another client

    Suppose i have created some purchase orders in one client( development server) and that are accurate according to our need .
    Now instead of creating same purchase orders again in production server is a useless task.
    SO i want to upload these purchase order directly from SAP development client to production client.
    How to execute this task.
    Please help me  out.
    I think it needs ALE concept .
    I know the ALE concept but i never uploaded the transaction data through ALE only i have uploaded the MASTER DATA.
    For eg i have transfered the material from one server to another server but never transfered the purchase order.
    CAN anybody help me out with simple example then it will greatful to me.
    Thanks a lot

    hi u can use BAPI to call that PO FROM ONE CLIENT TO ANOTHER CLIENT.
    FOR that, use, data: wa_destination type gsval.
      CASE sy-sysid.
        WHEN 'DVH'.
          CONCATENATE 'DVC' 'CLNT' '021' INTO wa_destination.
        WHEN 'QAH'.
          CONCATENATE 'QAC' 'CLNT' '129' INTO wa_destination.
        WHEN 'SUH'.
          CONCATENATE 'SUC' 'CLNT' '222' INTO wa_destination.
        WHEN 'PRH'.
          CONCATENATE 'PRC' 'CLNT' '222' INTO wa_destination.
      ENDCASE.
    call function  BAPI_PO_CREATE DEATINATION WA_DESTINATION
    COMMIT
    REWARD POINTS IF THIS IS USEFUL

  • Data transfer from one adobe form to another adobe form (offline)

    Hi,
    Is it possible to transfer data from one adobe form to another adobe form(offline).
    Advance Thaks
    Murali Papana.

    I dont know what your requirement but simple way is use 'Save' or 'Save as' to create a copy of offline form. ...:-)

  • Data transfer from one BW system to another

    As there are, at least theoretically, a myriad of ways to push data from one BW system to another, I was wondering if anyone had some key thoughts or experiences to share. I see that OpenHub/InfoSpoke and the Data Mart Interface / Export DataSources seem to be the main methods of choice.
    What are the differences, and what are the key points to consider between these two or other recommended ways (for BW3.5)?
    Thanks in advance,
    Thomas

    Hi,
    In the all the data transfer between SAP systems RFC is the best option.
    Just create a source system for the new BW system and it will work.
    Thanks
    Message was edited by:
            Ajeet Singh

  • Employee data migration from one company code to another company code

    Hi Experts,
    Can some throw some light on how can we migrate employee master data from one company code to another company code in the same client and different clients. what are the other areas we need to take care  during migration like interfaces etc.,.
    secondly can we copy part of org structure or total org structcture to new org plan. if we need to create new org structure which interface is advisable and why?
    i request experts opinions on this.
    thanks in advance
    vara prasad.

    Hi have to repeat the previous Michael's post:
    <b>What made you post this question in this thread?</b>
    Please read the forum guidlines:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fe6cf0c7-0501-0010-dda5-f3a89106ee84

Maybe you are looking for

  • GetParameter() with more than one word

    hi all i have these statement in my Servlet String cust = rs.getString(1); out.println("<INPUT TYPE=radio NAME=cdnames VALUE="+ cust + ">"+ cust + "<br>"); out.println("<input type=submit>"); out.println("</form>"); String lastName = request.getParam

  • HTML in JEditorPane question

    Hello I am having trouble with displaying HTML with image maps in JEditorPane component. I am trying to load a simple html file as follows: <html> <IMG SRC="monk.gif" HEIGHT="255" WIDTH="262" ISMAP USEMAP="#mapareas"> <map NAME="mapareas"> <area SHAP

  • Images are showing up in different slides

    I have a project with 21 slides.  When I "Preview From this Slide",  the slide works fine.  But, when I "Preview Project"  and enter the slide, an image from Slide 16 is shown in Slide 20.  This is wrong, why would Captivate move images around arbitr

  • Issue in Query to find the Cumulative Values

    Hi All, I am developing one Query in which i have to show plant wise last 12 months status of audit. In this audit i am able to show the types of audits say X,Y,Z perfectly. But the thiing i want to calculate is the cumulative values of X,Y,Z before

  • Update market attribute for BP

    Dear expert, i need to update market attribute of bp in CRM. At the moment i'm using function module CRM_MKTBP_ASSIGN_ATTRIBUT_TAB to create/update the attribute. It works fine but there is a problem when I try to update the field  ATWRT (characteris