Page 1 of 1
BTRIEVE to SQL
Posted: Tue Jul 17, 2012 9:36 pm
by cjt
this guide walks through the migration from BTRIEVE type databases to Pervasive SQL.
http://www.themajorbbs.com/bbs/viewtopi ... 7891cfd6b4
Has anyone done it recently that can provide a more recent writeup? The links are broken and I'm not sure exactly what software package needed.
Re: BTRIEVE to SQL
Posted: Sat Jul 21, 2012 11:55 am
by mirtheil
cjt wrote:this guide walks through the migration from BTRIEVE type databases to Pervasive SQL.
http://www.themajorbbs.com/bbs/viewtopi ... 7891cfd6b4
Has anyone done it recently that can provide a more recent writeup? The links are broken and I'm not sure exactly what software package needed.
Technically, there is no conversion needed when moving from Btrieve to Pervasive SQL. Pervasive SQL is just a newer version of Btrieve and still includes the Btrieve interface although it has been downplayed.
If, however, you are using Btrieve data files in v5.x (or older) format, the newer (v9 and later) engines will not write to those files. You'll get an error 46 (access denied). Rebuilding the files using the Pervasive rebuild tool will resolve that.
If you have specific questions about Btrieve to Pervasive SQL changes, please post them and I'll try to answer them. Include the version you are using and the version you want to use.
Re: BTRIEVE to SQL
Posted: Sat Jul 28, 2012 10:04 am
by cjt
is there any benefit in going from btrieve over to sql? Like, less risk of access violations?
Re: BTRIEVE to SQL
Posted: Fri Aug 03, 2012 2:46 pm
by ODSBBS
I've always been afraid to try this... possibly from my own lack of knowledge... but what if you convert your files to the new format, and you suffer corruption down the road... and need to reindex the dat files?
Will worldgroups reindex utility which automatically runs when it needs to, suddenly cause more problems since you never changed that program to use the new format? (or majormuds reindex utility for that matter) So the program just tries to rebuild the dat files as it expects to, and you need them converted to the new format?
So you go from one problem, to a huge problem instantly with dat files completely not usable now? And possibly more corrupt now?
Re: BTRIEVE to SQL
Posted: Tue Dec 25, 2012 6:47 pm
by Lochlenn
i actually just did this myself, but i used psql 10. Directions were just that easy. And it worked. So far everything runs smoother, loading time is MUCH faster. Thinking of increasing polling rate some. Im going to do a reindex on all datafiles, but since the board loads, i dont see it being a problem.
Re: BTRIEVE to SQL
Posted: Tue Dec 25, 2012 6:56 pm
by Lochlenn
Lochlenn wrote:i actually just did this myself, but i used psql 10. Directions were just that easy. And it worked. So far everything runs smoother, loading time is MUCH faster. Thinking of increasing polling rate some. Im going to do a reindex on all datafiles, but since the board loads, i dont see it being a problem.
ok, using the offline reindex cause it to replace all the files with empties, loaded up the board to an empty class file error. just replaced them with the converted dats and it fired right back up
Re: BTRIEVE to SQL
Posted: Fri Jan 04, 2013 8:50 pm
by ODSBBS
Lochlenn wrote:
ok, using the offline reindex cause it to replace all the files with empties, loaded up the board to an empty class file error. just replaced them with the converted dats and it fired right back up
So everytime you do an offline recovery... which would also be the same as a "sys reset" in the game which you use constantly to fix most minor errors and monster regen problems... it blanks the dat files? so you end up having to copy over the same ones with the problem that need to be fixed??? this does not sound good lol.
Re: BTRIEVE to SQL
Posted: Sat Jan 05, 2013 11:14 am
by Lochlenn
ODSBBS wrote:Lochlenn wrote:
ok, using the offline reindex cause it to replace all the files with empties, loaded up the board to an empty class file error. just replaced them with the converted dats and it fired right back up
So everytime you do an offline recovery... which would also be the same as a "sys reset" in the game which you use constantly to fix most minor errors and monster regen problems... it blanks the dat files? so you end up having to copy over the same ones with the problem that need to be fixed??? this does not sound good lol.
no, just wg data files, mud files are fine. as long as wg doesnt run a reindex, nothing happens. It runs MUCH faster, at least it seems to me, and it gives the ability to add info from your datafile to anything like a website or stats page (no idea how to do this but if anyone knows, id take the info).
Re: BTRIEVE to SQL
Posted: Mon Aug 07, 2017 8:23 am
by zlarb
It's definitely faster