Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread EDB Database defragmentation ...
Sun, Jan 11 2009 7:22 PMPermanent Link

Charalabos Michael
Hello Tim,
  Could you please add Database defragmentation ? (records, indexed)
like DBISAM had (rebuilding indexes) ?

In MSSQL Server you can do this:
ALTER DATABASE MYDATABASE
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE

GO

DBCC CHECKDB ('MYDATABASE', REPAIR_REBUILD)

GO

ALTER DATABASE MYDATABASE
SET MULTI_USER
WITH ROLLBACK IMMEDIATE

Thank you

--
Charalabos Michael - [Creation Power] - http://www.creationpower.gr
Mon, Jan 12 2009 12:11 AMPermanent Link

"Terry Swiers"

>   Could you please add Database defragmentation ? (records, indexed)
> like DBISAM had (rebuilding indexes) ?

It's already in EDB.  But instead of it being a function of the TEDBTable
object, it's an SQL call.  The online documentation for this call is
available at
http://www.elevatesoft.com/manual?action=mantopic&id=edb2sql&category=14&topic=286

Hope this is what you were looking for.

--

---------------------------------------
 Terry Swiers
 Millennium Software, Inc.
 http://www.1000years.com
 http://www.atrex.com

 Atrex Inventory Control/POS -
    Big business features without spending big business bucks!

Atrex Electronic Support Options:
 Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
 Email: mailto:support@atrex.com
 Newsgroup: news://news.1000years.com/millennium.atrex
 Fax: 1-925-829-1851
 Phone: 1-925-828-5892 (M-F, 9a-5p Pacific)
 ---------------------------------------


Mon, Jan 12 2009 2:26 AMPermanent Link

Charalabos Michael
Dear Terry,

> It's already in EDB.  But instead of it being a function of the TEDBTable
> object, it's an SQL call.  The online documentation for this call is
> available at
> http://www.elevatesoft.com/manual?action=mantopic&id=edb2sql&category=14&topic=286

Opps, i missed that due the fact is not included in EDB Manager ... Smile

But as i can it does optimize the dabatase and not the indexes. (aka
index rebuild)

Thank you

--
Charalabos Michael - [Creation Power] - http://www.creationpower.gr
Mon, Jan 12 2009 11:14 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< But as i can it does optimize the dabatase and not the indexes. (aka
index rebuild) >>

In ElevateDB, an OPTIMIZE TABLE always rebuilds the indexes.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Jan 12 2009 6:11 PMPermanent Link

Charalabos Michael
Dear Tim,

> << But as i can it does optimize the dabatase and not the indexes. (aka
> index rebuild) >>
>
> In ElevateDB, an OPTIMIZE TABLE always rebuilds the indexes.
>

Thank Tim for the info. It would be nice to update your documents
informing about index rebuild on optimize table.

--
Charalabos Michael - [Creation Power] - http://www.creationpower.gr
Tue, Jan 13 2009 1:02 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< Thank Tim for the info. It would be nice to update your documents
informing about index rebuild on optimize table. >>

I will make a note of this.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image