360 likes | 470 Views
Hybrid Keyword Search across Peer-to-Peer Federated Data. PhD Dissertation Defense Florida State University Jungkee (Jake) Kim. Motivation. Where is the Information?. Internet. Outline. Two Typical Search Paradigms Problem Statements of Current Approaches Hybrid Keyword Search
E N D
Hybrid Keyword Search across Peer-to-Peer Federated Data PhD Dissertation Defense Florida State University Jungkee (Jake) Kim
Motivation Where is the Information? Internet
Outline • Two Typical Search Paradigms • Problem Statements of Current Approaches • Hybrid Keyword Search • Hybrid Search on Distributed Databases • Hybrid Search across Peer-to-Peer Federated Databases
Searching over structured data Relational Databases Searching over unstructured data Information Retrieval Two Typical Search Paradigms Internet Environment • Semistructured Data – XML • Keyword Search in DB • Web Search Engines – Technologies from Information Retrieval Hybrid Keyword Search ?
Current Approaches – Keyword-only Search • Web Search Engines • Web crawlers visit Web pages and collect the keyword based text indexes. • Fast information retrieval • Keyword Search in databases • Web integration on legacy DBMS • Dynamic Web publication through embedded DB • Easy to use without knowledge of DB schema
Problems of Current Approaches – Keyword-based • Web Search Engines • Can not collect every connected resource • Query results are often unrelated • Keyword Search in Databases • Losing the inherent meaning of the schema • Query results are not based on semantic schema
Current Approaches – Semantic • Semantic Web • Multiple relation links with directed labeled graphs and machines can understand the relationship between different resources • Describes metadata about resources • To represent the relations of the objects on the Web; the object terms defined under a specific description – an Ontology
Problems of Current Approaches – Semantic Web • Ontology design is sophisticated • Lack of unified definition * • Limited adoption
Our Approach • Hybrid search mechanisms – Semantic metadata + Keyword search • Semantic Solution Semantic Web might be better than Hybrid search Hybrid search must be better than Web search engines • Simplicity Hybrid search is simpler than Semantic Web
Hybrid Keyword Search Service • A search service fetches target information data against a search query. • Unstructured data A file containing data – MS Word, PDF, PS documents • Metadata: Structured or semistructured data – XML • We utilized an XML-enabled relational DBMS and a native XML DB along with a text search library (Apache Xindice + Jakarta Lucene) to address the search against metadata and text.
How to Combine? (1) • Two entities and a relationship in relational DBMS • We can obtain the hybrid search result using a nested subquery
How to Combine? (2) • A hash table is used for joining search results in non-DBMS based system (Apache Xindice + Lucene)
Local Query Processing – XML (1) Average XML Query Time • XML-enabled RDB • DBLP XML record (1,000 – 10,000) • Non indexed matches except year match bound by the number of matches. • Combined query time depends on # of year query results
Apache Xindice DBLP XML record (1,000 – 10,000) Indexed approximate matches for text elements in XML instances as bad as non-indexed queries Exact matches bound by the number of matches. Local Query Processing – XML (2) Average XML Query Time
Local Query Processing – Hybrid (1) • Hybrid search query performance measurement • XML-enabled RDB • For 100,000 XML instances and 100,000 text documents • Small result set: 4 XML and a keyword matches • Large result set: 7,752 XML and 41,889 documents
Local Query Processing – Hybrid (2) • Hybrid search query performance measurement • Apache Xindice + Jakarta Lucene • For 10,000 XML instances and 10,000 text documents • Small result set: 2 XML and a keyword matches • Large result set: 192 XML and 4,562 documents
Discussion – Local Hybrid Search • XML-enabled RDB provides proper response except some extreme query loads. • A native XML DB (Apache Xindice) had very limited scalability. (No accurate query result over 16,000 XML instances) • We will generalize hybrid search to a distributed environment.
Hybrid Search on Distributed Databases • Data Independence: logically and physically independent; the same schema – no change, data encapsulation in each machine • Network Transparency: depends on MOM or P2P framework • No replication – restricted to a computer cluster • Fragment: full partition; horizontal fragmentation • The query result for the distributed databases is the collection of query results from individual database queries.
Scalable Hybrid Search Architecture on DDBS Search Service Search Service Search Service Subscriber for a query topic Publisher for a temporary topic Query Message Result Message Message Broker Query Message Result Message Client Publisher for a query topic Client Subscriber for a temporary topic Client
Cooperating Broker Network • Distributed Databases based on NaradaBrokering Network
Query Processing – DDBS (1) • 100,000 XML and 100,000 Documents in 8 machines – 12,500 each • Few keyword match (1-3) on 1 machine only • RDB – 0.04 Sec. for few keyword match Avg. response time for an author exact match query over 8 search services
Query Processing – DDBS (2) • 100,000 XML and 100,000 Documents in 8 machines – 12,500 each • RDB – half hour or 6.96 Sec. (Hash table) Avg. response time for a year match query over 8 search services
Data Integration Hub • Partial integration – possible method to increase the data portion queried c.f. Supernode in P2P • We designed a partial integration architecture through a message-oriented middleware – the NaradaBrokering system • NaradaBrokering system • JMS compliant topic-based communication • Scalability by brokers hierarchical connection • Passive queries / Static binding • We attached a RDBMS to store the metadata and index the contents of the data
Coupling vs. Scalability • From ICDE 2002 Tutorial
Performance Test for Peer Group Communication (JXTA) Group Propagation Group Propagation Subnet A Subnet B Subnet C ….. Client Peer Rendezvous Peer Search Service Peers Point-to-point Pipe Connection
Performance for Group Peer Communication – 1 Peer per Node Average Response Time for a Query
Performance for Group Peer Communication – Multiple Peers per Node Allowed (1) Average Response Time for a Query with Multiple Peers per Node Allowed
Performance for Group Peer Communication – Multiple Peers per Node Allowed (2) Message Response Time for 32 Group Peers
Related Works (1) • Distributed lookup in routing to reduce the unnecessary communications • Distributed Hash Table (DHT) – Chord, CAN, Pastry, and Tapestry • JXTA: DHT + multiple random walks • Look up peers based on reputation • Hristidis et. al. – Exploiting a context on existing RDBMS with reducing the schema loss of Keyword Search in DB
Conclusion • We addressed the semantic loss of keyword-only search while remaining a simpler solution than the Semantic Web • Low cost scalability over heterogeneous resource through customized overlay networks • A practical bridging role on the road towards the ideal of information represented by Semantic Web?
Contributions • Demonstration of a hybrid search – combining metadata search with a keyword search over unstructured context data • A way to increase locality and integrate several dispersed resources through a data integration hub • Extension of the scalability of a native XML database and performance improvement for some queries compared to those on a single machine • Generalization of our hybrid search architecture on potentially more scalable P2P overlay network
Publications • J. Kim and G. Fox. Scalable Hybrid Search on Distributed Databases. Accepted for presentation in 3rd International Workshop on Autonomic Distributed Data and Storage Systems Management (ADSM) in conjunction with ICCS, To appear in Lecture Notes in Computer Science. May, 2005. • J. Kim and G. Fox. A Hybrid Keyword Search across Peer-to-Peer Federated Databases. In Proceedings of 8th East-European Conference on Advances in Databases and Information Systems (ADBIS), September, 2004. • J. Kim, O. Balsoy, M. Pierce, and G. Fox. Design of a Hybrid Search in the Online Knowledge Center. In Proceedings of IASTED International Conference on Information and Knowledge Sharing, November, 2002. • G. Aydin, H. Altay, M. S. Aktas, M. N. Aysan, G. Fox, C. Ikibas, J. Kim, A. Kaplan, A. E. Topcu, M. Pierce, B. Yildiz, and O. Balsoy. Online Knowledge Center Tools for Metadata Management. Technical report, DoD HPCMP Users Group Meeting, June, 2003. • O. Balsoy, M. S. Aktas, G. Aydin, M. N. Aysan, C. Ikibas, A. Kaplan, J. Kim, M. Pierce, A. Topcu, B. Yildiz, and G. Fox. The Online Knowledge Center: Building a Component Based Portal. In Proceedings of the International Conference on Information and Knowledge Engineering, June, 2002. • G. Fox, S. Ko, M. Pierce, O. Balsoy, J. Kim, S. Lee, K. Kim, S. Oh, X. Rao, M. Varank, H. Bulut, G. Gunduz, X. Qiu, S. Pallickara, A. Uyar, and C. Youn. Grid services for earthquake science. Concurrency and Computation: Practice and Experience, 14:371---393, May---June 2002.