InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Unusually large table


Gerry

This can happen sometimes to heavily updating tables. Especially if all rows
in a table update at once. Unfortunately, there's no simple table compacting
tool yet in InstantDB. You have to export/drop/create/import to get rid of
all the empty space. Something like:

set export "tmp.cvs" csvdelimited;
select * from tmp;
set export "null";

drop table tmp;
create table tmp (id int);
import "tmp" from "tmp.cvs";

You might be able to reduce the future growth of the table by setting
searchDeletes=1 in the database .prp file. Have a look at
http://instantdb.enhydra.org/software/documentation/props.html for more
info.

Regards

Pete

--

Peter Hearty                         peter.hearty@lutris.com
Lutris Technologies (UK)        http://www.lutris.com
----- Original Message -----
From: "Gerry Myers" <gerry@mail.azhsv.com>
To: <instantdb@enhydra.org>
Sent: Wednesday, November 08, 2000 11:08 AM
Subject: InstantDB: Unusually large table


> I have a table that is over 10 MB but only has 11 columns and only
> about 20 rows.  The columns are a combination of varchar, int, and
> timedate.  All the varchar strings are short.  Any ideas why the
> table would be so large and how I can shrink it?
>
> Also, are there InstantDB SQL commands for getting the database
> and table structures similar to SHOW TABLES and DESCRIBE
> used by MySQL.
>
> Thanks, Gerry
>
> --------------------------------------------------------------------------
---
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
>

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.