Notice bibliographique
Résumé
Most database research papers are prescriptive.They identify a technical problem and show us how to solve it.They present new algorithms, theorems, and evaluations of prototypes.Other papers follow a different path; they are descriptive rather than prescriptive.They tell us how data systems behave in practice and how they are actually used.They employ a different set of tools, such as surveys, software analyses, or user studies.These papers are much rarer at database research conferences, and they're all the more valuable for that.The paper I'm introducing here, Many Faces of Ad Hoc Transactions, by Tang et al., is of this descriptive type.It presents an analysis of open source database applications, focusing on how these applications synchronize concurrent operations.According to the authors, this analysis is the result of five person-years of effort.(I suspect this is one of the reasons work like this is not more common.)This paper originally appeared at SIGMOD 2022, 2 and it extends a (short) research thread that first came to my attention through earlier work by Warszawski, Bailis, and others.1,3 "Wait", I hear you say."Database systems provide transactions, and applications use transactions to synchronize their database accesses.What's to study here?"If this is your immediate reaction, I urge you to read this paper.Transactions are, of course, widely used, but database applications also have other tools at their disposal for coordinating concurrent actions.These include synchronization primitives provided by database systems, such as explicit locks, as well as synchronization mechanisms in the application itself.Tang et al. refer to applications' use of these mechanisms as "ad hoc transactions" to distinguish them from transactions implemented in the database system.As it turns out, ad hoc transactions are quite common.Tang et al. analyzed eight popular database applications and found ad hoc transactions in all of them-more than 90 examples of ad hoc transactions in all.This ad hoc transaction corpus is the focus of the paper.Let's consider one example from the corpus, as an illustration.It is an ad hoc transaction used in the Discourse forum application to update the content of a forum post.It spans two application-level HTTP requests.In the first, a client requests the current content of a forum post for editing.In response, the server-side application uses a read-only database transaction to retrieve the post content and version number and returns them to the client.The client edits the content and then issues a second HTTP request to install the new post content, providing the original version number.In response, the server-side application first uses a read-only database transaction to verify that the version number has not changed since the content was originally retrieved.If it has, the update fails.Otherwise, the application uses another database transaction to install the new content and update the version number.The application also uses an explicit lock on the post identifier to prevent concurrent updates to the post between the version check transaction and the update transaction.
Récupéré en direct depuis OpenAlex et désinversé. Les résumés ne sont pas conservés dans cette base de données : les index inversés représentent 8,6 Go des 9,3 Go de texte de la base, et le serveur dispose de 13 Go libres.
Comment cette classification a été obtenuedéplier
Prédiction machine sur la base complète
Imitation des enseignantsNi prévalence calibrée, ni vérité terrain. Validation humaine à venir. Le volet Gemma est une étiquette directe du modèle pour chaque travail de la base, lue sur la notice réduite au titre. Le volet Codex est un classifieur appris des 10 348 étiquettes directes de Codex et calibré sur les taux pondérés de l'échantillon; les champs sans appui suffisant ne portent aucun appel Codex. Le mode candidate est l'union des deux volets; le consensus est leur intersection. Ces sorties portent le statut machine_predicted_unvalidated et ne sont pas des étiquettes humaines.
Scores du classifieur distillé par catégorie (deux têtes)
| Catégorie | Codex | Gemma |
|---|---|---|
| Métarecherche | 0,024 | 0,071 |
| Méta-épidémiologie (sens strict) | 0,001 | 0,001 |
| Méta-épidémiologie (sens large) | 0,001 | 0,001 |
| Bibliométrie | 0,002 | 0,002 |
| Études des sciences et des technologies | 0,004 | 0,024 |
| Communication savante | 0,016 | 0,047 |
| Science ouverte | 0,004 | 0,005 |
| Intégrité de la recherche | 0,008 | 0,015 |
| Charge utile insuffisante (le modèle a refusé de juger) | 0,007 | 0,003 |
Scores machine (provisoires)
Les deux têtes enseignantes du modèle étudiant, lues sur ce travail. Un score ordonne la base pour la relecture; il n'affirme jamais une catégorie, et le statut de validation accompagne chaque rangée tel quel.
Scores de référence d'un modèle non mature (critères de maturité non atteints, 7 itérations). Un score ordonne; il n'affirme jamais une catégorie.
score_only:v0-immature-baseline · tel quel depuis la passe de notation : score_only signifie que le nombre peut ordonner les travaux, et qu'aucune étiquette de catégorie n'en découleClassification
machine, non validéePrédiction automatique; un appel candidat d’une seule source (Gemma direct ou Codex distillé), pas un consensus.
Le détail, modèle par modèle et score par score, se trouve en fin de page sous « Comment cette classification a été obtenue ».