How to Troubleshoot High or Full Disk Usage with Amazon Redshift
SELECT q.query, trim(q.cat_text) FROM ( SELECT query, replace( listagg(text,' ') WITHIN GROUP (ORDER BY sequence), '\\n', ' ') AS cat_text FROM stl_querytext WHERE userid>1 GROUP BY query) q JOIN ( SELECT distinct query FROM svl_query_summary WHERE is_diskbased='t' AND (LABEL ILIKE 'hash%' OR LABEL ILIKE 'sort%' OR LABEL ILIKE 'aggr%' OR LABEL ILIKE 'save%' OR LABEL ILIKE 'window%' OR LABEL ILIKE 'unique%') AND userid > 1) qs ON qs.query = q.query;
相關推薦
How to Troubleshoot High or Full Disk Usage with Amazon Redshift
SELECT q.query, trim(q.cat_text) FROM ( SELECT query, replace( listagg(text,' ') WITHIN GROUP (ORDER BY sequence), '\\n', ' ') AS cat_text FROM
How to Break a Monolith Application into Microservices with Amazon Elastic Container Service, Docker, and Amazon EC2
Traditional monolithic architectures are hard to scale. As an application's code base grows, it becomes complex to update and maintain.
How to merge two or multiple git repositories into one
How to merge two or multiple git repositories into oneP.S. Not endorsing Chromebooks.You never know if you need to combine two projects into one. If you ev
How to use Toyota simulated card + P001 Programmer with Obdstar X300 DP PLUS
Obdstar X300 DP Plus OBDSTAR X300 DP Plus key programmer OBDSTAR X300 DP plus PAD X300 DP Plus Purpose: To check if OBDSTAR X300 DP PLUS can
How To Detect CSS Transition Start And End With Javascript
Transition Hook We could add listener on event ‘transitionstart’, ‘transitionrun’ and ‘transitionend’ to detect CSS transition hook
How to make your iOS apps more secure with SSL pinning
swift 和 obj-c 完成 ssl 的寫法如下: We can start by instantiating an NSURLSession object with the default session configuration. Swift self.urlSession = NSURLSes
How to make the impossible possible in CSS with a little creativity
CSS Previous sibling selectors don’t exist, but that doesn’t mean we can’t use themIf you ever used CSS sibling selectors, you know there’s only two. The +
How to train Keras model x20 times faster with TPU for free
How to train Keras model x20 times faster with TPU for freeFor quite some while, I feel content training my model on a single GTX 1070 graphics card which
How to train your Neural Networks in parallel with Keras and Apache Spark
Apache Spark on IBM Watson StudioNow, we will finally train our Keras model using the experimental Keras2DML API. To be able to execute the following code,
How to black box test a Go app with RSpec
Automated testing is all the rage in web development these days and goes on across the whole industry. A well-written test dramatically reduces the risk of
How to write a super fast link shortener with Elixir, Phoenix, and Mnesia
How to write a super fast link shortener with Elixir, Phoenix, and MnesiaThis is our stage, though behind the scene’s is where the real action is.Let's sta
How to Scale Machine Learning Data From Scratch With Python
Tweet Share Share Google Plus Many machine learning algorithms expect data to be scaled consiste
How to Visualize Time Series Residual Forecast Errors with Python
Tweet Share Share Google Plus Forecast errors on time series regression problems are called resi
How to Automatically Generate Textual Descriptions for Photographs with Deep Learning
Tweet Share Share Google Plus Captioning an image involves generating a human readable textual d
Optimizing Disk Usage on Amazon ECS
My colleague Jay McConnell sent a nice guest post that describes how to track and optimize the disk space used in your Amazon ECS cluster. —
How To Make A Swipeable Table View Cell With Actions – Without Going Nuts With Scroll Views
Make a swipeable table view cell without going nuts with scroll views! Apple introduced a great new user interface scheme in the iOS 7 Mail app – sw
How to Limit NodeRunner.exe High Memory, CPU Usage
roc limited ecif take ref star level program setting roblem: NodeRunner.exe is consuming a lot of memory and CPU resulted in performance
How to fix yum errors on CentOS, RHEL or Fedora
http dsm list plain ... prop package cat cse Yum is a package management tool for installing, updating and removing rpm packages on Red
How to batch extend VM disk
extend; diskAdd-PSSnapin vmWARE.VimAutomation.Core$vc="vCenterHostName"connect-viserver $vc$VMinfo = get-content "c:\VMName.csv"foreach ($VM in $VMinfo){Ge
在pycharm中調試ryu應用(How to debug Ryu applications in Pycharm or other IDEs)
source deb python程序 mail log span cmd end pos 想要在IDE中使用IDE的調試功能來調試Ryu應用,可以這樣做: 新建一個python程序: 1 #!/usr/bin/env python 2 # -*- coding