miniBB ®  
DoorScope Forum
 | Forums | Register | Reply | Search | Statistics |
Support Questions DoorScope Forum / Support Questions /  

How do you create a dsdb file from a dsdx file?

Author alainpoint
Registered 

#1 | Posted: 11 Jun 2015 12:35 
I am a new user and very excited about the tool.
I could create a .dsdx file with the Extractor but it is not explained at all how i can create the dsdb file that is needed by the viewer.
Thank you in advance

Alain

Author alainpoint
Registered 

#2 | Posted: 11 Jun 2015 13:04 
I should have read the tutorial where it is all explained.
I still have a question though.
In which format is the .dsdb file? It seems to be a binary but i would have expected a ReqIF format.

best regards

Author rochus
Moderator 

#3 | Posted: 11 Jun 2015 15:06 
alainpoint:
In which format is the .dsdb file? It seems to be a binary but i would have expected a ReqIF format.

The dsdb is a NoSQL database which I built based on the backend of Sqlite. You therefore can open it with a Sqlite tool but don't see any tables, because all data is stored in Btrees. ReqIF didn't exist when I started to implement DoorScope and with XML I would have to split the repository in many files or always load the whole repository into RAM at once on start. The DSDB allows me just to fetch what and when I need it for display. It's therefore much faster (even faster than DOORS). You can import ReqIF files the same way you import DSDX files. There will be a ReqIF export as soon as I have time to implement it.

Author rochus
Moderator 

#4 | Posted: 11 Jun 2015 15:20 
alainpoint:
I am a new user and very excited about the tool.

Nice to hear. Welcome to the forum.

Author alainpoint
Registered 

#5 | Posted: 13 Jun 2015 17:09 
Thank you for the information. Now you picked my interest !
I would like to programmatically manipulate the DSDB database.
Is there a possibility to export to sqlite?

best regards
Alain

Author rochus
Moderator 

#6 | Posted: 13 Jun 2015 18:21 
alainpoint:
I would like to programmatically manipulate the DSDB database.

What do you mean by that? What would you like to do? Maybe you have noticed the Lua scripting. There is a documentation what you can do with it: http://doorscope.ch/DoorScopeLuaAPIDocumentation.html
The API is suited for export and reporting purpose.

alainpoint:
Is there a possibility to export to sqlite?

DSDB is Sqlite, but only the backend. If you want to store the data in a relational DB, you have to take care of this yourself; the Lua API (see above) can be used for this. DSDB itself is an object database which I can directly use in the C++ code without translating to and from SQL.

Author alainpoint
Registered 

#7 | Posted: 15 Jun 2015 11:50 
Well, my needs are quite limited (make a dump of the requirements into a proprietary format).
Can i view the database making use of a NoSQL viewer? Does it have to be a specific NoSQL (MongoDb, Redis, etc...)?

Author rochus
Moderator 

#8 | Posted: 15 Jun 2015 12:22 
alainpoint:
Can i view the database making use of a NoSQL viewer

Actually DoorScope ist the "NoSQL viewer" for DSDB. DSDB is my own version of a NoSQL db and has nothing in common with MongoDB or the like. But of course you could write your own Lua script which exports all objects and relations to a suited format for import into MongoDB.

Author alainpoint
Registered 

#9 | Posted: 15 Jun 2015 13:16 
Thanks for the clarification.

Support Questions DoorScope Forum / Support Questions / How do you create a dsdb file from a dsdx file? Top
Your Reply Click this icon to move up to the quoted message
 

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.
 
  DoorScope Forum Powered by Online Community Script miniBB ®