diff options
author | admin <devnull@localhost> | 2006-09-27 02:31:22 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-27 02:31:22 +0200 |
commit | e5bb936f808bfd39a6ba8cbe1fc2ddbcf9bf502f (patch) | |
tree | 20dd6d9775c9c2a4e097278f3cf659c42e8507f5 /user_guide/database | |
parent | e1770339a3c89d53b99529ae6a639e5c3dd0fd66 (diff) |
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>
|