This file contains hidden or 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
| SELECT | |
| table_name, | |
| pg_size_pretty(table_size) AS table_size, | |
| pg_size_pretty(indexes_size) AS indexes_size, | |
| pg_size_pretty(total_size) AS total_size | |
| FROM ( | |
| SELECT | |
| table_name, | |
| pg_table_size(table_name) AS table_size, | |
| pg_indexes_size(table_name) AS indexes_size, |
This file contains hidden or 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
| Ref: https://www.tecmint.com/set-display-screen-resolution-in-ubuntu/ | |
| //Add mode by running below command then replace value after xrandr --newmode in step 2 generated by the command 1 | |
| 1. cvt 1920 1080 | |
| 2. xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
| 3. xrandr --addmode eDP-1 "1920x1080_60.00" | |
| 4. then go to display and select the newly created resolution from ui |
OlderNewer