Hello,
I used Clipper back in the DOS days. I was happy with the .NTX index files. I heard for large indexes they became corrupt. Hopefully that has been fixed.
1. Is there any compelling reason to not use NTX indexes?
2. Would CDX put all the indexes in just one file (or one for each index as NTX does)?
Thanks,
Michael
NTX vs. CDX
Moderator: Rathinagiri
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: NTX vs. CDX
Hello Michael
But only advantage isn't "all indexs is in single file" (beside putting all eggs in one basket), CDX indexs has more.
Moreover, if you use same name of .dbf as index file name (fe mytable.cdx for mytable.dbf) and set AUTOPEN on, the cdx file will open (set) with table automatically.
The price is, you have learn same extra concepts : bag, tag, order (slightly different than classical meaning) ...
Anyway, after learned, you don't will be repentant, I thing
Regards
--
Esgici
Welcome our clubmelliott42 wrote: I used Clipper back in the DOS days. I was happy with the .NTX index files.
Itsn't for only .NTXs, every index file (in fact every file) may corrupt.melliott42 wrote: I heard for large indexes they became corrupt. Hopefully that has been fixed.
Simply no. No drastic reason for not use nor use.melliott42 wrote: 1. Is there any compelling reason to not use NTX indexes?
It's correct. "C" in the beginning means "compound".melliott42 wrote: 2. Would CDX put all the indexes in just one file (or one for each index as NTX does)?
But only advantage isn't "all indexs is in single file" (beside putting all eggs in one basket), CDX indexs has more.
Moreover, if you use same name of .dbf as index file name (fe mytable.cdx for mytable.dbf) and set AUTOPEN on, the cdx file will open (set) with table automatically.
The price is, you have learn same extra concepts : bag, tag, order (slightly different than classical meaning) ...
Anyway, after learned, you don't will be repentant, I thing
Regards
--
Esgici
Viva INTERNATIONAL HMG
Re: NTX vs. CDX
I agree that NTX ain't bad per se. I know serious applications with lot of data using big indexes. Reindexing from time to time is a good practice in those cases.
CDX is monolithic and should be faster/smaller. The bag stuff is nice and autoopen too.
Esgici, a question for you: how reliable is CDX implementation in Harbour? I ain't had the chance to really check that out. I believe it's production quality but just wanted to check out.
Thanks.
CDX is monolithic and should be faster/smaller. The bag stuff is nice and autoopen too.
Esgici, a question for you: how reliable is CDX implementation in Harbour? I ain't had the chance to really check that out. I believe it's production quality but just wanted to check out.
Thanks.
Charly
Argentina, Hobbyist developer, Clipper/Delphi/PHP/Progress
Argentina, Hobbyist developer, Clipper/Delphi/PHP/Progress
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: NTX vs. CDX
Hola Charlycdsaenz wrote: ...
how reliable is CDX implementation in Harbour? I ain't had the chance to really check that out. I believe it's production quality but just wanted to check out.
Sadly I haven't any deeply experience, fe huge files, many tags and especially many years of usage, etc
But I always trust Harbour programmers; they are really very skilled persons. I havn't encountered any problem on implementation or performance problem against Clipper, especially database processing area.
Saludos
--
Esgici
Viva INTERNATIONAL HMG
Re: NTX vs. CDX
Good feedback, thanks Esgici. Yes, I see the Harbour team has made a tremendous job for a loong time. It's time to develop!
Charly
Argentina, Hobbyist developer, Clipper/Delphi/PHP/Progress
Argentina, Hobbyist developer, Clipper/Delphi/PHP/Progress
- mustafa
- Posts: 1158
- Joined: Fri Mar 20, 2009 11:38 am
- DBs Used: DBF
- Location: Alicante - Spain
- Contact:
Re: NTX vs. CDX
Hola melliott42
Consulta estos Post
viewtopic.php?f=5&t=873
http://hmglights.wordpress.com/2010/03/ ... x-com-hmg/
viewtopic.php?f=5&t=1259
Saludos
*------------------- Google ---------------*
Hello melliott42
Check out these Post
viewtopic.php?f=5&t=873
http://hmglights.wordpress.com/2010/03/ ... x-com-hmg/
viewtopic.php?f=5&t=1259
Regards
Mustafa
Consulta estos Post
viewtopic.php?f=5&t=873
http://hmglights.wordpress.com/2010/03/ ... x-com-hmg/
viewtopic.php?f=5&t=1259
Saludos
*------------------- Google ---------------*
Hello melliott42
Check out these Post
viewtopic.php?f=5&t=873
http://hmglights.wordpress.com/2010/03/ ... x-com-hmg/
viewtopic.php?f=5&t=1259
Regards
Mustafa
-
- Posts: 119
- Joined: Wed Feb 18, 2009 2:14 pm
Re: NTX vs. CDX
Esgici,
Thanks for the info on CDX and NTX. That is very useful.
Michael
Thanks for the info on CDX and NTX. That is very useful.
Michael