Hi Ralph,
I still use the old dbreport that comes with ye olde gdct for getting a nice sorted one-line list of records:
http://www.slac.stanford.edu/grp/ssrl/spear/epics/extensions/dbreport/dbreport.txt
But dbreport needs maintenance. I'm sure there are better tools.
For checking out a dbd and db file, I run dbReadTest (see 6.23 of 3.14.12 app dev guide) on resultant .db files after running make on the Db area of my app. dbReadTest finds a multitude of sins and saves me multiple restarts of an IOC due to oops's.
Stephanie
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Ralph Lange
> Sent: Thursday, April 23, 2015 2:56 AM
> To: EPICS Tech-Talk
> Subject: DBD/DB validator?
>
> Dear all,
>
> Ages ago I remember there was a tool called 'dbst' that could be used to
> validate DBD/DB setups and that could dump DBs in a sorted, normalized
> way (only non-default value fields, standard indentation) to make them
> easily comparable with diff and such.
>
> Is dbst still around? I suppose there are more recent ways nowadays.
> Perl/Python? Web-Service?
> (I do like the idea of using the same library as the IOC, though...)
>
> What is a good way to do database validation?
>
> Thanks a lot,
> ~Ralph
- References:
- DBD/DB validator? Ralph Lange
- Navigate by Date:
- Prev:
Re: DBD/DB validator? Andrew Johnson
- Next:
Re: DBD/DB validator? John A. Priller
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: DBD/DB validator? Andrew Johnson
- Next:
Re: DBD/DB validator? Benjamin Franksen
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|