Log information only this much I have. PFB the output of INFO
Slave:
Server redis_version:2.6.10 redis_git_sha1:00000000 redis_git_dirty:0 redis_mode:standalone os:MINGW32_Windows 7-6.1 (7601) 18 i686
Log information only this much I have. PFB the output of INFO
Slave:
Server redis_version:2.6.10 redis_git_sha1:00000000 redis_git_dirty:0 redis_mode:standalone os:MINGW32_Windows 7-6.1 (7601) 18 i686
Managing databases is no small task, and can easily be frustrating without knowing what’s happening under the covers. Whether trying to find out if new indexes are helpful, the transaction count on a database at a certain time, or who’s connected to the database at any given time, data that allows the administrators truly know how their databases are performing is king. Luckily, with PostgreSQL, that data for all of this is available in the PostgreSQL system catalog.
The PostgreSQL System Catalog is a schema with tables and views that contain metadata about all the other objects inside the database and more. With it, we can discover when various operations happen, how tables or indexes are accessed, and even whether or not the database system is reading information from memory or needing to fetch data from disk.
Here we will go over an overview of the system catalog, and highlight how to read it, and how to pull useful information from it. Some of the metadata is straightforward, and other pieces take a bit
| import java.math.BigInteger; | |
| public class Fibonacci { | |
| private int fib1(int n) { | |
| if (n == 1 || n == 2) { | |
| return 1; | |
| } | |
| int r = fib1(n - 1) + fib1(n - 2); | |
| return r; |
| public class BinarySearch { | |
| /** | |
| * Returns index of x if it is present in arr[start.. end] | |
| * @param arr | |
| * @param start | |
| * @param end | |
| * @param x | |
| * @return | |
| */ |
| import org.springframework.amqp.rabbit.annotation.EnableRabbit; | |
| import org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory; | |
| import org.springframework.amqp.rabbit.connection.ConnectionFactory; | |
| import org.springframework.amqp.support.converter.DefaultClassMapper; | |
| import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.annotation.Lazy; | |
| import org.springframework.context.annotation.Primary; | |
| import org.springframework.messaging.converter.MappingJackson2MessageConverter; |