ruby-pg-extras 5.6.4 → 5.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_pg_extras/diagnose_data.rb +2 -2
- data/lib/ruby_pg_extras/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af8d0e2edb9db1d0fe94ffdb5201c22f706393958c894543130f3bb77107d498
|
4
|
+
data.tar.gz: bb293f084f8588a96117586170040414859545ccccf0ee09c566af4aa99944c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d87d7591fc5ab1064de8bbaefefc37d12460e821a144438ddaf685b4f50b5184164aade465d2889e70f60f29ccbe2ca8ed14654bf7ce7abb6d940af2224c0c7
|
7
|
+
data.tar.gz: 9fd2e0fba88986669e459dd5a97d53a6b2db6391aac48f1737c1187324fbc32c715a79c203caff8680771a0d1b0eddd984326217feec6ca690628c21a072d5c7
|
@@ -72,7 +72,7 @@ module RubyPgExtras
|
|
72
72
|
if value == "4096" && unit == "kB"
|
73
73
|
{
|
74
74
|
ok: false,
|
75
|
-
message: "
|
75
|
+
message: "The db is using the default 'work_mem' value of '#{value}#{unit}'. This value is often too low for modern hardware and can result in suboptimal query plans. Visit https://pgtune.leopard.in.ua/ to find the correct value for your database.",
|
76
76
|
}
|
77
77
|
else
|
78
78
|
{
|
@@ -94,7 +94,7 @@ module RubyPgExtras
|
|
94
94
|
if value == "4"
|
95
95
|
{
|
96
96
|
ok: false,
|
97
|
-
message: "
|
97
|
+
message: "The db is using the default 'random_page_cost' value of '4'. This value is often too low for modern hardware and can result in suboptimal indexes utilization. Consider setting it to '1.1'. See https://pgtune.leopard.in.ua/ for more information.",
|
98
98
|
}
|
99
99
|
else
|
100
100
|
{
|