Nt1310 Unit 1 Assignment 1

574 Words2 Pages

Diagram 2.0 displays the overall activity of the database. The diagram is explained below. • User request is accepted in the form of XMLs. Command XML and Data XML. • Command XML consists of commands that the database needs to carry out. It also contains user name and password for authentication purpose. • Once the user is authenticated, the Data XML is read. The location of Data XML is specified in Command XML. • The Data XML contains the data that needs to be added/updated to/deleted from the Database. • The Data XML might also contain queries that user wants the data from database. • The TestExec package will process the Data XML and depending upon the command, sends the XML object to Item Factory or Item Editor. • If the data is to be added …show more content…

TestExec will in turn request the data from DBEngine. DBEngine will try to find the keys, metadata from IndexEngine. Then DBEngine will try to fetch the data from either in memory or from shards. • Once the data is received by Item Editor, it edits the data and sends it to DBEngine via TestExec. • The data is then added/updated to/deleted from database depending upon the request. • If the request is to fetch data from database, the TestExec will send the request to QueryEngine. • The QueryEngine will query the database for the data that is being asked for. • If the data requested is to fetch value of the particular key, then DBEngine requests for metadata from Index Engine. Once the metadata is received, the DBEngine will try to find the value from either Shard or from database. This information is stored in the metadata that is received from Index Engine. • If the data requested is to fetch keys from specified pattern. DBEngine will request keys from Index Engine and the same is being displayed to the user. • If the data requested is to fetch child keys, the DBEngine requests for metadata from Index Engine. The metadata contains the child key list. The data is then displayed to

Open Document