home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / oracle / 1417 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.6 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!udel!gvls1!tredysvr!cellar!kml
  2. From: kml@cellar.org (John Galt)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: maxdatafiles -- inquiry/update
  5. Keywords: maxdatafiles
  6. Message-ID: <4BV8PB1w164w@cellar.org>
  7. Date: 28 Aug 92 12:32:02 GMT
  8. References: <z=cnvvk.esc@netcom.com>
  9. Sender: bbs@cellar.org (The Cellar BBS)
  10. Organization: The Cellar BBS and public access system
  11. Lines: 31
  12.  
  13. esc@netcom.com (Steve Etchelecu) writes:
  14.  
  15. > I am looking for a method to inquire on the current value for
  16. > the MAXDATAFILES parameter which was set when a database is created.
  17. > More importantly, I am looking for a method to increase this value
  18. > without having to recreate the database.
  19.  
  20. The only way to set the MAXDATAFILES value is to do a CREATE DATABASE.
  21. To change it, you have to export the old DB and re-create.  
  22. The dc_files parameter in init.ora is kind of cosmetic.  It can't override
  23. maxdatafiles.  Check the create_host_instance.sql script in the
  24. ora_instance directory; it's created by the installation procedure.
  25. If there's no maxdatafile spec, then you're stuck with the default,
  26. which is 32 in VMS.  When you recreate the DB, set maxdatafiles high;
  27. the control file size will then increase nominally.
  28.  
  29. The only other way I can think of to view maxdatafiles size would be to
  30. do a trace dump of the control file; any oracle.com folks care to
  31. contribute the syntax?  It's something like "alter database trace immediate
  32. controlf level 3" ???
  33.  
  34.  
  35. kml.
  36.  
  37.  
  38.                Personally, I skip the posts and just read the sigs.
  39.  
  40.   kml%cellar@tredysvr.tredydev.unisys.com - My other account is a Mercedes.
  41.