This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
invalidate=1 | |
direct=1 | |
time_based=1 | |
ramp_time=20 | |
blocksize=8k | |
group_reporting=1 | |
size=2G | |
[writer] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
invalidate=1 | |
direct=1 | |
time_based=1 | |
ramp_time=20 | |
blocksize=8k | |
group_reporting=1 | |
size=64M | |
[writer] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
invalidate=1 | |
direct=1 | |
time_based=1 | |
ramp_time=20 | |
blocksize=8k | |
group_reporting=1 | |
size=1G | |
[writer] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
invalidate=1 | |
direct=1 | |
time_based=1 | |
ramp_time=20 | |
blocksize=8k | |
group_reporting=1 | |
size=32G | |
[writer] |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table user_logins ( | |
user_id bigint, | |
login_date timestamptz, | |
info varchar(10) | |
); | |
create index find_login on user_logins (user_id, login_date); | |
insert into user_logins (user_id, login_date, info) values (0, now() - interval '1 min', 'random0'); | |
insert into user_logins (user_id, login_date, info) values (0, now() - interval '2 min', 'random1'); |