03.01.2015 Views

Combining Information from Multiple Internet Sources

Combining Information from Multiple Internet Sources

Combining Information from Multiple Internet Sources

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.3 Design of the database part<br />

This chapter presents the database that is used to store the necessary data for the testing<br />

purposes. Database stores the information that is necessary for application configuration, such as<br />

configuration of the search engines and history of queries, which were issued together with engine<br />

rankings for specific queries and algorithms. Surely this data could be stored in the other way, in<br />

files for instance, but since this is not the most elegant, easy to modify and efficient way of<br />

information storage, MySQL relational database was used. Also, any data modifications are easier<br />

than in case of using plain files.<br />

Database schema of the application is not complex, but still this is enough to store necessary<br />

data. Storage is accessed <strong>from</strong> Java application, namely the Main module through the JDBC<br />

drivers. Schema is constructed in very simple way; there are no computations performed on it, there<br />

are no stored procedures defined in the schema. Those are not needed as application deals with very<br />

simple data. Instead of stored procedures plain SQL and DDL statements are used to retrieve and<br />

update the data contained in it. Next part of the sub-chapter presents the database schema<br />

implementation and descriptions of the tables in the schema.<br />

As stated earlier this schema is very simple and consists only <strong>from</strong> four tables. Furthermore<br />

there are no stored routines implemented. This makes this schema simple, yet robust enough to<br />

store information necessary for the testing purposes.<br />

17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!