Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed table structure changes for table 'authors' #8

Open
kristiank opened this issue Mar 18, 2013 · 1 comment
Open

Proposed table structure changes for table 'authors' #8

kristiank opened this issue Mar 18, 2013 · 1 comment

Comments

@kristiank
Copy link

An index could be added so that author_db.php->getByExactName() query would run much quicker.

ALTER TABLE .author DROP INDEX surname ,
ADD INDEX exactname ( surname ( 10 ) , firstname ( 10 ) , von ( 5 ) , jr ( 5 ) )

This Issue is part of an attempt to optimize importing into a big Aigaion database (currently 10,000+ authors, 80,000+ publications). Our installed Aigaion seems to crash or time-out when importing datasets with more than 300 publications.

@kristiank
Copy link
Author

With the index added, the crash or time-out seems to occur after importing between 900 and 1000 entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant