Skip to content

Commit

Permalink
readme stuff and license
Browse files Browse the repository at this point in the history
  • Loading branch information
clrnd committed Aug 26, 2015
1 parent fe6f8bb commit 93733ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ modification, are permitted provided that the following conditions are met:
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Your name here nor the names of other
* Neither the name of the author nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ and adding stack's binary path to your PATH.

### Usage

For a default everything in Ubuntu you could, for example:
For a default everything in Ubuntu you would, for example:

```
$ createdb discogs
Expand All @@ -44,13 +44,14 @@ $ psql discogs < source_dir/sql/indexes.sql

discogs2pg can has two forms of operation, by file and by date.

You can import a single file like `discogs2pg -c ... some_releases.xml` or
import releases, artists, labels and master for a date DATE with `discogs2pg -c ... -d DATE`.
You can import a single file with `discogs2pg -c ... some_releases.xml` or
import releases, artists, labels and master for a date DATE
in the current directory with `discogs2pg -c ... -d DATE`.

If you want it to be even faster, and your computer can handle it, you can pass an optional `--aggressive`
to make it do all the imports in parallel.
to make it open all file in parallel.

Consider that, since we are using COPY, it will open a conneciton per table, so it will
open 15 connections to the DB at once.
Consider that since we are using COPY it will open a connection per table: that's 15 connections at once.

## Contributing

Expand Down

0 comments on commit 93733ca

Please sign in to comment.