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
cd /Users/yourname/.ssh | |
# If you get ""-bash: cd: .ssh: No such file or directory" | |
# You need to create it | |
mkdir /Users/yourname/.ssh | |
# Set security on the folder so only you can read, write and execute | |
chmod 700 /Users/yourname/.ssh | |
# Change directory |
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
加入代码可解决这种卡顿的问题: | |
-webkit-overflow-scrolling: touch; |
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
-- Set number of shard | |
ALTER DATABASE citus SET citus.shard_count = 64; | |
-- Explain across all shards | |
SET citus.explain_all_tasks TO true; | |
-- Size of all distributed tables excluding indexes but including TOAST, free space map, and visibility map | |
SELECT logicalrelid::text tablename, pg_size_pretty(citus_table_size(logicalrelid::text)) size FROM pg_dist_partition group by tablename; | |
-- Size of all distributed tables including all indexes and TOAST data |
OlderNewer