sf
How to add a lot of terms at once? The way to add a lot of terms… ← ArticlesSupportA free dictionary/glossary PHP-script Guest  •  Sign In  •  Register a new account

Article: #kb-F How to add a lot of terms at once? The way to add a lot of terms…

  • Status: Published
  • Topic: Import
  • Applies to: Glossword 1.9.0
  • How to add a lot of terms at once?

    The way to add a lot of terms is to use Import. Follow ExchangeImportTerms.

    Recommended number of terms is 500. The number varies depending on server performance.

    The process of importing terms is a complicated task. There are a lot of transformations with text during the process. You can import 100.000 terms on a local machine but a web-server, especially on shared hosting, allows to import 500 terms or less at best.

    Importing large databases

    These settings for php.ini help to import large databases:

    ini
    1. max_execution_time = 3600 ; 1 hour
    2. max_input_time = 3600
    3. memory_limit = 64M
    4. post_max_size = 64M
    5. upload_max_filesize = 64M

    Some hosters allow to change settings using .htaccess file:

    apache
    1. php_value max_execution_time 3600
    2. php_value max_input_time 3600
    3. php_value memory_limit 64M
    4. php_value post_max_size 64M
    5. php_value upload_max_filesize 64M

    A 60-MB XML-file imports during ~10 minutes on Intel Celeron 1.6 GHz.

    Time spent on import, seconds. / 384×240, 27 KB
    Time spent on import, seconds.
  • Created: , DmitrySh
  • Modified:

New comment

Discussion closed.