How do you resize a data file?

1 Answer

Answer :

ALTER DATABASE DATAFILE <datafile_name> RESIZE <new_size>;

Related questions

Description : Can one resize tablespaces and data files? (for DBA)

Last Answer : One can manually increase or decrease the size of a datafile from Oracle 7.2 using the command. ALTER DATABASE DATAFILE 'filename2' RESIZE 100M; Because you can change the ... UNLIMITED DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0) ONLINE PERMANENT;

Description : How can you increase the capacity of an Oracle tablespace? Note: there are 2 correct answers in this question A. Resize the existing data file B. Add a new data file to ... compression of backup data using Oracle advanced compression D. Increase the value of the database parameter DB_BLOCK_SIZE

Last Answer : B. Add a new data file to the existing tablespace

Description : What view would you use to look at the size of a data file?

Last Answer : DBA_DATA_FILES

Description : How do you add a data file to a tablespace

Last Answer : ALTER TABLESPACE ADD DATAFILE SIZE

Description : Table Space,Data Files,Parameter File, Control Files

Last Answer : Table Space :: The table space is useful for storing the data in the database.When a database is created two table spaces are created. a) System Table space :: This data file stores all the tables ... They contain the Db name, name and location of dbs, data files ,redo log files and time stamp.

Description : It is possible to use raw devices as data files and what is the advantages over file. system files ?

Last Answer : Yes. The advantages over file system files. I/O will be improved because Oracle is bye-passing the kernnel which writing into disk. Disk Corruption will be very less.

Description : Explain the relationship among Database, Tablespace and Data file.?

Last Answer : Each databases logically divided into one or more tablespaces one or more data files are explicitly created for each tablespace

Description : Explain the relationship among database, tablespace and data file.

Last Answer : Each databases logically divided into one or more tablespaces one or more data files are explicitly created for each tablespace.

Description : How can I dump an oracle schema to a LOCAL file over a network connection from sqlplus?

Last Answer : By connecting and spooling are you excluding the exp/imp commands (or expdb/impdb in 10g)?

Description : What are the minimum parameters should exist in the parameter file (init.ora) ?

Last Answer : DB NAME - Must set to a text string of no more than 8 characters and it will be stored inside the datafiles, redo log files and control files and control ... an ORACLE instance acquires at database startup. Also optionally LICENSE_MAX_SESSIONS,LICENSE_SESSION_WARNING and LICENSE_MAX_USERS.

Description : What is a trace file and how is it created ?

Last Answer : Each server and background process can write an associated trace file. When an internal error is detected by a process or user process, it dumps information about the error to its trace. This can be used for tuning the database.

Description : What command would you use to create a backup control file?

Last Answer : Alter database backup control file to trace.

Description : How do you switch from an init.ora file to a spfile?

Last Answer : Issue the create spfile from pfile command.

Description : What is the use of control file?

Last Answer : When an instance of an Oracle database is started, its control file is used to identify the database and redo log files that must be opened for database operation to proceed. It is also used in database recovery.

Description : What does a control file contains?

Last Answer : Database name - Names and locations of a database's files and redolog files. - Time stamp of database creation.

Description : Explain the following file extension related to library?

Last Answer : .pll,.lib,.pld The library pll files is a portable design file comparable to an fmb form file The library lib file is a plat form specific, generated library file comparable to a fmx form file The pld file is Txt format file and can be used for source controlling your library files Parameter

Description : Write the Abbreviation for the following File Extension 1. FMB 2. MMB 3. PLL?

Last Answer : FMB ----- Form Module Binary. MMB ----- Menu Module Binary. PLL ------ PL/SQL Library Module Binary.

Description : What is a Control file ?

Last Answer : Database overall physical architecture is maintained in a file called control file. It will be used to maintain internal consistency and guide recovery operations. Multiple copies of control files are advisable.

Description : What is meant by Redo Log file mirroring ? How it can be achieved?

Last Answer : Process of having a copy of redo log files is called mirroring. This can be achieved by creating group of log files together, so that LGWR will automatically writes them to all the members ... . If any one group fails then database automatically switch over to next group. It degrades performance.

Description : What is the use of FILE option in IMP command ?

Last Answer : The name of the file from which import should be performed.

Description : How can a text file be attached to a report while creating in the report writer?

Last Answer : By using the link file property in the layout boiler plate property sheet.

Description : What use of command line parameter cmd file?

Last Answer : It is a command line argument that allows you to specify a file that contain a set of arguments for r20run.

Description : How does one add users to a password file? (for DBA

Last Answer : One can select from the SYS.V_$PWFILE_USERS view to see which users are listed in the password file. New users can be added to the password file by granting them SYSDBA or SYSOPER privileges, or by using the orapwd utility. GRANT SYSDBA TO scott;

Description : How does one create a password file? (for DBA

Last Answer : The Oracle Password File ($ORACLE_HOME/dbs/orapw or orapwSID) stores passwords for users with administrative privileges. One needs to create a password files before remote administrators (like OEM) will be ... visible in the process table of many systems. Administrators needs to be aware of this!

Description : What are the different file extensions that are created by oracle reports?

Last Answer : Rep file and Rdf file.

Description : How can we specify the Archived log file name format and destination?

Last Answer : By setting the following values in init.ora file. LOG_ARCHIVE_FORMAT = arch %S/s/T/tarc (%S - Log sequence number and is zero left paded, %s - Log sequence number not padded. %T - Thread number lef ... not padded). The file name created is arch 0001 are if %S is used. LOG_ARCHIVE_DEST = path.

Description : What does a Control file Contain ?

Last Answer : A Control file records the physical structure of the database. It contains the following information. Database Name Names and locations of a database's files and redolog files. Time stamp of database creation.

Description : What is the use of Control File ?

Last Answer : When an instance of an ORACLE database is started, its control file is used to identify the database and redo log files that must be opened for database operation to proceed. It is also used in database recovery.

Description : What is File Manager?

Last Answer : It is a program module, which manages the allocation of space on disk storage and data structure used to represent information stored on a disk.

Description : What do you mean by flat file database?

Last Answer : It is a database in which there are no programs or user access languages. It has no cross-file capabilities but is user-friendly and provides user-interface management.

Description : Disadvantage in File Processing System?

Last Answer : ∙ Data redundancy & inconsistency. ∙ Difficult in accessing data. ∙ Data isolation. ∙ Data integrity. ∙ Concurrent access is not possible. ∙ Security Problems.

Description : When you start an Oracle DB which file is accessed first?

Last Answer : Oracle first opens and reads the initialization parameter file (init.ora) [oracle@hostname ~]$ls -la $ORACLE_HOME/dbs/initDB1_SID.ora -rw-r--r-- 1 oracle oinstall 1023 May 10 19:27 /u01/app/oracle/product/ ... 1 0 12:59 ? 00:00:05 ora_pmon_DB1_SID oracle 6779 1 0 12:59 ? 00:00:06 ora_smon_DB1_SID

Description : What information is stored in Control File?

Last Answer : Oracle Database must have at least one control file. It's a binary file contains some of the following information: ▪ The database name and unique ID ▪ The timestamp of database creation ... app/oracle/oradata/DB1_SID /control01.ctl, /u01/app/oracl e/flash_recovery_area/DB1_SID/c ontrol02.ctl

Description : What file will you use to establish Oracle connections from a remote client?

Last Answer : tnsnames.ora

Description : How can you execute a script file in SQLPLUS?

Last Answer : To execute a script file in SQLPlus, type @ and then the file name.

Description : How do I resize a font above the minimum 130 in Pixlr?

Last Answer : answer:Select the layer with the text. Layer -> Rasterize Layer Edit -> Free Transform If you hold down the Shift key while clicking and dragging one of the corner handles it will retain proportions.

Description : How do I resize my screen in Pixlr?

Last Answer : Somebody?

Description : Could anyone help me resize this image to 1100x350?

Last Answer : Sure thing. Post a link to the image and I can sort you out.

Description : What's the easiest way to resize an image to 1100 X 350 on a Mac?

Last Answer : answer:Open the image in Preview, then go to Tools > Adjust Size. Bear in mind that the image quality may decrease if you are enlarging the image too much. Preview also has cropping options if you just want part of the image.

Description : Why can't I resize the screen on my tablet?

Last Answer : Mods I didn’t mean to put this in General…

Description : What is a good site to go to for free software to resize photos to use them as avatars etc.?

Last Answer : Here is one I’ve used.

Description : Resize thumbnail to fit in WordPress theme?

Last Answer : answer:Nevermind. The solution is timthumb.php. For anyone interested. $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,‘large’); echo ’’;

Description : How do I make my jQuery slideshow resize to window?

Last Answer : http://www.buildinternet.com/project/supersized/

Description : Is there a server-side utility that I can call from PHP to automatically resize and crop an image, such as an avatar, uploaded by a user?

Last Answer : http://www.imagemagick.org/script/index.php

Description : How to resize different movie formats in Adobe Premiere CS3?

Last Answer : I’m not an Adobe user, but if your movie is distorted when you enlarge it that probably means the quality/size is bad? You can’t enlarge shitty video without it looking shitty…

Description : How to resize document in Illustrator?

Last Answer : Go to view and select “show rulers” and “show grid” and that makes things much more precise. Inside your document, select everything and then hold down while scaling down the vector drawing. This will keep your width in proportion to your height.

Description : How do you resize movies in Adobe Premiere CS3?

Last Answer : answer:You need to compress your clip for the web. You can do this with any variety of of professional compression tools, including Quicktime Pro, or use CS3's built in compressor. I would recommend the ... specifically for your purpose; in this case, you want it for the web. Best of luck, Riser

Description : How can I resize in image in Mac OS X?

Last Answer : answer:Open the image in Preview.app and go to Tools—> Adjust Size and then resize the image and save. Edit :: And you can crop an image by making a selection with one of the “Select” tools and using Tools—> Crop.

Description : I accidentally made my Outlook Express window too large, and now I can't see the bottom to resize it. How do I get it back to normal?

Last Answer : Click the resize window button?

Description : Why does my MacBook's display randomly resize itself?

Last Answer : did you recently install new software on your computer? do you have a monitor connected? Is this a MacBook Pro? When does this happen? can you leave your mac untouched for an hour and come back to see your screen resolution changed? or is it something that you can trigger?