{"id":5386,"date":"2015-03-10T15:38:53","date_gmt":"2015-03-10T15:38:53","guid":{"rendered":"https:\/\/pitss.org\/us\/?p=5386"},"modified":"2018-05-23T19:16:29","modified_gmt":"2018-05-23T23:16:29","slug":"ora-00059-increase-number-data-files-oracle-database","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2015\/03\/10\/ora-00059-increase-number-data-files-oracle-database\/","title":{"rendered":"How to Increase the Number of Data Files in an Oracle Database"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;3.0.51&#8243; custom_padding=&#8221;0px||50px|&#8221;][et_pb_row custom_padding=&#8221;0px|||&#8221; admin_label=&#8221;Row&#8221; _builder_version=&#8221;3.0.51&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.0.47&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;3.0.106&#8243; custom_margin=&#8221;||30px|&#8221;]<\/p>\n<p>By default in every Oracle Database, you can have up to 200 total data files (.DBF files) in each Oracle Database instance as indicated by the value of the parameter \u201cdb_files\u201d (you can check the value by running \u201cshow parameter db_files\u201d in your database. If you need to create more data files than what the db_files parameter will allow, you will need to increase the value of db_files. If this is not done, you will receive an error when you either create a new data file for an existing tablespace or create a new tablespace.<\/p>\n<p>[\/et_pb_text][et_pb_divider color=&#8221;#e2e2e2&#8243; divider_position=&#8221;center&#8221; disabled_on=&#8221;on|on|off&#8221; admin_label=&#8221;Divider&#8221; _builder_version=&#8221;3.2&#8243; custom_css_main_element=&#8221;margin-bottom:30px !important;&#8221;][\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;3.0.51&#8243; custom_margin=&#8221;||30px|&#8221;]<\/p>\n<h3><strong>What you&#8217;ll learn in this article:<\/strong><\/h3>\n<p><strong style=\"font-size: 16px; padding-right: 5px; background-color: #ffffff; color: #abd25e;\">\u2713<\/strong>\u00a0Step-by-step tutorial on how to increase the db_file parameter<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row custom_padding=&#8221;40px|40px|30px|40px&#8221; background_position_1=&#8221;top_left&#8221; background_repeat_1=&#8221;no-repeat&#8221; admin_label=&#8221;Row&#8221; _builder_version=&#8221;3.0.51&#8243; background_color=&#8221;#006bb3&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.0.47&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;no-repeat&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;3.0.106&#8243; background_color=&#8221;#006bb3&#8243; background_layout=&#8221;dark&#8221;]<\/p>\n<h2 style=\"font-size: 30px! important;\"><strong>Fill out the form below to access this blog post.<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_code admin_label=&#8221;Code&#8221; module_class=&#8221;white-text&#8221; _builder_version=&#8221;3.3.1&#8243;][ninja_form id=48][\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default in every Oracle Database, you can have up to 200 total data files (.DBF files) in each Oracle Database instance as indicated by the value of the parameter \u201cdb_files\u201d (you can check the value by running \u201cshow parameter db_files\u201d in your database. If you need to create more data files than what the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"By default in every Oracle Database, you can have up to 200 total data files (.DBF files) in each Oracle Database instance as indicated by the value of the parameter \u201cdb_files\u201d (you can check the value by running \u201cshow parameter db_files\u201d in your database. If you need to create more data files than what the db_files parameter will allow, you will need to increase the value of db_files. If this is not done, you will receive the following error when you either create a new data file for an existing tablespace or create a new tablespace:\r\n\r\nORA-00059: maximum number of DB_FILES exceeded\r\n\r\nTo increase the db_file parameter, you will need to complete these steps:\r\n\r\n<strong>NOTE: A restart of the database instance will be required.<\/strong>\r\n\r\n1. Log into the database using SYS\r\n\r\n2. Increase the value of the db_files parameter to a higher value (slightly higher than the number of data files you expect to create):\r\n<blockquote>alter system set db_files=# scope=spfile; (where # is the new value of db_files)<\/blockquote>\r\n3. Restart the database:\r\n<blockquote>shutdown immediate;\r\n\r\nstartup;<\/blockquote>\r\n4. Confirm that the parameter has been increased by running \u201cshow parameter db_files\u201d.\r\n\r\nAfter completing the steps above, you should be able to create additional tablespaces and\/or data files as needed.\r\n\r\n<strong>Source: Oracle Support note 1589201.1<\/strong>","_et_gb_content_width":"","footnotes":""},"categories":[95,4,14],"tags":[41,12,27],"class_list":["post-5386","post","type-post","status-publish","format-standard","hentry","category-database","category-install-config","category-resolve-issues","tag-configuration","tag-error","tag-oracle-database"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/5386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=5386"}],"version-history":[{"count":6,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/5386\/revisions"}],"predecessor-version":[{"id":11433,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/5386\/revisions\/11433"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=5386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=5386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=5386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}