| View previous topic :: View next topic |
| Author |
Message |
Alan Guest
|
Posted: Tue Jan 20, 2004 5:49 am Post subject: Paradox table repair |
|
|
We got a client whose has our company's legacy application whose database is
Paradox 7 version tables.
Anyone knows there is table repair utility for download ?
|
|
| Back to top |
|
 |
Don Gollahon Guest
|
Posted: Tue Jan 20, 2004 7:10 am Post subject: Re: Paradox table repair |
|
|
Try
http://info.borland.com/devsupport/bde/utilities.html
I have another one I like better but I can't remember where I downloaded it.
"Alan" <NOSPAMalan_pltse (AT) yahoo (DOT) com.au> wrote
| Quote: | We got a client whose has our company's legacy application whose database
is
Paradox 7 version tables.
Anyone knows there is table repair utility for download ?
|
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Tue Jan 20, 2004 2:25 pm Post subject: Re: Paradox table repair |
|
|
On Tue, 20 Jan 2004 16:49:21 +1100, "Alan"
<NOSPAMalan_pltse (AT) yahoo (DOT) com.au> wrote:
| Quote: | We got a client whose has our company's legacy application whose database is
Paradox 7 version tables.
Anyone knows there is table repair utility for download ?
|
The best one I have found is at www.rksolution.cz .
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Alan Guest
|
Posted: Tue Jan 20, 2004 11:32 pm Post subject: Re: Paradox table repair |
|
|
What is the difference between pack and not pack the tables after table
repair ?
"Bill Todd (TeamB)" <no (AT) no (DOT) com> wrote
| Quote: | On Tue, 20 Jan 2004 16:49:21 +1100, "Alan"
[email]NOSPAMalan_pltse (AT) yahoo (DOT) com.au[/email]> wrote:
We got a client whose has our company's legacy application whose database
is
Paradox 7 version tables.
Anyone knows there is table repair utility for download ?
The best one I have found is at www.rksolution.cz .
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Wed Jan 21, 2004 2:34 am Post subject: Re: Paradox table repair |
|
|
Pack removes all unused space from the data blocks. This may make
searching slightly faster. It also makes inserting new records slower
because, initially, a block split must be performed each time a record
is inserted. As you insert more records and more blocks are split
there are more blocks with empty space and not every insert will force
a full block to be split.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Olivier Beltrami Guest
|
Posted: Wed Jan 21, 2004 9:30 am Post subject: Re: Paradox table repair |
|
|
Interesting. I have some Paradox temporary tables that are filled with up to
30.000 records, and profiling has shown me that the time spent on the append
(the table is indexed) is very significant. Are you saying that if, between
runs, I just emptied the temporary table (currently I delete it and
re-create it) I would get a speed increase ?
Olivier
"Bill Todd (TeamB)" <no (AT) no (DOT) com> a écrit dans le message de
news:c5pr00hueca427jjcpa23m0ueto9s9dnjr (AT) 4ax (DOT) com...
| Quote: | Pack removes all unused space from the data blocks. This may make
searching slightly faster. It also makes inserting new records slower
because, initially, a block split must be performed each time a record
is inserted. As you insert more records and more blocks are split
there are more blocks with empty space and not every insert will force
a full block to be split.
|
|
|
| Back to top |
|
 |
Pak Tse Guest
|
Posted: Wed Jan 21, 2004 11:25 am Post subject: Re: Paradox table repair |
|
|
Is it uncommon that the Paradox type tables cannot be repaired ?
What can I do if it is unfortunately I cannot repair the tables using a
repair utitlity ? I just afraid of I cannot get my client's tables
repaired/rebuild ?
"Olivier Beltrami" <obeltrami at wanadoo dot fr> wrote
| Quote: | Interesting. I have some Paradox temporary tables that are filled with up
to
30.000 records, and profiling has shown me that the time spent on the
append
(the table is indexed) is very significant. Are you saying that if,
between
runs, I just emptied the temporary table (currently I delete it and
re-create it) I would get a speed increase ?
Olivier
"Bill Todd (TeamB)" <no (AT) no (DOT) com> a écrit dans le message de
news:c5pr00hueca427jjcpa23m0ueto9s9dnjr (AT) 4ax (DOT) com...
Pack removes all unused space from the data blocks. This may make
searching slightly faster. It also makes inserting new records slower
because, initially, a block split must be performed each time a record
is inserted. As you insert more records and more blocks are split
there are more blocks with empty space and not every insert will force
a full block to be split.
|
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Wed Jan 21, 2004 2:04 pm Post subject: Re: Paradox table repair |
|
|
On Wed, 21 Jan 2004 10:30:01 +0100, "Olivier Beltrami" <obeltrami at
wanadoo dot fr> wrote:
| Quote: | I just emptied the temporary table (currently I delete it and
re-create it) I would get a speed increase ?
|
It depends on how you empty the table. Calling EmptyTable also deletes
and recreates the table. Using a DELETE query, IIRC, just deletes the
table and leaves the empty data blocks in place. You can see this be
checking the size of the .DB file after you delete the records.
If you are adding all of the records to the table at once consider
dropping the primary index, adding the records and adding the index.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Wed Jan 21, 2004 2:06 pm Post subject: Re: Paradox table repair |
|
|
On Wed, 21 Jan 2004 22:25:27 +1100, "Pak Tse"
<pak_tse (AT) NOSPAMoptusnet (DOT) com.au> wrote:
| Quote: | Is it uncommon that the Paradox type tables cannot be repaired ?
|
Fairly uncommon. It depends on what is wrong with the table. No repair
utility can repair corrupt data values. The repair tools only repair
the logical structure of the table.
| Quote: | What can I do if it is unfortunately I cannot repair the tables using a
repair utitlity ? I just afraid of I cannot get my client's tables
|
Restore the database from last night's backup.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Olivier Beltrami Guest
|
Posted: Thu Jan 22, 2004 12:30 pm Post subject: Re: Paradox table repair |
|
|
| Quote: | It depends on how you empty the table. Calling EmptyTable also deletes
and recreates the table. Using a DELETE query, IIRC, just deletes the
table and leaves the empty data blocks in place. You can see this be
checking the size of the .DB file after you delete the records.
|
I am using a TTable and calling EmptyTable.
| Quote: | If you are adding all of the records to the table at once consider
dropping the primary index, adding the records and adding the index.
|
I tried it. The append calls go much much faster, but then it takes almost a
minute to re-create the indices at the end ... the net difference is
minimal.
Olivier
|
|
| Back to top |
|
 |
|