diff options
Diffstat (limited to 'user_guide/database')
-rw-r--r-- | user_guide/database/utilities.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/user_guide/database/utilities.html b/user_guide/database/utilities.html index aa2ed3dcd..775c3f239 100644 --- a/user_guide/database/utilities.html +++ b/user_guide/database/utilities.html @@ -176,6 +176,20 @@ if ($this->dbutil->optimize_table('table_name'))<br /> +<h2>$this->dbutil->optimize_database();</h2>
+
+<p>Permits you to optimize the database your DB class is currently connected to. Returns an array containing the returned status messages or FALSE on failure.</p>
+
+<code>
+$result = $this->dbutil->optimize_databas();<br />
+<br />
+if ($result !== FALSE)<br />
+{<br />
+ print_r($result);<br />
+}
+</code>
+
+<p><strong>Note:</strong> Not all database platforms support table optimization.</p>
@@ -190,7 +204,7 @@ Previous Topic: <a href="call_function.html">Custom Function Calls</a ·
<a href="#top">Top of Page</a> ·
<a href="../index.html">User Guide Home</a> ·
-Next Topic: <a href="../libraries/email.html">Email Class</a>
+Next Topic: <a href="export.html">Database Export Class</a>
<p>
<p><a href="http://www.codeigniter.com">Code Igniter</a> · Copyright © 2006 · <a href="http://www.pmachine.com">pMachine, Inc.</a></p>
</div>
|