How to make constraints on the size of any file

If I have a file in which data is written which leads to the increase of this file size
Is it possible to make a constraint such that this file size mustn't exceed certain size
let say 5 MB for instance :)
Thanks in advance

Hi,
use this statement on sql>alter database datafile "example.dbf" autoextend on maxsize 5M
hope this help u.

Similar Messages

  • How do I find out the size of a file, trying to make a DVD and told the fil

    Made a slide show project with music and trying to write to dvd. Computer tells me the file is to large and to use a dual sided disk. I cut may slides out but no luck. How do you find out the file size?

    Hi
    And SlideShows has a limit of 99 slides per show.
    I rather assemble mine in iMovie HD 6 where as QuickTimeKirk states
    it only has Time as a limit dep. on encoding method selected and if Single or Double layer DVDs
    Single Layer (for DL double time) - TIME includes menu - keeping it simple gives more to movie.
    (I prefere "Brushed Metal" no audio, no animation.)
    • Professional Quality (movies up to 120 min.) - BEST
    • Best Performances (movies less than 60 min.) - High quality on final DVD
    • High Quality (in iDVD08) / Best Quality (in iDVD6) (movies up to 120 min.) - slightly lower quality than above
    Yours Bengt W

  • How do I check/limit the size of a file

    I am logging data to a file periodically. Since the PC is at a remote site, and I download the data file via modem, I want to limit the size of the file by automatically starting a new file once the current file reaches a certain size (in kB) limit. This way I minimize download time as well as avoid downloading the same data over and over again if I keep the same filename.
    How can I do this? Thanks.

    There is a function on the File I/O>Advanced File Functions called File/Directory Info. The functions returns the file size in bytes.

  • Can someone tell me how to make my screen full size with Safari ?  I am using a Mac osx 10.6.8.

    Can someone tell me how to make my screen full size on my Mac OSX 10.6.8. using safari.  I know this is a simple question. I have always had it on full screen and recently had it worked on remotely and now I can't get the screen back to full size.  I appreciate any advise you can offer. Thank you

    from the BetterTouchTool blog, older versions can be obtained using these links:
    The last 64bit Snow Leopard (10.6 ) version (v 0.939 ) can be downloaded here
    <http://bettertouchtool.net/btt0.939.zip>
    If you are using an older 32bit Mac you’ll have to use this version: 0.785
    <http://bettertouchtool.net/btt0.785.zip>

  • I have a $10 gift card balance on my Apple ID but when I try to rent a movie it wants me to use my debit card. How can Make it use the iTunes credit?

    I have a $10 gift card balance on my Apple ID but when I try to rent a movie it wants me to use my debit card. How can Make it use the iTunes credit?

    Hi ...
    Select None for payment method > iTunes Store: Changing account information
    Be aware, an auto renewing subsciption by require a credit card.

  • How can I get the size of a file with apple script

    I try to get the size of a file within an apple script. But I did not find information how to do this.

    There are two ways. I think Apple is moving toward using System Events, which is listed first.tell application "Finder"
    set myFile to selection as alias
    --this just gets a file for me to work with
    --coercing it into an alias is required for the other functions
    end tell
    tell application "System Events"
    get size of myFile
    end tell
    set myInfo to (info for myFile)
    get size of myInfo

  • How do i find out the size of a webpage?

    how do i find out the file size of a webpage im viewing in my
    browser? and how do i find out the size of a webpage of my
    own?

    Hello,
    Try this site out.
    Just enter your URL.
    http://www.websiteoptimization.com/services/analyze/
    Take care,
    Tim
    "name294" <[email protected]> wrote in
    message
    news:gpiuqv$9on$[email protected]..
    > how do i find out the file size of a webpage im viewing
    in my browser? and
    > how do i find out the size of a webpage of my own?

  • How do I find out the size of each individual element within a photoshop file as need to replace some elements?  Thanks :)

    How do I find out the size of each individual element within a photoshop file as need to replace some elements?  Thanks

    What do you mean by "Elements"?
    Elements in a flat image or Layers?
    Could you please post a screenshot with the Layers Panel visible?

  • I recently downloaded a 10.6.8 update and a game program has now been reduced in size.  It's specifications are set for full screen, but it is about 1/4 of the size.  Any ideas how to fix?

    I recently downloaded a 10.6.8 update and a game program has now been reduced in size.  It's specifications are set for full screen, but it is about 1/4 of the size.  Any ideas how to fix?

    Hi, I have got the same problem but all is 1/4 the size have you fixed it?

  • How to find out the size of a file?

    Hi,
    I would like to determine the size of a file from my code. How is that possible? I do not find any appropriate method in the java.io.File class.
    Any help would be very appreciated!

    java.io.File.length()
    Returns the size of the file as a long. The number corresponds to the number of bytes in the file.

  • How to change the size of redo file

    Deal all,
    I finish installed the db,and the size of redo file is 50m by default. I found many "checkpoint not complete" events in alert.log file.
    Now i want to change it to 100M and try to avoid the event appear again ,how can i do?

    As Sb has already correct reply that size of redo logs can not be changed. We have to create new bigger/smaller size of redo logs and then 'alter system switch logfile' to inactivate older logs. Now you can drop older logs. Redo logs are something a glass of water. We can not change the size of glass, if we wish to dring more/less water, we will take that sized glass and we will get that sized water.
    Remember to consider the multiplexing/grouping when doing any maintenance like this. And there may be archive log & backup space considerations.
    Hans @ http://dbaspot.com/oracle-server/33231-changing-redo-log-file-size.html
    Regards
    Girish Sharma

  • In itunes for windows how can I find out the size of a playlist I created?

    In Windows using the latest iTunes, how do you bring up the size of a playlist you created in MBs?

    Use CTRL / to display the Status Bar at the bottom of the iTunes window.

  • How to make use of the presentation variable in SQL result query

    I have 2 prompts in my dashboard.
    Prompt1 decides the values of Prompt2.
    I have set a presentation Variable (selected_comp) in prompt1 which holds the value selected.
    To populate the values for Prompt2, I need to execute a query using the presenation variable set by Prompt1.
    SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=@{selected_comp}
    the query is resulting into
    SQL Issued: SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=0
    but the value in selected_comp is "ABC".
    Can anybody help in how to make use of the presentation variable in query to get the correct value
    thanks
    Shubha

    Just use constrain check box to filter your 2nd prompt values based on the 1st prompt.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • How to make use of the FM EDIT_TEXT_FORMAT_DOC

    Hi frnz,
    How to make use of the FM
    EDIT_TEXT_FORMAT_DOC
    Could anyone explain with an example how to use this
    regards

    hi
    I need an example please....
    did any one use that FM
    Regards

  • How can i change the size of PDF files ?

    how can i change the size of PDF files? when i convert documents in the acrobat browser it seems the files become larger then normal pdf files, this is, i compare with other files that people send to me and i realise that they are smaller than my converted files, even if they have more pages.

    A lot depends on the form of the PDF. Is it graphics, a scan of a text file, pure text, or other? What version of Acrobat are you working with.
    You can do a save as to get a WORD file, but do not expect great results. The ability to get a decent WORD file depends on what the form of PDF you are working from. If it was created from WORD with tags and all, you might get good results. If not, you might get a lot of messed up results.
    Explain what you are starting with and your ultimate goal. Also check the audit of the file (should be under PDF Optimize) to see where the file information is concentrated (text, fonts, graphics, other).

Maybe you are looking for

  • SL install seemed to fail - now my MBP can't boot from HD or SL DVD

    H E L P. Just bought SL family edition - upgraded my iMac 24 - worked fine so then I tried to upgrade my MBP (2+years old). At first the MBP just ejected the SL DVD - found lots of similar issues on this board. I finally got it working by holding my

  • How can I open shared files from laptop?

    I have connected my external hard disk to Airport extreme and configured through my laptop (Windows). Now I want to see files existing in hard disk through wireless. How can I open files and photoes? Regards, Balaji.

  • Transaction doesn't rollback

    Hello guys, I 've a trouble and I'm not able to solve it..Ineed your help... I have a jsf application. I need to execute several insert query into a mysql db in a transaction, so operation must be accomplished only if all query are successfully execu

  • Air & Windows 8

    Does anyone know if I can install Adobe Air on a Windows 8 tablet (Not Windows RT, full version of windows 8) I need to install the Photographers Ephemeris which needs Air to run.

  • Not Using All CPUs

    Does anyone know why Premiere Pro CS6 (Windows) is only using 4 CPUs when I have 24 on my Mac Pro? I am running Windows 7 Professional on Bootcamp. I have 48GB of RAM. I am importing JPEGs stills and creating a sequence but it is moving very slow. Th