Welcome, Guest. Please Login.
05/25/25 at 18:00:19
News:
Home Help Search Login


Pages: 1
Send Topic Print
Re: Maintenance Tasks (Read 1979 times)
aricon
Active Member
*****


Systems
Consulting-See
website for
products!

Posts: 1283
Gender: male
Re: Maintenance Tasks
06/09/05 at 07:28:47
 
Re-indexing the files is about the only DB maintenance that you can really do. And no you cannot use SQL Server. DBA is NOT a relational DB, it is transactional. And nothing you could do with SQL would have any positive effect upon the DBA data files.
Back to top
 
 

Sincerely,

Lorne Rogers
President
Aria Consulting & Implementers Ltd.
Phone: (780) 471-1430
Fax: (780) 471-4918
E-mail: lrogers@ariaconsulting.net
Email WWW   IP Logged
emiller77
Browser
*


I love YaBB 1G -
SP1!

Posts: 1
Re: Maintenance Tasks
Reply #1 - 06/13/05 at 22:36:57
 
I guess I do not understand SQL server is a transactional database also along with being a relational database. Please explain your answer. I am a little rusty with SQL server I haven't really used it in about a year.
Back to top
 
 
  IP Logged
aricon
Active Member
*****


Systems
Consulting-See
website for
products!

Posts: 1283
Gender: male
Re: Maintenance Tasks
Reply #2 - 06/14/05 at 05:12:32
 
All relational DB's have a transactional component to the functionality including Pervasive. The design of DBA however uses data FILES not data tables within a single "file" the way that a relational DB does. And DBA only uses the transactional parts of the Pervasive engine.
 
Basically I cannot see any purpose whatsoever to uses SQL Server to try to do anything with the DBA data files.
Back to top
 
 

Sincerely,

Lorne Rogers
President
Aria Consulting & Implementers Ltd.
Phone: (780) 471-1430
Fax: (780) 471-4918
E-mail: lrogers@ariaconsulting.net
Email WWW   IP Logged
kevind
Active Member
*****


I was more than
willing to
"pony up",
how b'out U?

Posts: 634
Gender: male
Re: Maintenance Tasks
Reply #3 - 06/14/05 at 06:20:50
 
The only additional activity I can think of is to purge old, un-needed records (closed SO, Closed PO's, Closed WO's) and consolidate transaction files (inventory transaction, general ledger transacton) before re-indexing.
 
Re-indexing not only rebuilds the internal table indexes, but, in the process, it recovers drive space from purged records.  The data files become smaller to the operating system.
 
As Loren pointed out, DBA uses only the transactional component of pervasive.  Because of this, the programs are written to sequentially step through each individual record of a table to process the data in that table.  Sometimes it steps through by following an index so that the records of interest get read right away (say, by date).  Other times, every record of the data file is read and compared with the selection criteria.  With Fewer records to read, programs that step through every record will take less time to run.
Back to top
 
 

Kevin Damke
Spectronics Corporation
ISTECH 2004.1 7/26/13 SP1 - 20 user
Evo-ERP Build 7/25/13 T7 -7i R6 - 3 user
(Prev version was 2004.1 10/24/12)
(All Patches Installed as of 7/26/13)
Pervasive 2000i SP4 - Crystal Reports V10
Email WWW   IP Logged
klconard
Browser
*




Posts: 6
Re: Maintenance Tasks
Reply #4 - 06/15/05 at 05:11:00
 
What files need to be re-indexed when you purge old PO's & SO's.  I've been archiving my WO's and Lynn gave me the list of those files.
Back to top
 
 
  IP Logged
aricon
Active Member
*****


Systems
Consulting-See
website for
products!

Posts: 1283
Gender: male
Re: Maintenance Tasks
Reply #5 - 06/15/05 at 09:10:48
 
PO's would be BKAPHPO and BKAPHPOL and SO's would be BKARHINV and BKARHIVL.
Back to top
 
 

Sincerely,

Lorne Rogers
President
Aria Consulting & Implementers Ltd.
Phone: (780) 471-1430
Fax: (780) 471-4918
E-mail: lrogers@ariaconsulting.net
Email WWW   IP Logged
Lynn_Pantic
Administrator
*****


evolution (n) -
gradual change to a
different form

Posts: 5663
Re: Maintenance Tasks
Reply #6 - 06/15/05 at 11:32:31
 
Actually, no.  BKARHINV and BKARHIVL are posted invoices.  If you purge closed Sales Orders, the files are BKARINV and BKARINVL.  Also BKARDESC if you use Notes.
Back to top
 
 

Lynn Pantic
IS Tech Support
lynn@istechsupport.com
Email   IP Logged
aricon
Active Member
*****


Systems
Consulting-See
website for
products!

Posts: 1283
Gender: male
Re: Maintenance Tasks
Reply #7 - 06/15/05 at 11:53:01
 
Ooops, my bad... Shocked
Back to top
 
 

Sincerely,

Lorne Rogers
President
Aria Consulting & Implementers Ltd.
Phone: (780) 471-1430
Fax: (780) 471-4918
E-mail: lrogers@ariaconsulting.net
Email WWW   IP Logged
Lenette
Senior Member
****


That's why they call
it work!!

Posts: 459
Gender: female
Re: Maintenance Tasks
Reply #8 - 06/23/05 at 07:12:35
 
Is there a place where all these files to be reindexed can be found.  I recently purges all 2002 SO, WO & PO.
 
I have reindexed the following:
BKAPHPO
BKAPHPOL
BKARDESC
BKARHINV
BKARHIVL
BKARINV
BKARINVL

 
Did I miss any??
Lenette
 
Back to top
 
 

Version: Current (always current on patches)
Build - 05/21/19 T7-7iR11
Pervasive 12.00 - EVO seats 15 DC seats 5
DBA since 2002

Lenette Egan
McDantim Inc
Helena, Montana
Email WWW   IP Logged
aricon
Active Member
*****


Systems
Consulting-See
website for
products!

Posts: 1283
Gender: male
Re: Maintenance Tasks
Reply #9 - 06/27/05 at 06:27:18
 
Yes, you missed the work order files....
Back to top
 
 

Sincerely,

Lorne Rogers
President
Aria Consulting & Implementers Ltd.
Phone: (780) 471-1430
Fax: (780) 471-4918
E-mail: lrogers@ariaconsulting.net
Email WWW   IP Logged
Lenette
Senior Member
****


That's why they call
it work!!

Posts: 459
Gender: female
Re: Maintenance Tasks
Reply #10 - 06/27/05 at 06:55:57
 
Okay... Lorne....
 
Maybe I should have re-worded my questions...
What files did I miss??
 
Lenette Grin
Back to top
 
 

Version: Current (always current on patches)
Build - 05/21/19 T7-7iR11
Pervasive 12.00 - EVO seats 15 DC seats 5
DBA since 2002

Lenette Egan
McDantim Inc
Helena, Montana
Email WWW   IP Logged
aricon
Active Member
*****


Systems
Consulting-See
website for
products!

Posts: 1283
Gender: male
Re: Maintenance Tasks
Reply #11 - 06/27/05 at 12:55:30
 
Look for all the files that start with WO (ie. WOROUT, WORKORD, etc.)
Back to top
 
 

Sincerely,

Lorne Rogers
President
Aria Consulting & Implementers Ltd.
Phone: (780) 471-1430
Fax: (780) 471-4918
E-mail: lrogers@ariaconsulting.net
Email WWW   IP Logged
Lynn_Pantic
Administrator
*****


evolution (n) -
gradual change to a
different form

Posts: 5663
Re: Maintenance Tasks
Reply #12 - 06/27/05 at 13:02:45
 
Plus (in the infinite wisdom of whoever first set up the Work Order system) OUTPROC.
 
Also the Data Collection labor files if you use DC or WO-M to enter labor - BKDCLAB, BKDCPLAB and BKDCTLAB.
Back to top
 
 

Lynn Pantic
IS Tech Support
lynn@istechsupport.com
Email   IP Logged
Lenette
Senior Member
****


That's why they call
it work!!

Posts: 459
Gender: female
Re: Maintenance Tasks
Reply #13 - 06/28/05 at 09:41:41
 
THANKS FOR ALL THE INFO.
 
Maybe auto-reindexing could be added to your "list".
 
Smiley lenette
Back to top
 
 

Version: Current (always current on patches)
Build - 05/21/19 T7-7iR11
Pervasive 12.00 - EVO seats 15 DC seats 5
DBA since 2002

Lenette Egan
McDantim Inc
Helena, Montana
Email WWW   IP Logged
Lynn_Pantic
Administrator
*****


evolution (n) -
gradual change to a
different form

Posts: 5663
Re: Maintenance Tasks
Reply #14 - 06/28/05 at 10:16:44
 
Already have a multi-file reindexing add-on that comes with preset lists.   $49.95
Back to top
 
 

Lynn Pantic
IS Tech Support
lynn@istechsupport.com
Email   IP Logged
Pages: 1
Send Topic Print