1.5 Implement a method to perform basic string compression using the counts of repeated characters. For example, the string aabcccccaaa would become a2blc5a3. If the "compressed" string would not become smaller than the original string, your met…
Compress a Folder/Directory via Perl5 tested in Windows, Mac OS X, Ubuntu16.04 #!/usr/bin/perl #压缩指定目录 #nultiple folder use IO::Dir; use Archive::Tar; use v5.16; die "Give me some Folder\n" if ! @ARGV; &tar_bz2(@ARGV); sub tar_bz2 { my @hays…
-- 查看表大小 from user_segments where segment_name='TableName'; -- 查看表大小 size_m -- 2000.6796875 2211.6953125 from user_tables --where table_name=UPPER('TableName') order by size_m desc nulls last; -- 表分析 begin dbms_stats.gather_table_stats(ownname => 'Ow…