Skip to content

Makes the gem fully workable to deploy with actual structure of FIAS database#20

Open
bulychev-ay wants to merge 34 commits intoevilmartians:masterfrom
bulychev-ay:master
Open

Makes the gem fully workable to deploy with actual structure of FIAS database#20
bulychev-ay wants to merge 34 commits intoevilmartians:masterfrom
bulychev-ay:master

Conversation

@bulychev-ay
Copy link
Contributor

  1. Correlates tables and DBF-files from the FIAS database archive
  2. Helps to set uuid-type to the right columns in the database
  3. Prevents to import from empty DBF-file

2. Helps to set uuid-type to the right columns in the database
3. Prevents to import from empty DBF-file
@bulychev-ay
Copy link
Contributor Author

Please fix the project so that it can be successfully tested in Travis CI.
And please accept my pull request otherwise gem can not work at all.

lupustest@gmail.com and others added 28 commits August 10, 2017 18:48
…from list of tables, ordered in constant TABLE in lib/fias/import/dbf.rb
add description note to current version of the gem
Изменяет вызов метода schema_definition вследствие изменеий в геме dbf
Now possible handle all update files by portions to avoid overflowing RAM (variable portion_size in code)
@param HOME_REGION [String/Fixnum] double digits region code, helps to set sorting for importing tables so you can use database in desired region after 1 hour since start importing.
@param FILES_PORTION sets portion of files handling by iteration. That provide to deploy full database on computers with RAM lower than 25GB (deploying database in one piece requiring up to 25 GB  RAM and growing in time with increasing data in full database). Default value sets on 17 - that number of dictionary tables and address tables for home region.
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

Successfully merging this pull request may close these issues.

2 participants