Skip to main content

2015 | OriginalPaper | Buchkapitel

Using SQL Queries to Evaluate the Design of SQL Databases

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

The system catalog of a database with explicit schemas contains among other things information about the structure of the database. Queries based on the system catalog allow us to search occurrences of database design antipatterns (database design flaws). In this paper, we present the results of an evaluation of a set of SQL databases. We used the queries that were presented in the previous paper on this topic. A goal of the research is to further experimentally evaluate the queries. We present findings about the queries as well as evaluated databases. In addition, we propose more questions about the design of conceptual schemas of SQL databases that can be answered by querying their system catalogs. The use of the queries would allow us to partially automate the process of evaluating structure and constraints of existing databases and detecting design flaws.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat E. Eessaar, “On Query-based Search of Possible Design Flaws of SQL Databases,” in Proc. Int. Conf. on Systems, Computing Sciences & Software Engineering (SCSS 12), in press. E. Eessaar, “On Query-based Search of Possible Design Flaws of SQL Databases,” in Proc. Int. Conf. on Systems, Computing Sciences & Software Engineering (SCSS 12), in press.
2.
Zurück zum Zitat B. Karwin, SQL Antipatterns. Avoiding the Pitfalls of Database Programming, The Pragmatic Bookshelf, 2010, pp. 15-155. B. Karwin, SQL Antipatterns. Avoiding the Pitfalls of Database Programming, The Pragmatic Bookshelf, 2010, pp. 15-155.
3.
Zurück zum Zitat IWD 9075-11:201?(E) Information technology — Database languages — SQL — Part 11: Information and Definition Schemas (SQL/Schemata). 2011-12-21. IWD 9075-11:201?(E) Information technology — Database languages — SQL — Part 11: Information and Definition Schemas (SQL/Schemata). 2011-12-21.
5.
Zurück zum Zitat C.J. Date, An Introduction to Database Systems, 8th ed.. Boston: Pearson/Addison Wesley, 2003. C.J. Date, An Introduction to Database Systems, 8th ed.. Boston: Pearson/Addison Wesley, 2003.
6.
Zurück zum Zitat IWD 9075-2:201?(E) Information technology — Database languages — SQL — Part 2:Foundation (SQL/Foundation). 2011-12-21. IWD 9075-2:201?(E) Information technology — Database languages — SQL — Part 2:Foundation (SQL/Foundation). 2011-12-21.
7.
Zurück zum Zitat E. Eessaar, “On Using a Semiotic Quality Framework to Evaluate the Quality of Conceptual Database Schemas,” in Proc. Int. Conf. on Systems, Computing Sciences & Software Engineering (SCSS 10), pp. 103–115. E. Eessaar, “On Using a Semiotic Quality Framework to Evaluate the Quality of Conceptual Database Schemas,” in Proc. Int. Conf. on Systems, Computing Sciences & Software Engineering (SCSS 10), pp. 103–115.
9.
Zurück zum Zitat S. Lightstone, T. Teorey, and T. Nadeau, Physical Database Design. The Database Professional’s Guide to Exploiting Indexes, Views, Storage, and More. Elsevier, 2007, ch. 12. S. Lightstone, T. Teorey, and T. Nadeau, Physical Database Design. The Database Professional’s Guide to Exploiting Indexes, Views, Storage, and More. Elsevier, 2007, ch. 12.
11.
Zurück zum Zitat C.J. Date, SQL and Relational Theory. How to Write Accurate SQL Code. O’Reilly, 2009, ch. 4. C.J. Date, SQL and Relational Theory. How to Write Accurate SQL Code. O’Reilly, 2009, ch. 4.
12.
Zurück zum Zitat M. Piattini, C. Calero, H. Sahraoui, and H. Lounis, “Object-Relational Database Metrics,” L’Object, 2001. M. Piattini, C. Calero, H. Sahraoui, and H. Lounis, “Object-Relational Database Metrics,” L’Object, 2001.
14.
Zurück zum Zitat D.L. Moody, “Theoretical and practical issues in evaluating the quality of conceptual models: current state and future directions,” Data & Knowledge Engineering, vol. 55, pp. 243-276, 2005. D.L. Moody, “Theoretical and practical issues in evaluating the quality of conceptual models: current state and future directions,” Data & Knowledge Engineering, vol. 55, pp. 243-276, 2005.
16.
Zurück zum Zitat P. Ihantola, T. Ahoniemi, V. Karavirta, and O. Seppälä, “Review of Recent Systems for Automatic Assessment of Programming Assignments,” in 2010 Proc. Koli Calling Conf., pp. 86-93. P. Ihantola, T. Ahoniemi, V. Karavirta, and O. Seppälä, “Review of Recent Systems for Automatic Assessment of Programming Assignments,” in 2010 Proc. Koli Calling Conf., pp. 86-93.
17.
Zurück zum Zitat S. Dekeyser, M. de Raadt, T.Y. Lee, “Computer Assisted Assessment of SQL Query Skills,” in 2007 Proc. ADC Conf.-Volume 63, pp. 53-62. S. Dekeyser, M. de Raadt, T.Y. Lee, “Computer Assisted Assessment of SQL Query Skills,” in 2007 Proc. ADC Conf.-Volume 63, pp. 53-62.
18.
Zurück zum Zitat M. Piattini, C. Calero, and M. Genero, “Table Oriented Metrics for Relational Databases,” Software Quality Journal, vol. 9, pp. 79–97, 2001. M. Piattini, C. Calero, and M. Genero, “Table Oriented Metrics for Relational Databases,” Software Quality Journal, vol. 9, pp. 79–97, 2001.
19.
Zurück zum Zitat L. Rönnbäck, O. Regardt, M. Bergholtz, P. Johannesson, and P. Wohed “Anchor Modeling - Agile Information Modeling in Evolving Data Environments,” Data & Knowl. Eng., vol. 69, pp. 1229-1253, Dec. 2010. L. Rönnbäck, O. Regardt, M. Bergholtz, P. Johannesson, and P. Wohed “Anchor Modeling - Agile Information Modeling in Evolving Data Environments,” Data & Knowl. Eng., vol. 69, pp. 1229-1253, Dec. 2010.
Metadaten
Titel
Using SQL Queries to Evaluate the Design of SQL Databases
verfasst von
Erki Eessaar
Janina Voronova
Copyright-Jahr
2015
DOI
https://doi.org/10.1007/978-3-319-06764-3_23

Neuer Inhalt