Is there a way to ask oracle to autoextend a tablespace datafile when the size hits a defined threshold? If my datafile size is 1G, and autoextend is enabled, can I start growing the file when the usage reaches 900M?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. Oracle won’t extend the data file until it has actually used all the available space in the data file.
Can you take a step back, though, and explain the problem that you’re trying to solve? If you’ve set your data files to autoextend, you would normally then not monitor how much space is free within the data file itself and would monitor the space available on the file system (and how close the file is to the maximum size if you specify a maximum size). If you’re monitoring the free space in the data file, you would normally not set the data file to autoextend. I’m a bit hard-pressed to understand why you would want the data file to autoextend and to ensure that there was a certain amount of free space in the data file.