Read_Only and Read_Write File Groups in Same Database

We have fairly static reference data in a database we have set to Read_Only for a number of reasons and it has worked well in that state. I am being asked to change that now so we can load data daily into this database. I am thinking about creating a read_write
filegroup in the database to do this and still allow us to have the original tables in the database on a read_only filegroup. I am wondering what issues may occur with this approach, concerned about taking this highly read database to a read_write state and
causing issues. It appears the primary data file can't be set to read only, so I would need to create the read_only filegroup and move all the existing data/tables to it that file group. Anyone have comments/experience along these lines?

When a Filegroup is marked as Read-only, SQL Server will not bother with Page or Row locks on the tables or indexes contained in them. This reduces SQL Server overhead and improves performance. Since the data is not changing, index fragmentation does not
occur so maintenance, such as rebuilding or reorganizing, is unnecessary. That saves time and effort also. Also,  in SQL Server 2008 and later, you can mark a Filegroup as Read-only without having exclusive access to the entire database....
Raju Rasagounder Sr MSSQL DBA

Similar Messages

  • 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

  • Firefox will not show links to flv files. I get the error message for each flv file: "File not found. Firefox can't find the file at (path) .flv." Any mov and swf files in this same path will show. I can see the videos in Safari so the paths are correct.

    Firefox will not show links to flv files. I get the error message for each flv file: "File not found. Firefox can't find the file at http:// (path) .flv." Any mov and swf files in this same path will show. I can see the videos in Safari so the paths are correct.

    Is this a webpage that contains a link to a flv file? Please post a link to the page and tell us which link(s) are the problem flv files or else post a link to the .flv file itself.
    Alternately, click on one of the sample FLV File links on this page and tell us exactly what happens:
    http://www.mediacollege.com/adobe/flash/video/tutorial/example-flv.html
    It might also help if you post the exact error message, including the path to the flv file.
    '''Note:'''
    Depending on how you have Firefox set up, clicking on a FLV File link will either save the FLV file to your computer or Firefox may open it automatically in an external application right after downloading (Firefox may ask you first). Firefox itself can't play FLV files so you need a "helper" application (or a plugin for flv files, if ther is one. You can see if Firefox is already set up to download or open FLV files by going to Firefox Preferences and looking in the Applications list. Find the FLV file type in the list and, if the action is "Open with", it should show the application that can play FLV files (e.g., VLC Media Player or Perian). See [[Managing filetypes]] for more information.

  • Dng and tif file with the same name, in the same Lightroom folder

    If I have both a dng and tif file with the same name, in the same Lightroom folder, I can only see and access one of them. Is there a setting I can change in order to see both of them?

    If you can only see one of them, which one can you see?
    Was the DNG and the TIF imported at the same time?
    How are you trying to "access" the files?
    The more details you can provide, the more likely it is that someone will be able to help you.

  • Index File group on same drive as data files

    I've just found a file group used for indexes on the same drive as the data files.
    Am i correct in saying there is little benefit to this. The index file group should be on it's own spindle?
    Mr Shaw... One day I might know a thing or two about SQL Server!

    Definitely there will be performance gain provided you are querying for related data which as references index on those index filegroups.
    It helps in parallel processing , having data and index on multiple disk heads helps in reading the data parallel. For more information you can refer the below link
    https://technet.microsoft.com/en-us/library/ms190433%28v=sql.105%29.aspx
    --Prashanth

  • HTML and XML files open in same window(KM Navigation iView)

    Hi All,
    I have created a KM navigation which is pointing the folder inside the documents repository. This folder contains HTML and XML files. It is rendering fine. But, when I click on the file links in KM Navigation iView, it is opening in new window.Here I need to open in same window. How can I acheive this?. Please help me.
    Thanks & Regards,
    Venkatesh R

    Hi ,
    check the below thread and try options mentioned in it
    https://www.sdn.sap.com/irj/sdn/thread?threadID=72594
    Koti Reddy

  • Automator: Create folder from suffix of filename and put file names with same suffix into folder

    I've been using a script to use automator to create a folder from the filename and put that file into it the folder just created.
    I have a bunch of files that have similar names to them, but I don't want every file to be put into its own folder, instead I want all files with the same suffix (001) to go into the same folder.  I would also like the folder name to just be named the same as the suffix (001) instead of the full file name.
    For example all of these files names that end with the same integer (001) should be dumped into the same folder named "001":
    Boston_ProRes422_1920x1080_24p_Audio_001
    Boston_ProRes422_3840x2160_24p_Audio_001
    Boston_ProRes422_3840x2160_24p_RAW_Audio_001
    Boston_ProRes422_1920x1080_24p_Audio_002
    Boston_ProRes422_1920x1080_24p_Audio_005
    Boston_ProRes422_1920x1080_24p_Audio_010
    Any help at all would be incredible!!
    Thanks!
    Here's the script I'm using right now:
    on run {input, parameters} -- create folders from file names and move
      set output to {} -- this will be a list of the moved files
      repeat with anItem in the input -- step through each item in the input
      set {theContainer, theName, theExtension} to (getTheNames from anItem)
      try
      set destination to (makeNewFolder for theName at theContainer)
      tell application "Finder"
      move anItem to destination
      set the end of the output to the result as alias -- success
      end tell
      on error errorMessage -- duplicate name, permissions, etc
      log errorMessage
      # handle errors if desired - just skip for now
      end try
      end repeat
      return the output -- pass on the results to following actions
    end run
    to getTheNames from someItem -- get a container, name, and extension from a file item
      tell application "System Events" to tell disk item (someItem as text)
      set theContainer to the path of the container
      set {theName, theExtension} to {name, name extension}
      end tell
      if theExtension is not "" then
      set theName to text 1 thru -((count theExtension) + 2) of theName -- just the name part
      set theExtension to "." & theExtension
      end if
      return {theContainer, theName, theExtension}
    end getTheNames
    to makeNewFolder for theChild at theParent -- make a new child folder at the parent location if it doesn't already exist
      set theParent to theParent as text
      if theParent begins with "/" then set theParent to theParent as POSIX file as text
      try
      return (theParent & theChild) as alias
      on error errorMessage -- no folder
      log errorMessage
      tell application "Finder" to make new folder at theParent with properties {name:theChild}
      return the result as alias
      end try
    end makeNewFolder

    Thanks Neil for the response! That script didn't work, but I did get it to work with my old script by changing "set TheName to" numbers different.  Here's my final script which creates folders named "001", "002", and so forth and dumps in the files that end in that same suffix in the matching folder.
    on run {input, parameters} -- create folders from file names and move
      set output to {} -- this will be a list of the moved files
      repeat with anItem in the input -- step through each item in the input
      set {theContainer, theName, theExtension} to (getTheNames from anItem)
      try
      set destination to (makeNewFolder for theName at theContainer)
      tell application "Finder"
      move anItem to destination
      set the end of the output to the result as alias -- success
      end tell
      on error errorMessage -- duplicate name, permissions, etc
      log errorMessage
      # handle errors if desired - just skip for now
      end try
      end repeat
      return the output -- pass on the results to following actions
    end run
    to getTheNames from someItem -- get a container, name, and extension from a file item
      tell application "System Events" to tell disk item (someItem as text)
      set theContainer to the path of the container
      set {theName, theExtension} to {name, name extension}
      end tell
      if theExtension is not "" then
      set theName to text -5 thru -((count theExtension) + 4) of theName -- just the name part
      set theExtension to "." & theExtension
      end if
      return {theContainer, theName, theExtension}
    end getTheNames
    to makeNewFolder for theChild at theParent -- make a new child folder at the parent location if it doesn't already exist
      set theParent to theParent as text
      if theParent begins with "/" then set theParent to theParent as POSIX file as text
      try
      return (theParent & theChild) as alias
      on error errorMessage -- no folder
      log errorMessage
      tell application "Finder" to make new folder at theParent with properties {name:theChild}
      return the result as alias
      end try
    end makeNewFolder

  • How to cffileupload and store file paths in a database?

    I'm using CF 9 and have multi-file uploading working. What I need help with is a help desk type page that will display the filenames with links to the files that are uploaded with the form that a user submits. When I view an admin page, I need to see the email form results with a list of the files uploaded and links to where they are.
    Any ideas on how I can get an admin page to display only the files associated with each form submission? I'm assuming that I need to find a method of stroring each uploaded file path to a database but I don't know how to do that. Any help would be appreciated. Thanks

    You could proceed as follows:
    1) Create a database table named uploadedFile. The columns could be, for example,
    upload_id: INT, autoincrement, primary key
    datetimecreated: DATETIME
    serverfile: VARCHAR(50)
    serverdirectory: VARCHAR(30)
    2) Do your multi-upload, for example,
    myMultiUploader.cfm
    <cffileupload url="myUploadFiles.cfm" width="600" ... etc>
    myUploadFiles.cfm
    <cffile action = "uploadAll" destination = "c:\myUploads" nameConflict = "overwrite">
    <!--- This is where your question gets answered --->   
    <!--- All the information about each uploaded file is stored in the cffile structure. ColdFusion creates one cffile struct for each and every file you upload in a single upload round --->
    <!--- Save the information about each file to the database. The back slash \ often serves the purpose of an escape character. So I've replaced it with the forward slash / in the file path. --->
    <cfquery name="saveUploadInfo" datasource="myDSN">
        insert into uploadedfile (datetimecreated, serverdirectory, serverfile)
        values (#cffile.timecreated#, '#replace(cffile.serverdirectory,"\","/","all")#', '#cffile.serverfile#')
    </cfquery>
    <!--- You could in fact log (and review) all the upload data by means of the following --->
    <!--- <cflog file="uploadData" text="#serializeJson(cffile)#"> --->

  • Save as PDF and AI file at the same time?

    Hey everyone,
    I was wondering if it's possible to save an AI file as both an AI file & PDF file at the same time??
    Where i work, we always need to save an AI file and a PDF file. So is there a way I can set up my Illustrator so everytime i save something, it'll  save the AI file and automatically create the PDF too? ..
    Or is there no way around .... Save as: Illustrator file.  /   Save as: PDF file in two separate actions?...
    Any help would be greatly appreciated.
    Thanks!
    Jay

    I was wondering if it's possible to save an AI file as both an AI file & PDF file at the same time??
    Where i work, we always need to save an AI file and a PDF file. So is there a way I can set up my Illustrator so everytime i save something, it'll  save the AI file and automatically create the PDF too? .
    No, it is not possible in the base product.
    (I guess it is probably doable with scripting, I'll defer to others on that.)
    But can you stop and tell us why you want to do this?
    AI files with "Preserve PDF Compatibility" and PDF files with "Preserve Illustrator Editing Capabilities" are functionally equivalent. Both of which are the default. In both cases, the file contains a PDF portion that is visible to PDF viewers, and an Illustrator private data section that is used by Illustrator. Two entirely complete versions of the information that can stand on their own appear in both file types.
    While I realize the requirement may be beyond your control, it would still be good to understand it's origin.

  • Elements Organizer shows different timestamps in JPEG and NEF files of the same photo

    Hi,
    I generally use the option of my Nikon D5000 to store pictures in NEF and JPEG format. While both files show the same time stamp under properties - as one may expect (click on a photo, press right mouse button, last entry of context menu "show properties"), Photoshop Elements Organizer 9 shows different time stamps (when option "details" is chosen in menu "view"). The NEF-file always has a time stap which is exactly two hours later than the time stamp of the corresponding JPEG-file and which - as mentioned - does not correspond to the time stamp stored within the piuctures properties entries. Does anybody has an idea how to change this? Or might this be a bug of the software?
    Thanks

    Yes.  Create a smart album with the criteria Photo is RAW:
    Then you can select all of the photos in the smart album and use the Events ➙ Create Event menu option to move all of the RAW photos into a new event.
    OT

  • Is it possible to ignore and not import JPG files when a JPG and raw file of the same name exist?

    Is it possible to ignore JPG files on import? I shoot raw + JPG and see no reason to keep the JPGs; I shoot JPG primarily as a backup (I back all the JPGs up online to my smugmug account then delete them before importing the raw files), but they're also occasionally handy if one wants to get a quick print in the field. I know that one can set a preference to "Treat JPEG Files Next to Raw Files As Separate Photos", but even then they still are imported.
    As an example, say I have this scenario (not on DSLRS, but on pNs cameras, sometimes a JPG but not raw is captured - I suspect this has to do with how the buffer is filling) with these files on a memory card:
    IMG_0001.JPG
    IMG_0001.CR2
    IMG_0002.JPG
    IMG_0003.JPG
    IMG_0003.CR2
    When I import pictures from this folder, I'd like 2 CR2 files and 1 JPG to be imported. I'm even willing to copy the relevant files and drag and drop them onto LR's Library module. But even if I do that, all five files get imported. Thanks!
                         Dilip

    jim01403 wrote:
    trshaner wrote:
    For this typical example 98% of the image files are transferred while LR is building previews, which is exactly what I was suggesting be avoided.
    No, I don't believe that's correct. As I said in my previous post, Lightroom's Import is a two-stage process.....first copy the files from the card, then when that is finished, render whatever previews have been requested.
    AFAIK there is nothing unusual about my system, Lightroom has always imported in this two-stage way as far back as I can remember. Based on this I see no 'safety' benefit from copying files first outside Lightroom, then using an ADD import process. On the contrary, as this takes away the possibility of using the "Second Copy on Import" option, as well as having to manually setup import folders, I see nothing but downside from that approach.
    Mea culpa, Jim is correct! I checked my Windows 7 system with LR4.2 and I monitored the 'Destination folder' during an import direct from memory card to hard drive. 'Copy and import' showed in the progress bar until all image files were visible using Windows Explorer in the 'Destination folder.' Only after all files had transferred did the progress bar change to ‘Render 1:1 Previews.’ I started using LR1.0 on a Pentium 3 single-core system with Windows XP 32 bit, which I think is when I made this observation. Regardless, it is clear that LR4.2 is using a two-step import process. Thanks Jim for being persistent!
    It still begs the question why some people are experiencing very slow imports, damaged image files, and other related import problems from memory cards? My guess (and it's only a guess) is that they have 1) 'Rename Files,' 2) 'Automatically write changes into XMP,' or 3) 'Include Develop settings in metadata inside JPEG, TIFF and PSD files' checked in LR preferences. It would be a good idea for anyone experiencing import issues to try an import with these three (3) options unselected.
    My apologies to the OP DBarman for going off topic. Hopefully the extra information and observations are helpful.

  • Delete data file groups from a database

    Hello,
    My bi table partitioned by a column and each partition has data file and filegroup.
    I want delete oldest partitions and data files from the server.
    How to do it?

    Hi Tugsuu224,
    According to your description, you want to delete oldest partition from the table, remove the data files and filegroups.
    To achieve this requirement, please refer to the following blog post by Patrick Keisler:
    http://www.patrickkeisler.com/2013/01/how-to-remove-undo-table-partitioning.html
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Would you put XML and HTML files stored in the database as files?

    Hi,
    Basically that is my question. My criteria is that I will be given some XML files, I need to save the XML file somewhere for future reference. However I also have to store when it was registered and so on.
    Would you install this in the database? Or you would just store the path where it is deployed?
    Regards,
    Sim085

    Hi,
    Basically that is my question. My criteria is that I
    will be given some XML files, I need to save the XML
    file somewhere for future reference. However I also
    have to store when it was registered and so on. So the XML won't be changing unless the registration date is updated?
    A file modification time could give you the same effect.
    Would you install this in the database? Or you would
    just store the path where it is deployed?I'd favor the latter for the sake of an argument.
    If you put it in the database, you wouldn't be able to query for the XML except by ID or registration date. Not much point in having it there.
    %

  • How do I play a video and audio file at the same time on Apple Tv?

    I need to play a video loop (with no audio) on my apple tv and also play some music in the background. Its a video loop with no audio and then I need music to play in the background. The loop needs to repeat all day because its only 5 min long and the audio is an entire play list that's several hours. This is for a lobby flat screen setup.

    QuickTimeKirk wrote:
    Very difficult request because the Apple TV can only play one file at a time. It doesn't have a "loop" feature.
    You could use QuickTime Player Pro to "join" the audio files into one file. The hard part would be adding the five minute video chunks via copy/paste as each would be added as a new "video" track. QuickTime .mov files can have up to 99 "tracks" and the .mov container is supported by Apple TV.
    So this new file would have a new video track (actually just a copy of the original) that played up to 98 times. A five minute source video would end up being a bit over 8 hours in duration.
    The 98 track video could be "flattened" into one video track via export. The same for the audio track movie.
    Other options:
    Set the Quicktime Loop flag in the movie inspector properties.
    Make a video playlist, adding the file to the playlist lots of times - make sure playlists are enabled in Settings for video not just music.

  • How to read and image file in a BLOB database filed

    I’m using Oracle Reprots 10g
    I have a database filed of type BLOB ( that can be BMP, GIF, JPG, PDF ..etc .. it can be any format/extension)
    From Oracle Reports how I can display this image file

    Hello,
    Extract of the Reports Builder Help :
    Selecting an image from the database
    Note: These steps, and the steps to link an image object to a file (for paper-based reports only), allow you to include images in a wide variety of formats supported by Oracle Reports, including JPEG (all types, such as Progressive JPEG and Exif JPEG), PNG, BMP, TIFF, GIF, and CGM.
    For paper-based reports, you can also use InsertImage to import an image from a file into the report layout for images in the following formats: TIFF, JFIF, BMP, TGA, PCX, PICT, GIF, CALS, RAS, OIF, PCD.
    To select an image from the database:
    Create a query that selects a column containing images or the filenames of image objects.
    In the Data Model view, double-click the image column to display the Property Inspector.
    If the column contains the filenames of image objects, rather than the images themselves:
    Under the Column node, set the Read from File property to Yes.
    In both cases (a column containing images or a column containing the filenames of image objects): under the Column node, set the File Format property to Image.
    Regards

Maybe you are looking for

  • Why inspect element is not working in firebug after updating firefox to 14 version?

    firefox upgraded to 14.0.1. After this, I am not able to see element html code in firebug. i.e inspect element is not working as expected.

  • Request time out - zip file processing in sharepoint 2010

    Hello All, I have developed web part that uploads the zip package file and then programmatically zip will extracted and all files will uploaded to picture library. If zip files are larger then it gets request timed out error..in production server. Cu

  • Unable to send files as attachments in email

    I have been trying to send a page document that I created and saved. I attached it as an attachment to an email and it comes back as below...I tried several times...any ideas or suggestions...the email will go as a test without an attachment but not

  • Changing language of text of field in screen painter

    Hi All , Can we maintain the text of field in screen painter in different language . For ex: i have same screens  in different languages . When i am changing  the text in  EN language the same text in EN only i am getting in other languages . How can

  • How to create a Z -Workflow?

    Hi experts, I have a requirement wherein i have to create a workflow with four level approval when a document is parked and  before it can be posted. The approval is by company code,reason code and the amount .For example for a particular reason code