How to look at the perspective of mining
if the process
magic rabbit is more practical
you can see all the processes in the process option of magic rabbit
the system process is green and marked as system process, other processes are black, and the location of the file of that process in your computer is displayed, And right click the process, there will be online check the process information, a little open, there is a very clear label, such as: whether it is a Trojan horse, whether it is an error, whether it is a background process, whether it occupies memory, whether it is a spy, and a series of instructions.
a card, that is to say, it depends on the frequency and SP
,
the better the a card, the stronger the mining.
In fact, in the stock market, there is no stock speculation technique of making a steady profit without losing money. In the stock market, we need to analyze the specific situation
there are basically retail investors in our national stock market. In this case, our shareholders are basically short-term operation. Short term operation can not pay attention to the development of the enterprise itself, as long as there is good news for the enterprise, the stock price of listed companies will fluctuate< our stock market will be more affected by policies, instead of focusing on the business development of listed companies. Under such circumstances, the judgment of high bearish and low bullish is certainly not good{ RRRRR}
changes in the stock market are in fact instantaneous. It's hard for us to grasp every opportunity. What's more, the more confident you are in yourself, the more miserable you may lose. Stock mentality is very important, we have to leave space for themselves. Can't, put all of their own pressure in the stock market inside
you can leave a message in the comment area if you have any different opinions on the skills of stock speculation
and then calculate the height of the ground (number of layers)
1. When dble starts, read the sbegindate configured by the user in rule.xml to determine the start time
2. Read the spartionday configured by the user in rule.xml to determine how many days each MySQL fragment carries data
3. Read the dateformat configured by the user in rule.xml to determine the date format of the fragment index
4, When a user accesses a table using this algorithm, the fragment index value (string) in the where clause will be extracted and converted to the Java internal time type
5. Then the difference between the fragment index value and the start time will be calculated and divided by the number of days the MySQL fragment is loaded to determine the fragment
1, Read the start time sbegindate, end time senddate configured by the user in rule.xml and the number of days of data carried by each MySQL partition. 2. According to the user's settings, a ring starting with sbegindate, one partition per sparionday until senddate is established, Connect slices in series
3. Read the default node configured by the user in rule.xml
4. During the operation of dble, when the user accesses the table using this algorithm, the fragment index value (string) in the where clause will be displayed, Then calculate the difference between the partition index value and the start date: if the partition index value is not earlier than sbegindate (even later than senddate), take the days of MySQL partition as the molus, and calculate the partition index value to get the partition; If the partition index value is earlier than sbegindate, It will be put on the default node partition
compared with the similar partition algorithm of MYCAT
middleware
dble
MYCAT
partition algorithm type date partition algorithm by date (day)
there is no difference in the use of the two middleware's mole range partition algorithm
Development Notes
[partition index] 1, Moreover, java.text.simpledateformat can be converted to java.util.date
[partition index] Based on the user specified dateformat. 2. Two modes are provided: banded mode and annular mode
[partition index]. 3. Banded mode starts with sbegindate (including), takes 86400000 milliseconds (24 hours) as a partition, and each sspartionday is a partition, Theoretically, the number of partitions can grow infinitely, but if there is data before sbegindate and no default node is set, the routing will fail (if there is a default node, route to the default node)
[partition index] 4. In the ring mode, 86400000 milliseconds (24 hours) is taken as a partition, and every sspartionday is taken as a partition, Divide the length of time from sbegindate (inclusive) to senddate (inclusive) by the length of a single partition to get a constant number of partitions. However, if the data before sbegindate appears and no default node is set, the routing will fail (if there is a default node, route to the default node).
[partition index] 5, The format string dateformat of the partition index field is specified by the user
[partition index] 6. No matter which mode, the partition is not based on the calendar time, it cannot correspond to the natural month and year, and will be affected by the leap second problem
operation and maintenance points for attention
[expansion] 1. In the ribbon mode, as the data after sbegindate appears, There is no need to rebalance the increase of the number of slices
[expansion] 2. The ribbon mode has no ability to automatically add slices, so it needs to manually add slices in advance; If the fragment calculated by the routing policy does not exist, it will lead to failure
[capacity expansion] 3. In the ring mode, if there is overlap between the new and old [sbegindate, senddate], some data needs to be migrated; If there is no overlap between the new and old [sbegindate, senddate], data rebalancing is needed
configuration notes
[configuration item] 1. In rule.xml, the configurable item is & lt; propertyname=" sBeginDate"& gt; 、 & lt; propertyname=" sPartionDay"& gt; 、 & lt; propertyname=" dateFormat"& gt; 、 & lt; propertyname=" sEndDate"& gt; And & lt; propertyname=" defaultNode"& gt;
[configuration item] 2. Configure & lt; in rule.xml; propertyname=" dateFormat"& gt;, String conforming to java.text.simpledateformat specification, used to tell dble how to parse sbegindate and senddate
[configuration item] 3. Configure & lt; in rule.xml; propertyname=" sBeginDate"& gt;, It must be a date string conforming to dateformat
[configuration item] 4. Configure & lt; in rule.xml; propertyname=" sEndDate"& gt;, It must be a date string conforming to dateformat; If the item is configured, the ring mode will be used. If the item is not configured, the band mode will be used.
[configuration item] 5; propertyname=" sPartionDay"& gt;, Non negative integer, the partition strategy takes 86400000 milliseconds (24 hours as a whole) as a partition, and spationday tells dble how many copies to put in the same partition
[configuration item] 6; propertyname=" defaultNode"& gt; Label. It is not necessary to configure an item. If this item is not configured, the partition index value of the user will not be defined in mapfile