hasten 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/README.md +15 -3
- data/bin/hasten +1 -1
- data/lib/hasten/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OGU2NDQ3Yjg1NDE4NTYzZmM2NDI1MjVjMDU0Mjg0ZTAxMzlmZTRhYg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 087ebec7c20d46badabe51b712bcfb48f06b44a9
|
4
|
+
data.tar.gz: 8142adc37f909914f86cd473b64d528c96094694
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
Yjg1MDIzNjAyZmY4ZmRkM2I4ZDkyYzgyNzJiYzQ4ZmM2Mjg2MGQ2YTI3YjJj
|
11
|
-
ZjYxNjg3MWZiZTc0NTE1NDA0MmFiNjJlZTM5NDI5NGM4ZDRhNzM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NzIyZTg2ZjJhNmM5OTg2MTM1OGI0NjZkYmU4ZTc5ODVmNjM1ZDY4MjZjYmI5
|
14
|
-
ZDRjNTIzNmM4MzBiOWIwNzQyYjY2OTIxMzY2ZjA5Mzk1NmI4OGVmZWYyMWVh
|
15
|
-
ZDJlYmY2NzA0OWYxMWRmYWU0YTI3Mjk3ZGY2YzQ4NzhiODVkNDY=
|
6
|
+
metadata.gz: 06d339a93c9af72b83f0a7b190344067098642525a523c805bab85b6db1f09c747a035e25456b561074cb00c44bb9d4f0c5e126429b2a80eeba56865c9237ade
|
7
|
+
data.tar.gz: b8ee6838926943ef36cf4a55da7e1551f6f2bb76f2db9561c3e9e208b1e5b3b859eea8cc71b89c9e4cba041553b63f78ccd61e6088004cbbe3a524b61ad2e039
|
data/README.md
CHANGED
@@ -6,15 +6,27 @@ Hasten
|
|
6
6
|
Overview
|
7
7
|
--------
|
8
8
|
|
9
|
-
Hasten speeds up the import of mysql dumps containing very large innodb tables with multiple indexes by setting certain mysql modes, removing all indexes from table definitions, and then altering the tables to add the indexes back once all inserts have been completed.
|
9
|
+
Hasten speeds up the import of mysql dumps containing very large innodb tables with multiple indexes by setting certain mysql modes, removing all indexes from table definitions, and then altering the tables to add the indexes back once all inserts have been completed. Check out [this blog post](http://thirtysixthspan.com/posts/hasten-the-import-of-large-tables-into-mysql) for more detail.
|
10
10
|
|
11
|
-
|
11
|
+
Install
|
12
|
+
-------
|
13
|
+
```
|
14
|
+
gem install hasten
|
15
|
+
```
|
16
|
+
|
17
|
+
Usage
|
12
18
|
-----
|
13
|
-
This gem provides an executable script `hasten` that can be used as follows to import SQL files exported from mysqldump.
|
19
|
+
This Ruby gem provides an executable script `hasten` that can be used as follows to import SQL files exported from mysqldump.
|
14
20
|
```
|
15
21
|
cat DUMPFILE | hasten | mysql -uUSER -pPASSWORD DATABASE
|
16
22
|
```
|
17
23
|
|
24
|
+
Benchmark
|
25
|
+
---------
|
26
|
+
Hasten comes with a [benchmarking tool](https://github.com/thirtysixthspan/hasten/blob/master/test/benchmark.rb), and using gnuplot, you can make pretty graphs:
|
27
|
+

|
28
|
+
|
29
|
+
|
18
30
|
License
|
19
31
|
-------
|
20
32
|
Copyright (c) 2015
|
data/bin/hasten
CHANGED
data/lib/hasten/version.rb
CHANGED
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hasten
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derrick Parkhurst
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.7'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
description: Hasten the import of mysql dumps, especially those containing very large
|
@@ -76,12 +76,12 @@ require_paths:
|
|
76
76
|
- lib
|
77
77
|
required_ruby_version: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
@@ -89,7 +89,7 @@ rubyforge_project:
|
|
89
89
|
rubygems_version: 2.4.5
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
|
-
summary: Hasten the import of
|
92
|
+
summary: Hasten the import of mysqldump exports into mysql
|
93
93
|
test_files:
|
94
94
|
- spec/command_spec.rb
|
95
95
|
- spec/dump_spec.rb
|