About the MDF and log_LDF file in the SQL server

Hai Experts ,
I need known the , What is MDF and log_ldf file .
In our BPC server there are MDF and Log_LDF file in the MSSQLSERVER folder under the E drive.
The both file have huge database size .
Can u explain what is MDF and Log_LDF file , why its created ....
Regards
Daya......................

Hi Daya
Those files are the actual SQL database files, in SQL Server management console, you have a logical view of the database with all of the objects within the database. The *.MDF and *.LDF files are the actual physical files which makes up the database in SQL Server. (Where the actual data is stored...)
The MDF file is the actual data file
The LDF file is the transaction log file, SQL Server uses this file in order maintain ACID compliance. It uses transactions to ensure that the database will always revert to a known consistent state on failure.
More Info:
[http://en.wikipedia.org/wiki/Microsoft_SQL_Server]
You don't provide much information regarding the environment, i.e (DEV, QA, PROD, etc), but your *.LDF file should not be bigger that your *.MDF file, and if it is quite large, then you will need your DBA to shrink your Transaction Log file.
[http://databases.about.com/od/sqlserver/a/truncate_shrink.htm]
[http://www.sql-server-performance.com/forum/threads/transaction-log-file-will-not-shrink.15877/]
[http://4rapiddev.com/sql-server/delete-shrink-eliminate-transaction-log-ldf-file/]
Hope this helps
Kind Regards
Daniel

Similar Messages

  • How to connect the  flex and css file on the server..

    when i work on my system, i just give source="abc.css" in style tag but when i upload its not working...can someone help me?

    A common practice is to place the CSS files under <src><assets><styles>  directory in your project.
    Then, in your MXML file  you  use them :<mx:Style source="/assets/styles/common.css"/> 
    When ready to publish to online server, you do as "Export release build" from your project menu.
    This will generate all you need files in the "bin-release"  directory in your project environment.
    You should upload all this content ( from the bin-release directory)  to your server.

  • What are the Major and Minor Diffs between oracle,sql server,MSAccess

    Hi all,
    Can any one explain or send me all the diff between
    oracle ,sql server,access..like how much data can each
    support,...
    Thanks

    Dear sir,
    here it is.
    http://www.oracle.com/database/product_editions.html

  • Steps to move Data and Log file for clustered SQL Server

    Hi guys 
    we have Active'passive SQL 2008R2 cluster environment.
    looking for steps to move Data and log files from user Database  and System Database for  SQL Server Clustered Instance. 
    Currently Data and log  files resides on same drive for user and system Databases..
    Thanks
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah

    Try the below link
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/468de435-3432-45c2-a50b-23519cd2686e/moving-the-system-databases-in-a-sql-cluster?forum=sqldisasterrecovery
    -Prashanth

  • Remove the .layout and .lay files

    When burning a DVD I was told this:
    1) Use DVDSP to build AUDIO_TS and VIDEO_TS folders to the hard drive.
    2) Remove the .layout and .lay files from the VIDEO_TS folder.
    3) Burn with Toast at 1X (make sure to delete the .DS Store files in Toast - There is one at the root level of the disc and 1 in the VIDEO_TS folder)
    I was just curious,
    1. what are the .layout and .lay files
    2. How important is it to remove them?
    3. What advantage do you gain by removing them?
    Thanks.

    These two files are used by DVDSP when you burn a disc from there, or build your project to your hard drive as a disc image. They contain the layout information for when the files in your project are written to the disc itself.
    They have no business being in a VIDEO_TS folder and anecdotally have shown to cause errors on some players if they are left in place. When you burn from DVDSP they are automatically removed as part of that process.
    Removing them manually when burning with Toast, therefore, helps improve compatibility of your DVD-R when you attempt to play it on a set top player.

  • HOW TO CREATE SEVERAL folder for the generation and READING FILE

    HOW TO CREATE SEVERAL folder for the generation and READING FILE WITH THE COMMAND utl_File.
    please give an example to create 3 folders or directories ...
    I appreciate your attention ...
    Reynel Martinez Salazar

    I hope this link help you.
    [http://www.adp-gmbh.ch/ora/sql/create_directory.html]
    create or replace directory exp_dir as '/tmp';
    grant read, write on directory exp_dir to eygle;
    SQL> create or replace directory UTL_FILE_DIR as '/opt/oracle/utl_file';
    Directory created.
    SQL> declare
      2    fhandle utl_file.file_type;
      3  begin
      4    fhandle := utl_file.fopen('UTL_FILE_DIR', 'example.txt', 'w');
      5    utl_file.put_line(fhandle , 'eygle test write one');
      6    utl_file.put_line(fhandle , 'eygle test write two');
      7    utl_file.fclose(fhandle);
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> !
    [oracle@jumper 9.2.0]$ more /opt/oracle/utl_file/example.txt
    eygle test write one
    eygle test write two
    [oracle@jumper 9.2.0]$
    SQL> declare
      2    fhandle   utl_file.file_type;
      3    fp_buffer varchar2(4000);
      4  begin
      5    fhandle := utl_file.fopen ('UTL_FILE_DIR','example.txt', 'R');
      6 
      7    utl_file.get_line (fhandle , fp_buffer );
      8    dbms_output.put_line(fp_buffer );
      9    utl_file.get_line (fhandle , fp_buffer );
    10    dbms_output.put_line(fp_buffer );
    11    utl_file.fclose(fhandle);
    12  end;
    13  /
    eygle test write one
    eygle test write two
    PL/SQL procedure successfully completed.
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdump
    SYS                            EXP_DIR                        /opt/oracle/utl_file
    SQL> drop directory exp_dir;
    Directory dropped
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdumpRegards salim.
    Edited by: Salim Chelabi on Apr 4, 2009 4:33 PM

  • How do I create a product or item database so I can search fr the product and its files with hte pro

    How do I create a product or item database so I can search for the product and its files with the products name or four digit code

    Ok so I made some progress on this. I have figured out, that I can add a chained "add to cart" to certain items, then when they click the button for Buy now, it will add both items to the cart. However, this would require me to manually build each product page and generate a custom button for each one with both product IDs in it.
    Can anyone offer help on how to put some JS in that would append a second function to the onclick function that BC Generates dynamically?
    For the products that require a set up fee, I would assume I would add in to either the product templates or in to the item description some JS that would find the onclick of the buynow button and append a second function to also add to cart the setup fee product. The end result being code that looks like this:
    <input type="submit" class="productSubmitInput" onclick="AddToCart(188536,6314368,'',4,'','',true);AddToCart(188536,6314367,'',4,'','',tr ue);return false;" value="Buy Now" name="AddToCart_Submit" />
    Except of course, the product ID on the first AddToCart would be the main product with the second one being the one appended.
    Does any of that make sense? lol

  • Just bought a Nikon d750 and confused about adobe LR4 and PS6 support for the RAW files. I have DNG 8.7 but wondering if LR and PS will import direct soon Thanks for any advice

    Just bought a Nikon d750 and confused about adobe LR4 and PS6 support for the RAW files. I have DNG 8.7 but wondering if LR and PS will import direct soon Thanks for any advice

    Support for the Nikon D750 was introduced in the latest version of LR 5.7 and ACR 8.7 on Novemder 18th 2014.
    Further updates to LR 4 were stopped when LR 5 was released on June 9th 2013. No further updates for bug fixes and new camera support.
    Nada, LR 4 will never support Nikon D750. The Nikon D750 was introduced into the market in September 2014 some 15 months after further development of LR 4 was discontinued.
    You can use the Adobe DNG program (free download for the package) to convert the Nef (raw) files from your Nikon D750 to the Adobe DNG format which will permit you to import those into LR 4. This is the crutch provided by Adobe to allow for the processing of raw files with outdated versions of LR and ACR.
    You can also update the ACR plugin for PS CS6 to version 8.7 which can also work with the raw files from the D750. For direct support in Lightroom you will need to upgrade (paid) to version 5.7.

  • I created a file in Photoshop CS5 (a photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When the Photoshop and Illustrator files are placed in InDesign, they look blurry - whether viewed in InDesign, printed, or saved as

    I created a file in Photoshop CS5 (a photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When the Photoshop and Illustrator files are placed in InDesign, they look blurry - whether viewed in InDesign, printed, or saved as a PDF. Can anyone give me some tips on how to fix this? Thanks!

    Ask in the program forums
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll

  • I have an iPod Classic 5th Gen.  After 1 month I've lost all my music and playlist files.  The only files left are music I have purchased from iTunes.  How do I restore my music library to my iPod?

    I have an iPod Classic 5th Generation.  I have not used it for about one month.  When I turned it on, I had lost all my music and playlist files.  The only thing left on the iPod was the music and audio books I have purchased from iTunes store.  I tried to delete everything on the ipod by sliding the hold button and then pressing the center button and the menu and I saw the apple logo on the screen but the iPod wouldn't reboot.  Any suggestions as to how I can delete everything on the iPod and then plug it into my computer to restore my music library?  I am using a Windows 7 operating system.

    Does both your Windows and Macbook iTunes have the same library of songs?
    if it  does then, much easier to proceed, else try to load the Macbook with the same library as Windows.
    Note that only one of the Macbook USB port is good for iPod Classic, the other is too slow and may cause timeout, and I would suggest disconnect all other USB devices, while you Restore or Sync the iPod Classic.
    Connect the iPod to the Mac, (if iTunes launch, please close it back.)
    Use Disk Utility -> select the iPod Device->First Aid->Repair (use option FAT32)
    After the Repair complete, eject the iPod.
    Connect back to the Mac
    When iTunes launch, Restore the iPod when Prompted, (use FAT32)
    Sync your library.
    Good Luck!

  • Hi im having huge problems trying to install flash for my mac 10.5 imac, iv gone through the internet and tried all of the solutions, everytime i try to install flash it says cant read the download file, or it just wont install, anybody plz help!

    hi im having huge problems trying to install flash for my mac 10.5 imac, iv gone through the internet and tried all of the solutions, everytime i try to install flash it says cant read the download file, or it just wont install, anybody plz help!
    iv unistalled flash, iv checked plug ins it just wont work,

    It would have been a great help to know precisely what Mac you have, so some of the following may not apply:
    You can check here:  http://www.adobe.com/products/flash/about/  to see which version you should install for your Mac and OS. Note that version 10,1,102,64 is the last version available to PPC Mac users*. The latest version,10.3.183.23 or later, is for Intel Macs only running Tiger or Leopard, as Adobe no longer support the PPC platform. Version 11.4.402.265 or later is for Snow Leopard onwards.
    (If you are running Mavericks: After years of fighting malware and exploits facilitated through Adobe's Flash Player, the company is taking advantage of Apple's new App Sandbox feature to restrict malicious code from running outside of Safari in OS X Mavericks.)
    * Unhelpfully, if you want the last version for PPC (G4 or G5) Macs, you need to go here:  http://kb2.adobe.com/cps/142/tn_14266.html  and scroll down to 'Archived Versions/Older Archives'. Flash Player 10.1.102.64 is the one you download. More information here:  http://kb2.adobe.com/cps/838/cpsid_83808.html
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb2.adobe.com/cps/909/cpsid_90906.html
    and also that you follow the instructions closely, such as closing ALL applications (including Safari) first before installing. You must also carry out a permission repair after installing anything from Adobe.
    After installing, reboot your Mac and relaunch Safari, then in Safari Preferences/Security enable ‘Allow Plugins’. If you are running 10.6.8 or later:
    When you have installed the latest version of Flash, relaunch Safari and test.
    If you're getting a "blocked plug-in" error, then in System Preferences… ▹ Flash Player ▹ Advanced
    click Check Now. Quit and relaunch your browser.
    You can also try these illustrated instructions from C F McBlob to perform a full "clean install", which will resolve the "Blocked Plug-in" message when trying to update via the GUI updater from Adobe.
    Use the FULL installer for 12.0.0.44:  Flash Player 12 (Mac OS X)
    And the instructons are here: Snow Leopard Clean Install.pdf
    (If you are running a PPC Mac with Flash Player 10.1.102.64 and are having problems with watching videos on FaceBook or other sites, try the following solution which fools the site into thinking that you are running the version 11.5.502.55:)
    Download this http://scriptogr.am/nordkril/post/adobe-flash-11.5-for-powerpc to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.

  • 1.- I´m creating a Muse site which contains videos, photos and sound. All videos, sounds and pictures are located in diferent folders in my PC. Since Muse doesn't organize the project and its files like Dremweaver (all files in a single folder). How can I

    1.- I´m creating a Muse site which contains videos, photos and sound. All videos, sounds and pictures are located in diferent folders in my PC. Since Muse doesn't organize the project and its files like Dremweaver (all files in a single folder). How can I manage my site (containing all the media)  in order to upload it to a server?
    2.- Is there a Adobe Muse community in spanish language?
    Thanks for your help
      Mauricio444

    Kevin is suggesting that you store the projects you create while working through his book in a folder called RoboHelpProjects. It is not where you have to store every project you ever create.That is for the purposes of his book.
    RoboHelp initially defaults to My RoboHelp Projects but it's up to you whether you do. Generally on the forums we advise against that as  it is part of your profile and can result in excessively long path names in a few cases. Generally where authors create file names that are so long they almost serve as the content.
    Projects always have a root folder, call them Project 1 and Project 2 for this purpose. You can have those folders directly off your C drive (or other local partition) or within in a parent folder as above.
    Now to what you can and cannot do. You can delete a whole project by selecting Project 1 or Project 2 in Windows Explorer. Obviously if you delete the parent folder you will delete all your projects within.
    What you must not do is delete individual files within a project using Windows Explorer, for that you use RoboHelp's Project Manager. The exception is if you go to Tools > Reports there is a report Unused Files. Files listed there will have to be deleted using Windows Explorer for the very good reason they do not appear in Project Manager and, therefore, cannot be deleted that way.
    If you think about it, it is similar to Word. There is no option to delete a document there other than using File > Open and right clicking. Not very intuitive.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • My external hard drive is 'seen' by my iMac and I can go into the Finder and open files and folders. I am using the hard drive for Time Machine back up. However Time Machine says it can't find the drive. Same thing has happened with Final Cut Express.

    My new LaCie external hard drive is 'seen' by my iMac and I can go into the Finder and open files and folders. I am using the hard drive for Time Machine back up. However Time Machine says it can't find the drive.
    The same thing happened recently between Final Cut Express and my other LaCie external hard drive used as the Scratch disk. It fixed itself.
    I've run out of ideas. Help would be very much appreciated. Thanks.

    have you done some searches on FCPx and time machine? Is there a known issue with using a TM drive with FCPx? dunno but ...wait...I'll take 60 sec for you cause I'm just that kind of guy....   google...." fcpx time machine problem"  Frist page link 
    http://www.premiumbeat.com/blog/fcpx-bug-best-practices-for-using-external-hard- drives-and-final-cut-pro-x/
           You cannot have time machine backups on your hard drive if you intend to use it in FCPX.
    booya!

  • How to open and save file like the Notepad Demo do?

    I am a newer to Java Web Start. I found that in the Notepad Demo, when user try to open or save file, a message box appear and give the user some security suggestions.
    In my application, I used a JFileChooser and set the <security> element to <j2ee-application-client-permissions/> in the jnlp file. But the application will thow an exception:
    access denied (java.io.FilePermission C:\Documents and Settings\Administrator\desktop\Java Web Start.lnk read)
    Can someone tell me how to solve this problem. By the way, where can I find the source of the Notepad Demo. I want my application to open and save file just like the Notepad Demo do.

    The Notpad demo uses the JNLP api to read and write files. The api doc can be found at:
    http://java.sun.com/products/javawebstart/docs/javadoc/index.html
    Although the Notpad demo source is not available, there is other sample code available at:
    http://developer.java.sun.com/developer/releases/javawebstart/
    Included here is the webpad demo, which uses the FileOpenService and
    FileSaveService API's.

  • Can you use iTunes match and not get duplicates if you maintain mp3s and aiffs files of the same song in either the same or separate libraries?

    I maintain a collection of aiff files and mp3 files of the same music.
    Aiff for home listening and Mp3 for my devices.
    I can arrange these in the same or seperate libraires.
    Will "itunes match" duplicate the songs in the cloud if they in the same or seperate libraies on the same mac?
    If not, is anyone aware of how to manage seperate Mp3 and Aiff libraries so as not to get duplicates in itune match?
    All assistance is appreciated.
    Thanks!

    Hello mracole,
    I checked my "purchases" and the 7/19/13 purchases don't show up.  However, the earlier versions from usually several years back...the ones that are Matched...often do show up in my Purchases.  I suspect that somehow those REALLY purchased several year old versions were deleted and redownloaded by me so I could change them to the 256 kbps versions under iTunes Match.  They were probably 128 kbps versions originally when purchased.
    Why the earlier versions that were really purchased are now identified as Matched is puzzling.
    Why I now have Purchased versions from 7/19/13 is puzzling too...especially since these versions do NOT show up in my purchases.
    Calling Apple Support if a good idea unless someone can explain this mystery.  I might even take one of my laptops to the Apple store and show a Genius.
    Thank you very much for taking the time to respond, Mr. Luigi

Maybe you are looking for

  • Lexical Parameter in subquery?

    Is it possible? select * from ( select a,b,c from t where &p_where ) where a>1 It doesn't seem to like this construct - is there a proper way to do this? p_where will be built based on the parameters selected at runtime. Thanks, stephan

  • "Error" type noise

    Every now and then my computer makes an error type of a noise. Nothing happens on the screen and it's at random times. For instance, sometimes I'm typing and it does this, sometimes I'm moving around the curser and it will do it too. What could cause

  • How to uncover and use the hidden Service menu on the Galaxy S3

    I ran across this article over at Android Central that appeared interesting, there appears to be a diagnostic menu built into the S3 software to test the hardware for defects, this may be a useful item for any users that feel that they have a defecti

  • [SOLVED] Xbox 360 Wireless Controller, how to make it work?

    How can I get this to work under Arch? the controller gets detected at /dev/input/js0 and I if cat the file I get a bunch of symbols (which I read that means it works). However, I can make it work with anything, am I missing something? It even gets d

  • App Store - An unknown error has occurred

    Hi, Trying to update OSX. When I enter to AppStore with My Apple ID it always says - "An unknown error has occurred". I tried to create another account (as I read in some message form Apple Support) but it just keeps thinking, with no results. I woul