So, I ran the query
select * from dba_data_files
I want to know what does the column BYTES and USER_BYTES mean. Does BYTES mean the space allocated and USER_BYTES mean the space that is used up? Please clarify.
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.
According to the documentation:
BYTESSize of the file in bytesUSER_BYTESThe size of the file available for user data. The actual size of the file minus the USER_BYTES value is used to store file related metadata.On my system, for example,
BYTES-USER_BYTESis exactly 1,048,576 (1M) for each file.In this context, “space allocated” and “space used up” are effectively the same thing – i.e. space allocated on disk = space used on disk.
To find out how much free space is available (e.g. for new tables & indexes or growth of existing ones), query
dba_free_space.