WO2018061158A1 - Computer system and computer system control method - Google Patents

Computer system and computer system control method Download PDF

Info

Publication number
WO2018061158A1
WO2018061158A1 PCT/JP2016/078912 JP2016078912W WO2018061158A1 WO 2018061158 A1 WO2018061158 A1 WO 2018061158A1 JP 2016078912 W JP2016078912 W JP 2016078912W WO 2018061158 A1 WO2018061158 A1 WO 2018061158A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage device
data
memory
processor
computer system
Prior art date
Application number
PCT/JP2016/078912
Other languages
French (fr)
Japanese (ja)
Inventor
寛之 林
貴司 戸高
Original Assignee
株式会社日立製作所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to PCT/JP2016/078912 priority Critical patent/WO2018061158A1/en
Publication of WO2018061158A1 publication Critical patent/WO2018061158A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Definitions

  • the present invention relates to a computer system.
  • Patent Document 1 describes tiering using a memory and a disk.
  • the in-memory database periodically backs up the data in the host server memory to the storage device.
  • In-memory databases have the problem of performance degradation. For example, when data is written to the HDD during backup and the write data overflows from the storage cache, the response time is deteriorated.
  • a computer system includes a first memory, a first host processor connected to the first memory, a first upper storage device, and the first upper storage.
  • a first lower storage device having performance lower than that of the device, the first host processor, the first upper storage device, a first storage processor connected to the first lower storage device, and the first host processor
  • a first management processor connected to the first storage processor.
  • the first host processor executes the first in-memory database, writes the data in the first in-memory database to the first memory, and records the access log of the first memory.
  • the first management processor generates access information indicating data accessed in the first memory by the first in-memory database within a specific period based on the access log.
  • the first storage processor controls a first storage tier that uses the first upper storage device and the first lower storage device, and is written to the first memory within the specific period based on the access information. Is stored in the first upper storage device.
  • An outline of the operation of the computer system of this embodiment will be shown.
  • the configuration of the computer system is shown.
  • An access log table 710 is shown.
  • a memory mapping table 720 is shown.
  • a database information table 730 is shown.
  • An SLA information table 740 is shown.
  • a storage information table 750 is shown.
  • a statistical information table 760 is shown.
  • a statistical information generation process is shown. Indicates the information collection process. The main site data arrangement process is shown.
  • xxx table information may be described using the expression “xxx table”, but the information may be expressed in any data structure. That is, “xxx table” can be referred to as “xxx information” to indicate that the information does not depend on the data structure.
  • xxx information information may be described using the expression “xxx table”, but the information may be expressed in any data structure. That is, “xxx table” can be referred to as “xxx information” to indicate that the information does not depend on the data structure.
  • the configuration of each table is an example, and one table may be divided into two or more tables, or all or part of the two or more tables may be a single table. Good.
  • an ID is used as element identification information, but other types of identification information may be used instead of or in addition thereto.
  • a reference number or a common number in the reference number is used, and when a description is made by distinguishing the same type of element, the reference number of the element is used.
  • an ID assigned to the element may be used instead of the reference code.
  • an I / O (Input / Output) request is a write request or a read request, and may be referred to as an access request.
  • the process may be described using “program” as a subject.
  • the program is executed by a processor (for example, a CPU (Central Processing Unit)), so that a predetermined processing is appropriately performed. Since processing is performed using a storage resource (for example, a memory) and / or an interface device (for example, a communication port), the subject of processing may be a processor.
  • the process described with the program as the subject may be a process or system performed by a processor or an apparatus having the processor.
  • the processor may include a hardware circuit that performs a part or all of the processing.
  • the program may be installed in a computer-like device from a program source.
  • the program source may be, for example, a storage medium that can be read by a program distribution server or a computer.
  • the program distribution server may include a processor (for example, a CPU) and a storage resource, and the storage resource may further store a distribution program and a program to be distributed. Then, the processor of the program distribution server executes the distribution program, so that the processor of the program distribution server may distribute the distribution target program to other computers.
  • a processor for example, a CPU
  • the storage resource may further store a distribution program and a program to be distributed. Then, the processor of the program distribution server executes the distribution program, so that the processor of the program distribution server may distribute the distribution target program to other computers.
  • two or more programs may be realized as one program, or one program may be realized as two or more programs.
  • the management system may include one or more computers.
  • the management computer displays information (specifically, for example, the management computer displays information on its own display device, or the management computer displays display information in a remote display computer)
  • Management computer is the management system.
  • the plurality of computers may include a display computer when the display computer performs display
  • the management computer (eg, management system) may include an interface device connected to the I / O system including the display system, a storage resource (eg, memory), and a processor connected to the interface device and the storage resource.
  • the display system may be a display device included in the management computer or a display computer connected to the management computer.
  • the I / O system may be an I / O device (for example, a keyboard and a pointing device or a touch panel) included in the management computer, a display computer connected to the management computer, or another computer.
  • “Displaying display information” by the management computer means displaying the display information on the display system, which may be displaying the display information on a display device included in the management computer.
  • the management computer may transmit display information to the display computer (in the latter case, the display information is displayed by the display computer).
  • the management computer inputting / outputting information may be inputting / outputting information to / from an I / O device of the management computer, or a remote computer connected to the management computer (for example, a display) Information may be input / output to / from the computer.
  • the information output may be a display of information.
  • FIG. 1 shows an outline of the operation of the computer system of this embodiment.
  • the computer system of this embodiment includes a primary site 10 and a secondary site 20.
  • the primary site 10 includes a host server 100, a storage device 200, and a management server 400.
  • the secondary site 20 includes a host server 100, a storage device 200, and a management server 400.
  • Each storage device 200 includes a high-speed storage device 221 and a low-speed storage device 222.
  • the first problem related to performance degradation is that when data in the memory 110 of the host server 100 is backed up to the storage device 200, data write to the HDD occurs, and if the write data overflows from the storage cache, the response time deteriorates. It is to be.
  • the computer system of this embodiment can solve this problem by the following operation.
  • the host server 100 executes the DB 500, which is an instance of the in-memory database.
  • the memory 110 of the host server 100 stores a log 510 and data 520 of the DB 500.
  • the host server 100 writes the log 510 to the storage apparatus 200 each time the DB 500 commits. Further, the host server 100 transmits the data 520 written by the DB 500 to the storage apparatus 200 every time a preset data backup time interval elapses.
  • the management server 400 In the primary site 10, the management server 400 generates the statistical information 540 based on the information collected from the host server 100 and the storage device 200 every time a preset statistical information generation time interval elapses. Transmit to the storage device 200. It is desirable that the statistical information generation time interval is shorter than the data backup time interval.
  • the host server 100 performs log backup by writing the log of the DB 500 in the memory 110 to the storage device 200. Further, the host server 100 performs data backup by writing the data of the DB 500 in the memory 110 to the storage device 200.
  • the storage apparatus 200 classifies data from the host server 100 into hot data 620 and cold data 630, places the hot data 620 in the high speed storage device 221, and places the cold data 630 in the low speed storage device 222. Further, the storage apparatus 200 places the log 610 in the high-speed storage device 221.
  • the storage apparatus 200 updates the log 610 with the log 510 received from the host server 100. Based on the statistical information 640 received from the host server 100, the storage apparatus 200 determines the data received from the host server 100 as the Hot data 620, determines the other data as Cold data 630, and arranges the data To do.
  • the host server 100 executes a plurality of instances of the in-memory database, the host server 100 performs data backup at a data backup time interval for each instance.
  • the host server 100 sets a scheduled data backup time for each instance at a data backup time interval, and performs data backup of the instance at the scheduled data backup time of the instance.
  • the host server 100 of the primary site 10 periodically writes the updated data to the high-speed storage device 221. Thereby, deterioration of response time can be prevented.
  • a second problem related to performance degradation is that when data in the storage device 200 at the primary site 10 is copied to the storage device 200 at the secondary site 20 using the storage copy function as a disaster countermeasure, the secondary site 20, it is necessary to load the data in the storage apparatus 200 into the memory 110 of the host server 100, which increases RTO (recovery time objective).
  • the computer system of this embodiment can solve this problem by the following operation.
  • the storage device 200 at the primary site 10 transmits the statistical information 640 to the storage device 200 at the secondary site 20. Furthermore, the storage device 200 at the primary site 10 performs replication by transmitting the update amount of the log 610 and the update amount of the data to the storage device 200 of the secondary site 20.
  • the storage apparatus 200 determines that the data accessed (read or written) by the host server 100 of the primary site 10 is the Hot data 620 based on the statistical information 640, and the other data is Cold data 630. Is determined and data is arranged.
  • the host server 100 When failover from the primary site 10 to the secondary site 20 is performed due to a failure of the primary site 10, the host server 100 stores the log 610 and the hot data 620 stored in the high-speed storage device 221 in the secondary site 20. By loading to 110, the DB 500 is restored.
  • the host server 100 of the secondary site 20 loads the log 610 and the hot data 620 from the high-speed storage device 221 to the memory 110 at the time of recovery. Thereby, RTO can be shortened.
  • Fig. 2 shows the configuration of the computer system.
  • the primary site 10 and the secondary site 20 are connected to each other via a communication network.
  • the primary site 10 includes a host server 100 (host server # 1-1), a storage device 200 (storage device # 1), and a management server 400 (management server # 1).
  • the secondary site 20 includes a host server 100 (host server # 2-1), a storage device 200 (storage device # 2), and a management server 400 (management server # 2).
  • the host server 100, the storage device 200, and the management server 400 are connected to each other via a communication network.
  • the primary site 10 may include a plurality of host servers 100 (host servers # 1-1, # 1-2,..., # 1-N).
  • the secondary site 20 may include a plurality of host servers 100 (host servers # 2-1, # 2-2,..., # 2-N).
  • the host server 100 includes a memory 110 and a processor 120.
  • the memory 110 stores programs and data.
  • the memory 110 stores a DBMS (database management system) 111 that is a program for managing an in-memory database, and an OS 112.
  • the processor 120 performs processing according to a program stored in the memory 110.
  • the storage device 200 includes a controller 210 and a recording unit 220.
  • the controller 210 includes a memory 310 and a processor 320.
  • the memory 310 stores programs and data.
  • the memory 310 stores a hierarchy control unit 311 for controlling the hierarchy of the recording unit 220.
  • the processor 320 performs processing according to a program stored in the memory 310.
  • the recording unit 220 includes a high-speed storage device 221 and a low-speed storage device 222.
  • the access performance of the high speed storage device 221 is higher than the access performance of the low speed storage device 222.
  • the high-speed storage device 221 in the present embodiment is a flash drive (SSD: solid state drive).
  • the low-speed storage device 222 in this embodiment is an HDD (hard disk drive).
  • the tier control unit 311 assigns the high speed storage device 221 and the low speed storage device 222 to two tiers, respectively.
  • the management server 400 includes a memory 410 and a processor 420.
  • the memory 410 stores programs and data.
  • the memory 410 includes an access log collection unit 411, a memory mapping collection unit 412, a database information collection unit 413, an SLA (service level agreement) information collection unit 414, a storage information collection unit 415, and a data statistics analysis unit 416. Is stored.
  • the processor 420 performs processing according to a program stored in the memory 410.
  • each of the primary site 10 and the secondary site 20 may not include the management server 400.
  • the access log collection unit 411, the memory mapping collection unit 412, the database information collection unit 413, the SLA information collection unit 414, the storage information collection unit 415, and the data statistics analysis unit 416 are the host server 100 and It may be stored in any storage device 200 and executed. Further, the host server 100 and the storage apparatus 200 may be one computer.
  • the host server 100 sets a monitoring period (specific period) after the previous data backup time, and records an access log indicating memory access to the memory 110 within the monitoring period.
  • the access log collection unit 411 acquires an access log from the host server 100 and records the access log in the access log table 710.
  • FIG. 3 shows the access log table 710.
  • the access log table 710 has an entry for each memory access.
  • One memory access entry includes a time 711 of the memory access, an R / W 712 indicating whether the type of the memory access is Read or Write, and a physical in the memory 110 that is a target of the memory access. Address 713.
  • the host server 100 assigns a physical address in the memory 110 to a virtual address set for memory access, and records the assignment as memory mapping.
  • the memory mapping collection unit 412 acquires memory mapping from the host server 100 and records the memory mapping in the memory mapping table 720.
  • FIG. 4 shows the memory mapping table 720.
  • the memory mapping table 720 has an entry for each physical address.
  • the entry of one physical address includes a physical address 721 indicating the physical address and a virtual address 722 associated with the physical address.
  • the host server 100 records database information indicating load unit data accessed in the monitoring period in the in-memory database.
  • the load unit data is a unit of data loaded from the storage apparatus 200 to the memory 110 at the secondary site at the time of failover.
  • the load unit data may be a unit of data that is backed up from the memory 110 to the storage device 200 at the primary site.
  • the database information collection unit 413 acquires database information from the host server 100 and generates a database information table 730 based on the acquired information.
  • the database information collection unit 413 generates a database information table 730 for each instance of the in-memory database.
  • FIG. 5 shows the database information table 730.
  • the database information table 730 has an entry for each load unit data accessed during the monitoring period.
  • One load unit data entry includes a load unit 731 indicating a unit of the load unit data, a virtual address 732 of the load unit data, a disk address 733 which is an address in the storage device 200 of the load unit data,
  • the data backup scheduled time 734 which is the time when the data is written to the storage device 200, is included.
  • the load unit 731 is, for example, an identifier such as Table or Column.
  • the scheduled data backup time 734 is the next scheduled data backup time and is the end time of the current monitoring period.
  • the SLA information collection unit 414 acquires the SLA information set by the administrator for each site and each instance of the in-memory database, and generates the SLA information table 740 based on the acquired information.
  • FIG. 6 shows the SLA information table 740.
  • the SLA information table 740 has an entry for each instance of the in-memory database.
  • the entry of one instance includes an instance 741 that is an identifier of the instance, an SLA (primary) 742 that indicates the SLA set in the instance at the primary site, and an SLA ( Sub) 743.
  • the SLA is represented by a preset rank, for example. For example, the rank is expressed as Gold, Silver, Blonze in descending order of SLA.
  • the controller 210 of the storage apparatus 200 records the usage amount of the high-speed storage device 221 for each instance and the free capacity of the high-speed storage device 221 as storage information.
  • the storage information collection unit 415 acquires storage information from the storage apparatus 200 and generates a storage information table 750 based on the acquired information.
  • FIG. 7 shows the storage information table 750.
  • the storage information table 750 includes an entry for each instance.
  • the entry of one instance includes an instance 751 that is an identifier of the instance and a high-speed storage device usage amount 752 that is a usage amount of the high-speed storage device 221 by the instance.
  • the storage information table 750 further includes a free capacity entry.
  • An instance 751 of the free capacity entry indicates the free capacity.
  • the high-speed storage device usage amount 752 of the free capacity entry indicates the free capacity of the high-speed storage device 221.
  • the free capacity of the high-speed storage device 221 is a value obtained by subtracting the total of the high-speed storage device usage 752 of all instances from the free capacity of the high-speed storage device 221.
  • the data statistical analysis unit 416 acquires the access log table 710, the memory mapping table 720, the database information table 730, the SLA information table 740, and the storage information table 750, and based on the acquired information, the statistical information table 760 Is generated.
  • the data statistical analysis unit 416 classifies the acquired information for each instance, each processing type, and each disk address, and calculates an access frequency that is the number of accesses per unit time for the disk address.
  • FIG. 8 shows the statistical information table 760.
  • the statistical information table 760 has an entry for each load unit data accessed within the monitoring period.
  • One load unit data entry is set in the instance 761 which is an identifier of the instance of the load unit data, the SLA (primary) 762 which is the SLA set in the instance in the primary site, and the instance in the secondary site.
  • SLA (secondary) 763 that is the SLA, the scheduled data backup time 764 when the load unit data is written, the process 765 indicating the access type (Write or Read) of the load unit data, and the load unit It includes a disk address 766 that is an address of a storage area in the storage apparatus 200 corresponding to the data, and an access frequency 767 of the storage area.
  • the primary site management server 400 executes the statistical information generation process every time the statistical information generation time interval elapses.
  • FIG. 9 shows statistical information generation processing.
  • the management server 400 at the primary site performs information collection processing described later.
  • the data statistical analysis unit 416 of the primary site management server 400 creates the statistical information table 760.
  • the data statistical analysis unit 416 of the primary site management server 400 transmits the statistical information table 760 to the storage device 200 of the primary site.
  • the tier control unit 311 of the primary site storage apparatus 200 performs a primary site data arrangement process described below based on the statistical information table 760.
  • the DBMS 111 of the host server 100 at the primary site writes the data in the memory 110 to the storage device 200, and ends this flow.
  • the data statistical analysis unit 416 of the management server 400 at the primary site transmits the statistical information table 760 to the storage device 200 at the secondary site.
  • the tier control unit 311 of the storage device 200 at the secondary site performs a secondary site data arrangement process described later based on the statistical information table 760, and ends this flow.
  • the computer system can perform data arrangement of the storage device 200 at the primary site and data arrangement of the storage device 200 at the secondary site based on the statistical information table 760 at the primary site. it can.
  • the primary site management server 400 performs information collection processing.
  • FIG. 10 shows the information collection process.
  • the SLA information collection unit 414 acquires the SLA information of each instance and records the SLA information in the SLA information table 740.
  • the access log collection unit 411 acquires the access log of the memory 110 and records the access log in the access log table 710.
  • the memory mapping collection unit 412 acquires the memory mapping, and records the memory mapping in the memory mapping table 720.
  • the database information collection unit 413 acquires the database information and records it in the database information table 730.
  • the management server 400 can collect information indicating the state of the host server 100 at the primary site.
  • the primary site storage apparatus 200 performs primary site data arrangement processing for each instance in response to reception of the statistical information table 760 from the primary site management server 400.
  • FIG. 11 shows the primary site data placement process.
  • the tier control unit 311 of the primary site storage apparatus 200 acquires the statistical information table 760 from the management server 400.
  • the tier control unit 311 of the storage device 200 at the primary site determines whether or not there is a higher placement target instance in the statistical information table 760. For example, the hierarchy control unit 311 determines an instance having an SLA equal to or higher than a specific SLA as a higher placement target instance.
  • the hierarchy control unit 311 selects one instance among the higher-level placement target instances as the target instance, and the target in the high-speed storage device is selected from the storage information table 750 of the management server 400.
  • the instance usage and free capacity are acquired, and the sum of the usage and free capacity of the target instance is calculated as the usable capacity.
  • the hierarchy control unit 311 based on the statistical information table 760, the hierarchy control unit 311 identifies data written to the target instance within the monitoring period as target data, and calculates the target data size.
  • the hierarchy control unit 311 determines whether the usable capacity is equal to or larger than the target data size.
  • the hierarchy control unit 311 arranges the target data in the high-speed storage device 221 and arranges data other than the target data in the low-speed storage device 222, and ends this flow.
  • the hierarchy control unit 311 determines whether or not the target instance is the next write target.
  • the scheduled data backup time 764 of the target instance is the earliest among the scheduled data backup times 764 of the plurality of instances in the statistical information table 760, the hierarchy control unit 311 determines that the target instance is the next export target. judge.
  • the hierarchy control unit 311 determines whether the target data size is smaller than the total capacity of the high-speed storage device 221.
  • the hierarchy control unit 311 selects an instance other than the target instance in descending order of the scheduled data backup time 764 until the usable capacity of the target instance becomes larger than the target data size.
  • the data of the selected instance in the high-speed storage device 221 is rearranged in the low-speed storage device 222, and the process proceeds to S360 described above. Thereby, the hierarchy control unit 311 can arrange the target data of the target instance in the high-speed storage device 221.
  • the primary site host server 100 After the above-described primary site data placement processing, the primary site host server 100 performs data backup of the target instance, so that the storage device 200 at the primary site can quickly write data written to the target instance since the previous data backup. Data can be written to the storage device 221. Further, when the usable capacity of the high-speed storage device 221 is insufficient, the primary site storage apparatus 200 can preferentially write data to be backed up next to the high-speed storage device 221.
  • the secondary site storage apparatus 200 performs secondary site data placement processing in response to the reception of the statistical information table 760 from the primary site management server 400.
  • FIG. 12 shows the secondary site data placement process.
  • the hierarchy control unit 311 of the storage device 200 at the secondary site acquires and stores the statistical information table 760 from the management server 400 at the primary site.
  • the hierarchy control unit 311 calculates the load target data size, which is the total size of the load target data, for each SLA based on the statistical information table 760.
  • the load target data is data accessed (Read or Write) within the monitoring period among the load target instances.
  • the load target instance is, for example, an instance having an SLA equal to or higher than a specific SLA.
  • the hierarchy control unit 311 determines whether or not the total capacity of the high-speed storage device 221 is equal to or greater than the sum of the load target data sizes of all SLA.
  • the hierarchy control unit 311 arranges the load target data of all the SLAs in the high speed storage device 221 and arranges data other than the load target data in the low speed storage device 222. finish.
  • the hierarchy control unit 311 selects data having the total capacity of the high-speed storage device 221 in order of priority from the load target data, and stores the selected data at high speed. It arrange
  • the hierarchy control unit 311 may determine the SLA of the instance as the priority of the instance.
  • the storage device 200 at the secondary site can place the data of the instance having a high SLA in the high speed storage device 221 with priority. Further, the hierarchy control unit 311 may determine the classification of the data access frequency 767 as the priority of the data. Further, the hierarchy control unit 311 may determine the priority of data based on the SLA and the access frequency 767. Thereby, the storage device 200 at the secondary site can preferentially arrange the data in the area having a high access frequency to the high-speed storage device 221.
  • the primary site storage apparatus 200 and the secondary site storage apparatus 200 perform replication, so that the data accessed after the previous data backup in the primary site host server 100 is stored in the secondary site.
  • the host server 100 at the secondary site loads data from the high-speed storage device 221 at the time of failover, so that recovery can be speeded up and RTO can be shortened.
  • the storage device 200 at the secondary site can place the data having a high priority among the data accessed within the monitoring period with priority on the high-speed storage device 221. it can.
  • the first memory corresponds to the memory 110 etc. in the primary site 10.
  • the first host processor corresponds to the processor 120 or the like in the primary site 10.
  • the first upper storage device corresponds to the high-speed storage device 221 or the like in the primary site 10.
  • the first lower level storage device corresponds to the low speed storage device 222 or the like in the primary site 10.
  • the first storage processor corresponds to the processor 320 or the like in the primary site 10.
  • the first management processor corresponds to the processor 420 and the like in the primary site 10.
  • the first in-memory database corresponds to the in-memory database in the primary site 10 or the like.
  • the second memory corresponds to the memory 110 or the like in the secondary site 20.
  • the second host processor corresponds to the processor 120 or the like in the secondary site 20.
  • the second upper storage device corresponds to the high-speed storage device 221 or the like in the secondary site 20.
  • the second lower level storage device corresponds to the low speed storage device 222 or the like in the secondary site 20.
  • the second storage processor corresponds to the processor 320 and the like in the secondary site 20.
  • the second management processor corresponds to the processor 420 and the like in the secondary site 20.
  • the second in-memory database corresponds to the in-memory database in the secondary site 20 or the like.
  • the access log corresponds to the access log table 710 and the like.
  • the access information corresponds to the statistical information table 760, the statistical information 540, and the like.
  • the backup corresponds to a data backup or the like.

Abstract

A first host processor executes a first in-memory database to write data in the first in-memory database to a first memory and record an access log of the first memory. A first management processor generates access information indicating data accessed within a specific period by the first in-memory database in the first memory on the basis of the access log. A first storage processor controls a first storage tier that uses a first upper storing device and a first lower storing device, and disposes data written to the first memory within the specific period in the first upper storing device on the basis of the access information.

Description

計算機システムおよび計算機システム制御方法Computer system and computer system control method
 本発明は、計算機システムに関する。 The present invention relates to a computer system.
 近年、ビッグデータ/IoT(internet of things)などの新規ビジネスや、急速に変化するビジネス環境へ対応するために、リアルタイム処理への要求が高まっており、インメモリデータベースへの関心が高まっている。 Recently, in order to cope with new business such as big data / IoT (Internet of Things) and rapidly changing business environment, the demand for real-time processing is increasing, and interest in in-memory databases is increasing.
 特許文献1には、メモリとディスクを用いる階層化(tiering)が記載されている。 Patent Document 1 describes tiering using a memory and a disk.
米国特許第9189387号明細書US Pat. No. 9,189,387
 インメモリデータベースは、ホストサーバのメモリ内のデータを、定期的にストレージ装置へバックアップする。インメモリデータベースには、性能低下の問題がある。例えば、バックアップ時に、HDDへのデータの書き込みが発生し、ストレージキャッシュから書き込みデータが溢れると、レスポンスタイムが悪化することである。 The in-memory database periodically backs up the data in the host server memory to the storage device. In-memory databases have the problem of performance degradation. For example, when data is written to the HDD during backup and the write data overflows from the storage cache, the response time is deteriorated.
 上記課題を解決するために、本発明の一態様である計算機システムは、第1メモリと、前記第1メモリに接続される第1ホストプロセッサと、第1上位記憶デバイスと、前記第1上位記憶デバイスの性能より低い性能を有する第1下位記憶デバイスと、前記第1ホストプロセッサ、前記第1上位記憶デバイス、及び前記第1下位記憶デバイスに接続される第1ストレージプロセッサと、前記第1ホストプロセッサ及び前記第1ストレージプロセッサに接続される第1管理プロセッサと、を備える。前記第1ホストプロセッサは、第1インメモリデータベースを実行することで、前記第1インメモリデータベースのデータを前記第1メモリへ書き込み、前記第1メモリのアクセスログを記録する。前記第1管理プロセッサは、前記アクセスログに基づいて、前記第1メモリ内で前記第1インメモリデータベースにより特定期間内にアクセスされたデータを示すアクセス情報を生成する。前記第1ストレージプロセッサは、前記第1上位記憶デバイスと前記第1下位記憶デバイスとを用いる第1ストレージ階層を制御し、前記アクセス情報に基づいて、前記特定期間内に前記第1メモリへ書き込まれたデータを、前記第1上位記憶デバイスへ配置する。 In order to solve the above problems, a computer system according to an aspect of the present invention includes a first memory, a first host processor connected to the first memory, a first upper storage device, and the first upper storage. A first lower storage device having performance lower than that of the device, the first host processor, the first upper storage device, a first storage processor connected to the first lower storage device, and the first host processor And a first management processor connected to the first storage processor. The first host processor executes the first in-memory database, writes the data in the first in-memory database to the first memory, and records the access log of the first memory. The first management processor generates access information indicating data accessed in the first memory by the first in-memory database within a specific period based on the access log. The first storage processor controls a first storage tier that uses the first upper storage device and the first lower storage device, and is written to the first memory within the specific period based on the access information. Is stored in the first upper storage device.
 インメモリデータベースにおける性能低下を防ぐことができる。 ∙ Performance degradation in the in-memory database can be prevented.
本実施例の計算機システムの動作の概要を示す。An outline of the operation of the computer system of this embodiment will be shown. 計算機システムの構成を示す。The configuration of the computer system is shown. アクセスログテーブル710を示す。An access log table 710 is shown. メモリマッピングテーブル720を示す。A memory mapping table 720 is shown. データベース情報テーブル730を示す。A database information table 730 is shown. SLA情報テーブル740を示す。An SLA information table 740 is shown. ストレージ情報テーブル750を示す。A storage information table 750 is shown. 統計情報テーブル760を示す。A statistical information table 760 is shown. 統計情報生成処理を示す。A statistical information generation process is shown. 情報収集処理を示す。Indicates the information collection process. 正サイトデータ配置処理を示す。The main site data arrangement process is shown.
 以下、図面を参照して本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
 以下の説明では、「×××テーブル」の表現にて情報を説明することがあるが、情報は、どのようなデータ構造で表現されていてもよい。すなわち、情報がデータ構造に依存しないことを示すために、「×××テーブル」を「×××情報」と呼ぶことができる。また、以下の説明において、各テーブルの構成は一例であり、1つのテーブルは、2以上のテーブルに分割されてもよいし、2以上のテーブルの全部又は一部が1つのテーブルであってもよい。 In the following description, information may be described using the expression “xxx table”, but the information may be expressed in any data structure. That is, “xxx table” can be referred to as “xxx information” to indicate that the information does not depend on the data structure. In the following description, the configuration of each table is an example, and one table may be divided into two or more tables, or all or part of the two or more tables may be a single table. Good.
 また、以下の説明では、要素の識別情報として、IDが使用されるが、それに代えて又は加えて他種の識別情報が使用されてもよい。 In the following description, an ID is used as element identification information, but other types of identification information may be used instead of or in addition thereto.
 また、以下の説明では、同種の要素を区別しないで説明する場合には、参照符号又は参照符号における共通番号を使用し、同種の要素を区別して説明する場合は、その要素の参照符号を使用又は参照符号に代えてその要素に割り振られたIDを使用することがある。 In the following description, when a description is made without distinguishing the same type of element, a reference number or a common number in the reference number is used, and when a description is made by distinguishing the same type of element, the reference number of the element is used. Alternatively, an ID assigned to the element may be used instead of the reference code.
 また、以下の説明では、I/O(Input/Output)要求は、ライト要求又はリード要求であり、アクセス要求と呼ばれてもよい。 In the following description, an I / O (Input / Output) request is a write request or a read request, and may be referred to as an access request.
 また、以下の説明では、「プログラム」を主語として処理を説明する場合があるが、プログラムは、プロセッサ(例えばCPU(Central Processing Unit))によって実行されることで、定められた処理を、適宜に記憶資源(例えばメモリ)及び/又はインターフェースデバイス(例えば通信ポート)等を用いながら行うため、処理の主語がプロセッサとされてもよい。プログラムを主語として説明された処理は、プロセッサあるいはそのプロセッサを有する装置が行う処理又はシステムとしてもよい。また、プロセッサは、処理の一部または全部を行うハードウェア回路を含んでもよい。プログラムは、プログラムソースから計算機のような装置にインストールされてもよい。プログラムソースは、例えば、プログラム配布サーバまたは計算機が読み取り可能な記憶メディアであってもよい。プログラムソースがプログラム配布サーバの場合、プログラム配布サーバはプロセッサ(例えばCPU)と記憶資源を含み、記憶資源はさらに配布プログラムと配布対象であるプログラムとを記憶してよい。そして、プログラム配布サーバのプロセッサが配布プログラムを実行することで、プログラム配布サーバのプロセッサは配布対象のプログラムを他の計算機に配布してよい。また、以下の説明において、2以上のプログラムが1つのプログラムとして実現されてもよいし、1つのプログラムが2以上のプログラムとして実現されてもよい。 In the following description, the process may be described using “program” as a subject. However, the program is executed by a processor (for example, a CPU (Central Processing Unit)), so that a predetermined processing is appropriately performed. Since processing is performed using a storage resource (for example, a memory) and / or an interface device (for example, a communication port), the subject of processing may be a processor. The process described with the program as the subject may be a process or system performed by a processor or an apparatus having the processor. The processor may include a hardware circuit that performs a part or all of the processing. The program may be installed in a computer-like device from a program source. The program source may be, for example, a storage medium that can be read by a program distribution server or a computer. When the program source is a program distribution server, the program distribution server may include a processor (for example, a CPU) and a storage resource, and the storage resource may further store a distribution program and a program to be distributed. Then, the processor of the program distribution server executes the distribution program, so that the processor of the program distribution server may distribute the distribution target program to other computers. In the following description, two or more programs may be realized as one program, or one program may be realized as two or more programs.
 また、以下の説明では、管理システムは、一以上の計算機を含んでいてもよい。具体的には、例えば、管理計算機が情報を表示する場合(具体的には、例えば、管理計算機が自分の表示デバイスに情報を表示する、或いは、管理計算機が表示用情報を遠隔の表示用計算機に送信する場合)、管理計算機が管理システムである。また、例えば、複数の計算機で管理計算機と同等の機能が実現されている場合は、当該複数の計算機(表示を表示用計算機が行う場合は表示用計算機を含んでよい)が、管理システムである。管理計算機(例えば管理システム)は、表示システムを含むI/Oシステムに接続されたインタフェースデバイスと、記憶資源(例えばメモリ)と、インタフェースデバイス及び記憶資源に接続されたプロセッサとを有してよい。表示システムは、管理計算機が有する表示デバイスでもよいし、管理計算機に接続された表示用計算機でもよい。I/Oシステムは、管理計算機が有するI/Oデバイス(例えばキーボード及びポインティングデバイス、タッチパネル)でもよいし、管理計算機に接続された表示用計算機又は別の計算機でもよい。管理計算機が「表示用情報を表示する」ことは、表示システムに表示用情報を表示することであり、これは、管理計算機が有する表示デバイスに表示用情報を表示することであってもよいし、管理計算機が表示用計算機に表示用情報を送信することであってもよい(後者の場合は表示用計算機によって表示用情報が表示される)。また、管理計算機が情報を入出力するとは、管理計算機が有するI/Oデバイスとの間で情報の入出力を行うことであってもよいし、管理計算機に接続された遠隔の計算機(例えば表示用計算機)との間で情報の入出力を行うことであってもよい。情報の出力は、情報の表示であってもよい。 In the following description, the management system may include one or more computers. Specifically, for example, when the management computer displays information (specifically, for example, the management computer displays information on its own display device, or the management computer displays display information in a remote display computer) Management computer is the management system. For example, when a function equivalent to that of the management computer is realized by a plurality of computers, the plurality of computers (may include a display computer when the display computer performs display) is the management system. . The management computer (eg, management system) may include an interface device connected to the I / O system including the display system, a storage resource (eg, memory), and a processor connected to the interface device and the storage resource. The display system may be a display device included in the management computer or a display computer connected to the management computer. The I / O system may be an I / O device (for example, a keyboard and a pointing device or a touch panel) included in the management computer, a display computer connected to the management computer, or another computer. “Displaying display information” by the management computer means displaying the display information on the display system, which may be displaying the display information on a display device included in the management computer. The management computer may transmit display information to the display computer (in the latter case, the display information is displayed by the display computer). The management computer inputting / outputting information may be inputting / outputting information to / from an I / O device of the management computer, or a remote computer connected to the management computer (for example, a display) Information may be input / output to / from the computer. The information output may be a display of information.
 図1は、本実施例の計算機システムの動作の概要を示す。 FIG. 1 shows an outline of the operation of the computer system of this embodiment.
 本実施例の計算機システムは、正サイト10と副サイト20とを含む。正サイト10は、ホストサーバ100とストレージ装置200と管理サーバ400とを含む。副サイト20は、ホストサーバ100とストレージ装置200と管理サーバ400とを含む。各ストレージ装置200は、高速記憶デバイス221と低速記憶デバイス222とを含む。 The computer system of this embodiment includes a primary site 10 and a secondary site 20. The primary site 10 includes a host server 100, a storage device 200, and a management server 400. The secondary site 20 includes a host server 100, a storage device 200, and a management server 400. Each storage device 200 includes a high-speed storage device 221 and a low-speed storage device 222.
 性能低下に関わる第1の問題は、ホストサーバ100のメモリ110のデータをストレージ装置200へバックアップする時に、HDDへのデータの書き込みが発生し、ストレージキャッシュから書き込みデータが溢れると、レスポンスタイムが悪化することである。本実施例の計算機システムは、次の動作によりこの問題を解決することができる。 The first problem related to performance degradation is that when data in the memory 110 of the host server 100 is backed up to the storage device 200, data write to the HDD occurs, and if the write data overflows from the storage cache, the response time deteriorates. It is to be. The computer system of this embodiment can solve this problem by the following operation.
 正サイト10において、ホストサーバ100は、インメモリデータベースのインスタンスであるDB500を実行する。ホストサーバ100のメモリ110には、DB500のログ510およびデータ520が格納されている。ホストサーバ100は、DB500がコミットを行う度に、ログ510を、ストレージ装置200へ書き込む。更にホストサーバ100は、DB500により書き込まれたデータ520を、予め設定されたデータバックアップ時間間隔が経過する度にストレージ装置200へ送信する。 In the primary site 10, the host server 100 executes the DB 500, which is an instance of the in-memory database. The memory 110 of the host server 100 stores a log 510 and data 520 of the DB 500. The host server 100 writes the log 510 to the storage apparatus 200 each time the DB 500 commits. Further, the host server 100 transmits the data 520 written by the DB 500 to the storage apparatus 200 every time a preset data backup time interval elapses.
 正サイト10において、管理サーバ400は、予め設定された統計情報生成時間間隔が経過する度に、ホストサーバ100およびストレージ装置200から収集した情報に基づいて統計情報540を生成し、統計情報540をストレージ装置200へ送信する。統計情報生成時間間隔は、データバックアップ時間間隔より短いことが望ましい。 In the primary site 10, the management server 400 generates the statistical information 540 based on the information collected from the host server 100 and the storage device 200 every time a preset statistical information generation time interval elapses. Transmit to the storage device 200. It is desirable that the statistical information generation time interval is shorter than the data backup time interval.
 正サイト10において、ホストサーバ100は、メモリ110内のDB500のログをストレージ装置200へ書き込む、ログバックアップを行う。更に、ホストサーバ100は、メモリ110内のDB500のデータをストレージ装置200へ書き込む、データバックアップを行う。ストレージ装置200は、ホストサーバ100からのデータを、Hotデータ620とColdデータ630に分類し、Hotデータ620を高速記憶デバイス221に配置し、Coldデータ630を低速記憶デバイス222へ配置する。また、ストレージ装置200は、ログ610を高速記憶デバイス221へ配置する。 At the primary site 10, the host server 100 performs log backup by writing the log of the DB 500 in the memory 110 to the storage device 200. Further, the host server 100 performs data backup by writing the data of the DB 500 in the memory 110 to the storage device 200. The storage apparatus 200 classifies data from the host server 100 into hot data 620 and cold data 630, places the hot data 620 in the high speed storage device 221, and places the cold data 630 in the low speed storage device 222. Further, the storage apparatus 200 places the log 610 in the high-speed storage device 221.
 正サイト10において、ストレージ装置200は、ホストサーバ100から受信されたログ510によりログ610を更新する。ストレージ装置200は、ホストサーバ100から受信された統計情報640に基づいて、ホストサーバ100から受信されたデータをHotデータ620と判定し、それ以外のデータをColdデータ630と判定し、データを配置する。 At the primary site 10, the storage apparatus 200 updates the log 610 with the log 510 received from the host server 100. Based on the statistical information 640 received from the host server 100, the storage apparatus 200 determines the data received from the host server 100 as the Hot data 620, determines the other data as Cold data 630, and arranges the data To do.
 ホストサーバ100は、インメモリデータベースの複数のインスタンスを実行する場合、インスタンス毎に、データバックアップ時間間隔でデータバックアップを行う。ホストサーバ100は、インスタンス毎に、データバックアップ時間間隔でデータバックアップ予定時刻を設定し、インスタンスのデータバックアップ予定時刻に、当該インスタンスのデータバックアップを行う。 When the host server 100 executes a plurality of instances of the in-memory database, the host server 100 performs data backup at a data backup time interval for each instance. The host server 100 sets a scheduled data backup time for each instance at a data backup time interval, and performs data backup of the instance at the scheduled data backup time of the instance.
 以上の動作により、正サイト10のホストサーバ100は、更新されたデータを、定期的に高速記憶デバイス221へ書き込む。これにより、レスポンスタイムの悪化を防ぐことができる。 Through the above operation, the host server 100 of the primary site 10 periodically writes the updated data to the high-speed storage device 221. Thereby, deterioration of response time can be prevented.
 性能低下に関わる第2の問題は、災害対策としてストレージコピー機能を用いて、正サイト10のストレージ装置200内のデータを副サイト20のストレージ装置200へコピーする場合に、システム復旧時、副サイト20においてストレージ装置200内のデータをホストサーバ100のメモリ110へロードすることが必要となり、RTO(recovery time objective)が増大することである。本実施例の計算機システムは、次の動作によりこの問題を解決することができる。 A second problem related to performance degradation is that when data in the storage device 200 at the primary site 10 is copied to the storage device 200 at the secondary site 20 using the storage copy function as a disaster countermeasure, the secondary site 20, it is necessary to load the data in the storage apparatus 200 into the memory 110 of the host server 100, which increases RTO (recovery time objective). The computer system of this embodiment can solve this problem by the following operation.
 正サイト10のストレージ装置200は、統計情報640を副サイト20のストレージ装置200へ送信する。更に、正サイト10のストレージ装置200は、ログ610の更新分と、データの更新分を副サイト20のストレージ装置200へ送信する、レプリケーションを行う。 The storage device 200 at the primary site 10 transmits the statistical information 640 to the storage device 200 at the secondary site 20. Furthermore, the storage device 200 at the primary site 10 performs replication by transmitting the update amount of the log 610 and the update amount of the data to the storage device 200 of the secondary site 20.
 副サイト20において、ストレージ装置200は、統計情報640に基づいて、正サイト10のホストサーバ100によりアクセス(リードまたはライト)されたデータをHotデータ620と判定し、それ以外のデータをColdデータ630と判定し、データを配置する。 In the secondary site 20, the storage apparatus 200 determines that the data accessed (read or written) by the host server 100 of the primary site 10 is the Hot data 620 based on the statistical information 640, and the other data is Cold data 630. Is determined and data is arranged.
 正サイト10の障害により、正サイト10から副サイト20へのフェイルオーバが行われる場合、副サイト20において、ホストサーバ100は、高速記憶デバイス221に格納されているログ610およびHotデータ620を、メモリ110へロードすることにより、DB500を復旧させる。 When failover from the primary site 10 to the secondary site 20 is performed due to a failure of the primary site 10, the host server 100 stores the log 610 and the hot data 620 stored in the high-speed storage device 221 in the secondary site 20. By loading to 110, the DB 500 is restored.
 以上の動作により、復旧時に、副サイト20のホストサーバ100は、高速記憶デバイス221からログ610およびHotデータ620を、メモリ110へロードする。これにより、RTOを短縮することができる。 By the above operation, the host server 100 of the secondary site 20 loads the log 610 and the hot data 620 from the high-speed storage device 221 to the memory 110 at the time of recovery. Thereby, RTO can be shortened.
 図2は、計算機システムの構成を示す。 Fig. 2 shows the configuration of the computer system.
 正サイト10と副サイト20は、通信ネットワークを介して互いに接続されている。正サイト10は、ホストサーバ100(ホストサーバ#1-1)と、ストレージ装置200(ストレージ装置#1)と、管理サーバ400(管理サーバ#1)とを含む。副サイト20は、正サイト10と同様、ホストサーバ100(ホストサーバ#2-1)と、ストレージ装置200(ストレージ装置#2)と、管理サーバ400(管理サーバ#2)とを含む。ホストサーバ100と、ストレージ装置200と、管理サーバ400とは、通信ネットワークを介して互いに接続されている。正サイト10は、複数のホストサーバ100(ホストサーバ#1-1、#1-2、…、#1-N)を含んでいてもよい。副サイト20は、複数のホストサーバ100(ホストサーバ#2-1、#2-2、…、#2-N)を含んでいてもよい。 The primary site 10 and the secondary site 20 are connected to each other via a communication network. The primary site 10 includes a host server 100 (host server # 1-1), a storage device 200 (storage device # 1), and a management server 400 (management server # 1). Similar to the primary site 10, the secondary site 20 includes a host server 100 (host server # 2-1), a storage device 200 (storage device # 2), and a management server 400 (management server # 2). The host server 100, the storage device 200, and the management server 400 are connected to each other via a communication network. The primary site 10 may include a plurality of host servers 100 (host servers # 1-1, # 1-2,..., # 1-N). The secondary site 20 may include a plurality of host servers 100 (host servers # 2-1, # 2-2,..., # 2-N).
 ホストサーバ100は、メモリ110とプロセッサ120とを含む。メモリ110は、プログラムおよびデータを格納する。メモリ110は、インメモリデータベースを管理するためのプログラムであるDBMS(database management system)111と、OS112とを格納する。プロセッサ120は、メモリ110に格納されたプログラムに従って処理を行う。 The host server 100 includes a memory 110 and a processor 120. The memory 110 stores programs and data. The memory 110 stores a DBMS (database management system) 111 that is a program for managing an in-memory database, and an OS 112. The processor 120 performs processing according to a program stored in the memory 110.
 ストレージ装置200は、コントローラ210と、記録部220とを含む。 The storage device 200 includes a controller 210 and a recording unit 220.
 コントローラ210は、メモリ310と、プロセッサ320とを含む。メモリ310は、プログラムおよびデータを格納する。メモリ310は、記録部220の階層を制御するための階層制御部311を格納する。プロセッサ320は、メモリ310に格納されたプログラムに従って処理を行う。 The controller 210 includes a memory 310 and a processor 320. The memory 310 stores programs and data. The memory 310 stores a hierarchy control unit 311 for controlling the hierarchy of the recording unit 220. The processor 320 performs processing according to a program stored in the memory 310.
 記録部220は、高速記憶デバイス221と、低速記憶デバイス222とを含む。高速記憶デバイス221のアクセス性能は、低速記憶デバイス222のアクセス性能よりも高い。本実施例における高速記憶デバイス221は、フラッシュドライブ(SSD:solid state drive)である。本実施例における低速記憶デバイス222は、HDD(hard disk drive)である。階層制御部311は、高速記憶デバイス221と低速記憶デバイス222を二つの階層に夫々割り当てる。 The recording unit 220 includes a high-speed storage device 221 and a low-speed storage device 222. The access performance of the high speed storage device 221 is higher than the access performance of the low speed storage device 222. The high-speed storage device 221 in the present embodiment is a flash drive (SSD: solid state drive). The low-speed storage device 222 in this embodiment is an HDD (hard disk drive). The tier control unit 311 assigns the high speed storage device 221 and the low speed storage device 222 to two tiers, respectively.
 管理サーバ400は、メモリ410と、プロセッサ420とを含む。メモリ410は、プログラムおよびデータを格納する。メモリ410は、アクセスログ収集部411と、メモリマッピング収集部412と、データベース情報収集部413と、SLA(service level agreement)情報収集部414と、ストレージ情報収集部415と、データ統計分析部416とを格納する。プロセッサ420は、メモリ410に格納されたプログラムに従って処理を行う。 The management server 400 includes a memory 410 and a processor 420. The memory 410 stores programs and data. The memory 410 includes an access log collection unit 411, a memory mapping collection unit 412, a database information collection unit 413, an SLA (service level agreement) information collection unit 414, a storage information collection unit 415, and a data statistics analysis unit 416. Is stored. The processor 420 performs processing according to a program stored in the memory 410.
 なお、正サイト10および副サイト20の夫々は、管理サーバ400を含まなくてもよい。この場合、アクセスログ収集部411と、メモリマッピング収集部412と、データベース情報収集部413と、SLA情報収集部414と、ストレージ情報収集部415と、データ統計分析部416とは、ホストサーバ100とストレージ装置200の何れかに格納され実行されてもよい。また、ホストサーバ100とストレージ装置200が一つの計算機であってもよい。 Note that each of the primary site 10 and the secondary site 20 may not include the management server 400. In this case, the access log collection unit 411, the memory mapping collection unit 412, the database information collection unit 413, the SLA information collection unit 414, the storage information collection unit 415, and the data statistics analysis unit 416 are the host server 100 and It may be stored in any storage device 200 and executed. Further, the host server 100 and the storage apparatus 200 may be one computer.
 以下、管理サーバ400により生成される情報について説明する。 Hereinafter, information generated by the management server 400 will be described.
 ホストサーバ100は、前回のデータバックアップ時刻より後を監視期間(特定期間)とし、監視期間内のメモリ110へのメモリアクセスを示すアクセスログを記録する。アクセスログ収集部411は、アクセスログテーブル710は、ホストサーバ100からアクセスログを取得し、アクセスログをアクセスログテーブル710へ記録する。 The host server 100 sets a monitoring period (specific period) after the previous data backup time, and records an access log indicating memory access to the memory 110 within the monitoring period. The access log collection unit 411 acquires an access log from the host server 100 and records the access log in the access log table 710.
 図3は、アクセスログテーブル710を示す。 FIG. 3 shows the access log table 710.
 アクセスログテーブル710は、メモリアクセス毎のエントリを有する。一つのメモリアクセスのエントリは、当該メモリアクセスの時刻711と、当該メモリアクセスの種別がReadであるかWriteであるかを示すR/W712と、当該メモリアクセスの対象である、メモリ110内の物理アドレス713とを含む。 The access log table 710 has an entry for each memory access. One memory access entry includes a time 711 of the memory access, an R / W 712 indicating whether the type of the memory access is Read or Write, and a physical in the memory 110 that is a target of the memory access. Address 713.
 ホストサーバ100は、メモリアクセスのために設定される仮想アドレスに、メモリ110内の物理アドレスを割り当て、その割り当てをメモリマッピングとして記録する。メモリマッピング収集部412は、ホストサーバ100からメモリマッピングを取得し、メモリマッピングをメモリマッピングテーブル720へ記録する。 The host server 100 assigns a physical address in the memory 110 to a virtual address set for memory access, and records the assignment as memory mapping. The memory mapping collection unit 412 acquires memory mapping from the host server 100 and records the memory mapping in the memory mapping table 720.
 図4は、メモリマッピングテーブル720を示す。 FIG. 4 shows the memory mapping table 720.
 メモリマッピングテーブル720は、物理アドレス毎のエントリを有する。一つの物理アドレスのエントリは、当該物理アドレスを示す物理アドレス721と、当該物理アドレスに関連付けられた仮想アドレス722とを含む。 The memory mapping table 720 has an entry for each physical address. The entry of one physical address includes a physical address 721 indicating the physical address and a virtual address 722 associated with the physical address.
 ホストサーバ100は、インメモリデータベースにおいて監視期間内にアクセスされたロード単位データを示すデータベース情報を記録する。ロード単位データは、フェイルオーバ時、副サイトにおいてストレージ装置200からメモリ110へロードされるデータの単位である。ロード単位データは、正サイトにおいてメモリ110からストレージ装置200へデータバックアップされるデータの単位であってもよい。データベース情報収集部413は、ホストサーバ100からデータベース情報を取得し、取得された情報に基づいてデータベース情報テーブル730を生成する。データベース情報収集部413は、インメモリデータベースのインスタンス毎に、データベース情報テーブル730を生成する。 The host server 100 records database information indicating load unit data accessed in the monitoring period in the in-memory database. The load unit data is a unit of data loaded from the storage apparatus 200 to the memory 110 at the secondary site at the time of failover. The load unit data may be a unit of data that is backed up from the memory 110 to the storage device 200 at the primary site. The database information collection unit 413 acquires database information from the host server 100 and generates a database information table 730 based on the acquired information. The database information collection unit 413 generates a database information table 730 for each instance of the in-memory database.
 図5は、データベース情報テーブル730を示す。 FIG. 5 shows the database information table 730.
 データベース情報テーブル730は、監視期間内にアクセスされたロード単位データ毎のエントリを有する。一つのロード単位データのエントリは、当該ロード単位データの単位を示すロード単位731と、当該ロード単位データの仮想アドレス732と、当該ロード単位データのストレージ装置200内のアドレスであるディスクアドレス733と、当該ロード単位データがWriteされた場合に、当該データをストレージ装置200へ書き込む時刻である、データバックアップ予定時刻734とを含む。 The database information table 730 has an entry for each load unit data accessed during the monitoring period. One load unit data entry includes a load unit 731 indicating a unit of the load unit data, a virtual address 732 of the load unit data, a disk address 733 which is an address in the storage device 200 of the load unit data, When the load unit data is written, the data backup scheduled time 734, which is the time when the data is written to the storage device 200, is included.
 ロード単位731は例えば、TableやColumn等の識別子である。データバックアップ予定時刻734は、次に予定されているデータバックアップの時刻であり、現在の監視期間の終了時刻である。 The load unit 731 is, for example, an identifier such as Table or Column. The scheduled data backup time 734 is the next scheduled data backup time and is the end time of the current monitoring period.
 SLA情報収集部414は、サイト毎、インメモリデータベースのインスタンス毎に、管理者により設定されたSLA情報を取得し、取得された情報に基づいてSLA情報テーブル740を生成する。 The SLA information collection unit 414 acquires the SLA information set by the administrator for each site and each instance of the in-memory database, and generates the SLA information table 740 based on the acquired information.
 図6は、SLA情報テーブル740を示す。 FIG. 6 shows the SLA information table 740.
 SLA情報テーブル740は、インメモリデータベースのインスタンス毎のエントリを有する。一つのインスタンスのエントリは、当該インスタンスの識別子であるインスタンス741と、正サイトの当該インスタンスに設定されたSLAを示すSLA(正)742と、副サイトの当該インスタンスに設定されたSLAを示すSLA(副)743とを含む。SLAは例えば、予め設定されたランクで表される。ランクは例えば、SLAが高いものから順に、Gold、Silver、Blonzeと表される。 The SLA information table 740 has an entry for each instance of the in-memory database. The entry of one instance includes an instance 741 that is an identifier of the instance, an SLA (primary) 742 that indicates the SLA set in the instance at the primary site, and an SLA ( Sub) 743. The SLA is represented by a preset rank, for example. For example, the rank is expressed as Gold, Silver, Blonze in descending order of SLA.
 ストレージ装置200のコントローラ210は、インスタンス毎の高速記憶デバイス221の使用量と、高速記憶デバイス221の空き容量とを、ストレージ情報として記録する。ストレージ情報収集部415は、ストレージ装置200からストレージ情報を取得し、取得された情報に基づいてストレージ情報テーブル750を生成する。 The controller 210 of the storage apparatus 200 records the usage amount of the high-speed storage device 221 for each instance and the free capacity of the high-speed storage device 221 as storage information. The storage information collection unit 415 acquires storage information from the storage apparatus 200 and generates a storage information table 750 based on the acquired information.
 図7は、ストレージ情報テーブル750を示す。 FIG. 7 shows the storage information table 750.
 ストレージ情報テーブル750は、インスタンス毎のエントリを含む。一つのインスタンスのエントリは、当該インスタンスの識別子であるインスタンス751と、当該インスタンスによる高速記憶デバイス221の使用量である高速記憶デバイス使用量752とを含む。ストレージ情報テーブル750は更に、空き容量のエントリを含む。空き容量のエントリのインスタンス751は、空き容量を示す。空き容量のエントリの高速記憶デバイス使用量752は、高速記憶デバイス221の空き容量を示す。高速記憶デバイス221の空き容量は、高速記憶デバイス221の空き容量から、全インスタンスの高速記憶デバイス使用量752の合計を減じた値である。 The storage information table 750 includes an entry for each instance. The entry of one instance includes an instance 751 that is an identifier of the instance and a high-speed storage device usage amount 752 that is a usage amount of the high-speed storage device 221 by the instance. The storage information table 750 further includes a free capacity entry. An instance 751 of the free capacity entry indicates the free capacity. The high-speed storage device usage amount 752 of the free capacity entry indicates the free capacity of the high-speed storage device 221. The free capacity of the high-speed storage device 221 is a value obtained by subtracting the total of the high-speed storage device usage 752 of all instances from the free capacity of the high-speed storage device 221.
 データ統計分析部416は、アクセスログテーブル710と、メモリマッピングテーブル720と、データベース情報テーブル730と、SLA情報テーブル740と、ストレージ情報テーブル750と取得し、取得された情報に基づいて統計情報テーブル760を生成する。ここで、データ統計分析部416は、取得された情報を、インスタンス毎、処理の種別毎、ディスクアドレス毎に分類し、当該ディスクアドレスに対する単位時間当たりのアクセス回数であるアクセス頻度を算出する。 The data statistical analysis unit 416 acquires the access log table 710, the memory mapping table 720, the database information table 730, the SLA information table 740, and the storage information table 750, and based on the acquired information, the statistical information table 760 Is generated. Here, the data statistical analysis unit 416 classifies the acquired information for each instance, each processing type, and each disk address, and calculates an access frequency that is the number of accesses per unit time for the disk address.
 図8は、統計情報テーブル760を示す。 FIG. 8 shows the statistical information table 760.
 統計情報テーブル760は、監視期間内にアクセスされたロード単位データ毎のエントリを有する。一つのロード単位データのエントリは、当該ロード単位データのインスタンスの識別子であるインスタンス761と、正サイトの当該インスタンスに設定されたSLAであるSLA(正)762と、副サイトの当該インスタンスに設定されたSLAであるSLA(副)763と、当該ロード単位データがWriteされた場合のデータバックアップ予定時刻764と、当該ロード単位データのアクセスの種別(WriteまたはRead)を示す処理765と、当該ロード単位データに対応するストレージ装置200内の記憶領域のアドレスであるディスクアドレス766と、当該記憶領域のアクセス頻度767とを含む。 The statistical information table 760 has an entry for each load unit data accessed within the monitoring period. One load unit data entry is set in the instance 761 which is an identifier of the instance of the load unit data, the SLA (primary) 762 which is the SLA set in the instance in the primary site, and the instance in the secondary site. SLA (secondary) 763 that is the SLA, the scheduled data backup time 764 when the load unit data is written, the process 765 indicating the access type (Write or Read) of the load unit data, and the load unit It includes a disk address 766 that is an address of a storage area in the storage apparatus 200 corresponding to the data, and an access frequency 767 of the storage area.
 以下、計算機システムの動作の詳細について説明する。 The details of the operation of the computer system will be described below.
 正サイトの管理サーバ400は、統計情報生成時間間隔が経過する度に、統計情報生成処理を実行する。 The primary site management server 400 executes the statistical information generation process every time the statistical information generation time interval elapses.
 図9は、統計情報生成処理を示す。 FIG. 9 shows statistical information generation processing.
 S110において正サイトの管理サーバ400は、後述の情報収集処理を行う。 In S110, the management server 400 at the primary site performs information collection processing described later.
 S120において正サイトの管理サーバ400のデータ統計分析部416は、統計情報テーブル760を作成する。 In S120, the data statistical analysis unit 416 of the primary site management server 400 creates the statistical information table 760.
 S130において正サイトの管理サーバ400のデータ統計分析部416は、統計情報テーブル760を、正サイトのストレージ装置200へ送信する。 In S130, the data statistical analysis unit 416 of the primary site management server 400 transmits the statistical information table 760 to the storage device 200 of the primary site.
 S140において正サイトのストレージ装置200の階層制御部311は、統計情報テーブル760に基づいて、後述の正サイトデータ配置処理を行う。 In S140, the tier control unit 311 of the primary site storage apparatus 200 performs a primary site data arrangement process described below based on the statistical information table 760.
 S150において正サイトのホストサーバ100のDBMS111は、メモリ110内のデータをストレージ装置200へ書き込み、このフローを終了する。 In S150, the DBMS 111 of the host server 100 at the primary site writes the data in the memory 110 to the storage device 200, and ends this flow.
 S130の後、S160において正サイトの管理サーバ400のデータ統計分析部416は、統計情報テーブル760を、副サイトのストレージ装置200へ送信する。 After S130, in S160, the data statistical analysis unit 416 of the management server 400 at the primary site transmits the statistical information table 760 to the storage device 200 at the secondary site.
 S170において副サイトのストレージ装置200の階層制御部311は、統計情報テーブル760に基づいて、後述の副サイトデータ配置処理を行い、このフローを終了する。 In S170, the tier control unit 311 of the storage device 200 at the secondary site performs a secondary site data arrangement process described later based on the statistical information table 760, and ends this flow.
 以上の統計情報生成処理によれば、計算機システムは、正サイトの統計情報テーブル760に基づいて、正サイトのストレージ装置200のデータ配置と、副サイトのストレージ装置200のデータ配置とを行うことができる。 According to the statistical information generation processing described above, the computer system can perform data arrangement of the storage device 200 at the primary site and data arrangement of the storage device 200 at the secondary site based on the statistical information table 760 at the primary site. it can.
 前述のS110において正サイトの管理サーバ400は、情報収集処理を行う。 In S110 described above, the primary site management server 400 performs information collection processing.
 図10は、情報収集処理を示す。 FIG. 10 shows the information collection process.
 S210においてSLA情報収集部414は、各インスタンスのSLA情報を取得し、SLA情報をSLA情報テーブル740へ記録する。S220においてアクセスログ収集部411は、メモリ110のアクセスログを取得し、アクセスログをアクセスログテーブル710へ記録する。S230においてメモリマッピング収集部412は、メモリマッピングを取得し、メモリマッピングをメモリマッピングテーブル720へ記録する。S240においてデータベース情報収集部413は、データベース情報を取得し、データベース情報テーブル730へ記録する。 In S210, the SLA information collection unit 414 acquires the SLA information of each instance and records the SLA information in the SLA information table 740. In S220, the access log collection unit 411 acquires the access log of the memory 110 and records the access log in the access log table 710. In S230, the memory mapping collection unit 412 acquires the memory mapping, and records the memory mapping in the memory mapping table 720. In S240, the database information collection unit 413 acquires the database information and records it in the database information table 730.
 以上の情報収集処理によれば、正サイトにおいて、管理サーバ400はホストサーバ100の状態を示す情報を収集することができる。 According to the above information collection processing, the management server 400 can collect information indicating the state of the host server 100 at the primary site.
 前述のS140において正サイトのストレージ装置200は、正サイトの管理サーバ400からの統計情報テーブル760の受信に応じて、インスタンス毎に正サイトデータ配置処理を行う。 In S140 described above, the primary site storage apparatus 200 performs primary site data arrangement processing for each instance in response to reception of the statistical information table 760 from the primary site management server 400.
 図11は、正サイトデータ配置処理を示す。 FIG. 11 shows the primary site data placement process.
 S310において正サイトのストレージ装置200の階層制御部311は、管理サーバ400から統計情報テーブル760を取得する。 In S310, the tier control unit 311 of the primary site storage apparatus 200 acquires the statistical information table 760 from the management server 400.
 S320において正サイトのストレージ装置200の階層制御部311は、統計情報テーブル760に上位配置対象インスタンスがあるか否かを判定する。例えば、階層制御部311は、特定のSLA以上のSLAを有するインスタンスを上位配置対象インスタンスと判定する。 In S320, the tier control unit 311 of the storage device 200 at the primary site determines whether or not there is a higher placement target instance in the statistical information table 760. For example, the hierarchy control unit 311 determines an instance having an SLA equal to or higher than a specific SLA as a higher placement target instance.
 S320の結果がNoである場合、階層制御部311は、このフローを終了する。 If the result of S320 is No, the hierarchy control unit 311 ends this flow.
 S320の結果がYesである場合、S330において階層制御部311は、上位配置対象インスタンスのうち、一つのインスタンスを対象インスタンスとして選択し、管理サーバ400のストレージ情報テーブル750から、高速記憶デバイスにおける、対象インスタンスの使用量と空き容量とを取得し、対象インスタンスの使用量と空き容量の合計を、使用可能容量として算出する。 If the result of S320 is Yes, in S330, the hierarchy control unit 311 selects one instance among the higher-level placement target instances as the target instance, and the target in the high-speed storage device is selected from the storage information table 750 of the management server 400. The instance usage and free capacity are acquired, and the sum of the usage and free capacity of the target instance is calculated as the usable capacity.
 S340において階層制御部311は、統計情報テーブル760に基づいて、監視期間内に対象インスタンスへ書き込まれたデータを対象データとして特定し、対象データサイズを算出する。 In S340, based on the statistical information table 760, the hierarchy control unit 311 identifies data written to the target instance within the monitoring period as target data, and calculates the target data size.
 S350において階層制御部311は、使用可能容量が対象データサイズ以上であるか否かを判定する。 In S350, the hierarchy control unit 311 determines whether the usable capacity is equal to or larger than the target data size.
 S350の結果がYesである場合、S360において階層制御部311は、対象データを高速記憶デバイス221へ配置し、対象データ以外のデータを低速記憶デバイス222へ配置し、このフローを終了する。 If the result of S350 is Yes, in S360, the hierarchy control unit 311 arranges the target data in the high-speed storage device 221 and arranges data other than the target data in the low-speed storage device 222, and ends this flow.
 S350の結果がNoである場合、S410において階層制御部311は、対象インスタンスが次の書き出し対象であるか否かを判定する。ここで、階層制御部311は、統計情報テーブル760における複数のインスタンスのデータバックアップ予定時刻764の中で、対象インスタンスのデータバックアップ予定時刻764が最も早い場合、対象インスタンスが次の書き出し対象であると判定する。 If the result of S350 is No, in S410, the hierarchy control unit 311 determines whether or not the target instance is the next write target. Here, when the scheduled data backup time 764 of the target instance is the earliest among the scheduled data backup times 764 of the plurality of instances in the statistical information table 760, the hierarchy control unit 311 determines that the target instance is the next export target. judge.
 S410の結果がNoである場合、S440において階層制御部311は、データの配置を実行せず、このフローを終了する。 When the result of S410 is No, in S440, the hierarchy control unit 311 does not perform data arrangement and ends this flow.
 S410の結果がYesである場合、S420において階層制御部311は、対象データサイズが高速記憶デバイス221の総容量よりも小さいか否かを判定する。 If the result of S410 is Yes, in S420, the hierarchy control unit 311 determines whether the target data size is smaller than the total capacity of the high-speed storage device 221.
 S420の結果がNoである場合、S440において階層制御部311は、データの配置を実行せず、このフローを終了する。 If the result of S420 is No, in S440, the hierarchy control unit 311 does not execute data arrangement and ends this flow.
 S420の結果がYesである場合、S430において階層制御部311は、対象インスタンスの使用可能容量が対象データサイズよりも大きくなるまで、データバックアップ予定時刻764が遅い順に、対象インスタンス以外のインスタンスを選択し、高速記憶デバイス221のうち、選択されたインスタンスのデータを低速記憶デバイス222へ再配置し、処理を前述のS360へ移行させる。これにより、階層制御部311は、対象インスタンスの対象データを高速記憶デバイス221へ配置することができる。 If the result of S420 is Yes, in S430, the hierarchy control unit 311 selects an instance other than the target instance in descending order of the scheduled data backup time 764 until the usable capacity of the target instance becomes larger than the target data size. The data of the selected instance in the high-speed storage device 221 is rearranged in the low-speed storage device 222, and the process proceeds to S360 described above. Thereby, the hierarchy control unit 311 can arrange the target data of the target instance in the high-speed storage device 221.
 以上の正サイトデータ配置処理の後、正サイトのホストサーバ100が対象インスタンスのデータバックアップを行うことにより、正サイトのストレージ装置200は、前回のデータバックアップ以降に対象インスタンスへ書き込まれたデータを高速記憶デバイス221へ書き込むことができる。また、正サイトのストレージ装置200は、高速記憶デバイス221の使用可能容量が不足する場合、次のバックアップの対象のデータを優先して高速記憶デバイス221へ書き込むことができる。 After the above-described primary site data placement processing, the primary site host server 100 performs data backup of the target instance, so that the storage device 200 at the primary site can quickly write data written to the target instance since the previous data backup. Data can be written to the storage device 221. Further, when the usable capacity of the high-speed storage device 221 is insufficient, the primary site storage apparatus 200 can preferentially write data to be backed up next to the high-speed storage device 221.
 前述のS170において副サイトのストレージ装置200は、正サイトの管理サーバ400からの統計情報テーブル760の受信に応じて、副サイトデータ配置処理を行う。 In S 170 described above, the secondary site storage apparatus 200 performs secondary site data placement processing in response to the reception of the statistical information table 760 from the primary site management server 400.
 図12は、副サイトデータ配置処理を示す。 FIG. 12 shows the secondary site data placement process.
 S510において副サイトのストレージ装置200の階層制御部311は、正サイトの管理サーバ400からの統計情報テーブル760を取得して格納する。 In S510, the hierarchy control unit 311 of the storage device 200 at the secondary site acquires and stores the statistical information table 760 from the management server 400 at the primary site.
 S520において階層制御部311は、統計情報テーブル760に基づいて、SLA毎に、ロード対象データの合計サイズであるロード対象データサイズを計算する。ロード対象データは、ロード対象インスタンスのうち、監視期間内にアクセス(ReadまたはWrite)されたデータである。ロード対象インスタンスは例えば、特定のSLA以上のSLAを有するインスタンスである。 In S520, the hierarchy control unit 311 calculates the load target data size, which is the total size of the load target data, for each SLA based on the statistical information table 760. The load target data is data accessed (Read or Write) within the monitoring period among the load target instances. The load target instance is, for example, an instance having an SLA equal to or higher than a specific SLA.
 S530において階層制御部311は、高速記憶デバイス221の総容量が全SLAのロード対象データサイズの合計以上であるか否かを判定する。 In S530, the hierarchy control unit 311 determines whether or not the total capacity of the high-speed storage device 221 is equal to or greater than the sum of the load target data sizes of all SLA.
 S530の結果がYesである場合、S540において階層制御部311は、全SLAのロード対象データを高速記憶デバイス221へ配置し、ロード対象データ以外のデータを低速記憶デバイス222へ配置し、このフローを終了する。 When the result of S530 is Yes, in S540, the hierarchy control unit 311 arranges the load target data of all the SLAs in the high speed storage device 221 and arranges data other than the load target data in the low speed storage device 222. finish.
 S530の結果がNoである場合、S550において階層制御部311は、ロード対象データの中から優先度が高い順に、高速記憶デバイス221の総容量以下のデータを選択し、選択されたデータを高速記憶デバイス221へ配置し、それ以外のデータを低速記憶デバイス222へ配置し、このフローを終了する。ここで、階層制御部311は、インスタンスのSLAを、当該インスタンスの優先度として決定してもよい。これにより、副サイトのストレージ装置200は、高いSLAを有するインスタンスのデータを優先して高速記憶デバイス221へ配置することができる。また、階層制御部311は、データのアクセス頻度767のクラス分けを、当該データの優先度として決定してもよい。また、階層制御部311は、SLAとアクセス頻度767に基づいて、データの優先度を決定してもよい。これにより、副サイトのストレージ装置200は、高いアクセス頻度を有する領域のデータを優先して高速記憶デバイス221へ配置することができる。 If the result of S530 is No, in S550, the hierarchy control unit 311 selects data having the total capacity of the high-speed storage device 221 in order of priority from the load target data, and stores the selected data at high speed. It arrange | positions to the device 221, and arranges other data to the low-speed storage device 222, and complete | finishes this flow. Here, the hierarchy control unit 311 may determine the SLA of the instance as the priority of the instance. As a result, the storage device 200 at the secondary site can place the data of the instance having a high SLA in the high speed storage device 221 with priority. Further, the hierarchy control unit 311 may determine the classification of the data access frequency 767 as the priority of the data. Further, the hierarchy control unit 311 may determine the priority of data based on the SLA and the access frequency 767. Thereby, the storage device 200 at the secondary site can preferentially arrange the data in the area having a high access frequency to the high-speed storage device 221.
 以上の副サイトデータ配置処理の後、正サイトのストレージ装置200と副サイトのストレージ装置200がレプリケーションを行うことにより、正サイトのホストサーバ100で前回のデータバックアップ以降にアクセスされたデータを、副サイトの高速記憶デバイス221へ書き込むことができる。これにより、フェイルオーバ時に、副サイトのホストサーバ100が高速記憶デバイス221からデータをロードすることで、復旧を高速化し、RTOを短縮することができる。また、副サイトのストレージ装置200は、高速記憶デバイス221の容量が不足する場合、監視期間内にアクセスされたデータのうち高い優先度を有するデータを優先して高速記憶デバイス221へ配置することができる。 After the above secondary site data placement processing, the primary site storage apparatus 200 and the secondary site storage apparatus 200 perform replication, so that the data accessed after the previous data backup in the primary site host server 100 is stored in the secondary site. You can write to the high-speed storage device 221 at your site. As a result, the host server 100 at the secondary site loads data from the high-speed storage device 221 at the time of failover, so that recovery can be speeded up and RTO can be shortened. Further, when the capacity of the high-speed storage device 221 is insufficient, the storage device 200 at the secondary site can place the data having a high priority among the data accessed within the monitoring period with priority on the high-speed storage device 221. it can.
 第1メモリは、正サイト10内のメモリ110等に対応する。第1ホストプロセッサは、正サイト10内のプロセッサ120等に対応する。第1上位記憶デバイスは、正サイト10内の高速記憶デバイス221等に対応する。第1下位記憶デバイスは、正サイト10内の低速記憶デバイス222等に対応する。第1ストレージプロセッサは、正サイト10内のプロセッサ320等に対応する。第1管理プロセッサは、正サイト10内のプロセッサ420等に対応する。第1インメモリデータベースは、正サイト10内のインメモリデータベース等に対応する。第2メモリは、副サイト20内のメモリ110等に対応する。第2ホストプロセッサは、副サイト20内のプロセッサ120等に対応する。第2上位記憶デバイスは、副サイト20内の高速記憶デバイス221等に対応する。第2下位記憶デバイスは、副サイト20内の低速記憶デバイス222等に対応する。第2ストレージプロセッサは、副サイト20内のプロセッサ320等に対応する。第2管理プロセッサは、副サイト20内のプロセッサ420等に対応する。第2インメモリデータベースは、副サイト20内のインメモリデータベース等に対応する。アクセスログは、アクセスログテーブル710等に対応する。アクセス情報は、統計情報テーブル760、統計情報540等に対応する。バックアップは、データバックアップ等に対応する。 The first memory corresponds to the memory 110 etc. in the primary site 10. The first host processor corresponds to the processor 120 or the like in the primary site 10. The first upper storage device corresponds to the high-speed storage device 221 or the like in the primary site 10. The first lower level storage device corresponds to the low speed storage device 222 or the like in the primary site 10. The first storage processor corresponds to the processor 320 or the like in the primary site 10. The first management processor corresponds to the processor 420 and the like in the primary site 10. The first in-memory database corresponds to the in-memory database in the primary site 10 or the like. The second memory corresponds to the memory 110 or the like in the secondary site 20. The second host processor corresponds to the processor 120 or the like in the secondary site 20. The second upper storage device corresponds to the high-speed storage device 221 or the like in the secondary site 20. The second lower level storage device corresponds to the low speed storage device 222 or the like in the secondary site 20. The second storage processor corresponds to the processor 320 and the like in the secondary site 20. The second management processor corresponds to the processor 420 and the like in the secondary site 20. The second in-memory database corresponds to the in-memory database in the secondary site 20 or the like. The access log corresponds to the access log table 710 and the like. The access information corresponds to the statistical information table 760, the statistical information 540, and the like. The backup corresponds to a data backup or the like.
 以上、本発明の実施形態を説明したが、これは本発明の説明のための例示であって、本発明の範囲を上記構成に限定する趣旨ではない。本発明は、他の種々の形態でも実施する事が可能である。 As mentioned above, although embodiment of this invention was described, this is an illustration for description of this invention, Comprising: It is not the meaning which limits the scope of the present invention to the said structure. The present invention can be implemented in various other forms.
 10…正サイト、 20…副サイト、 100…ホストサーバ、 110…メモリ、 120…プロセッサ、 200…ストレージ装置、 210…コントローラ、 220…記録部、 221…高速記憶デバイス、 222…低速記憶デバイス、 310…メモリ、 311…階層制御部、 320…プロセッサ、 400…管理サーバ、 410…メモリ、 420…プロセッサ 10: Primary site, 20: Secondary site, 100: Host server, 110: Memory, 120: Processor, 200: Storage device, 210: Controller, 220: Recording unit, 221: High-speed storage device, 222: Low-speed storage device, 310 ... Memory, 311 ... Hierarchy control unit, 320 ... Processor, 400 ... Management server, 410 ... Memory, 420 ... Processor

Claims (12)

  1.  第1メモリと、
     前記第1メモリに接続される第1ホストプロセッサと、
     第1上位記憶デバイスと、
     前記第1上位記憶デバイスの性能より低い性能を有する第1下位記憶デバイスと、
     前記第1ホストプロセッサ、前記第1上位記憶デバイス、及び前記第1下位記憶デバイスに接続される第1ストレージプロセッサと、
     前記第1ホストプロセッサ及び前記第1ストレージプロセッサに接続される第1管理プロセッサと、
    を備え、
     前記第1ホストプロセッサは、
      第1インメモリデータベースを実行することで、前記第1インメモリデータベースのデータを前記第1メモリへ書き込み、
      前記第1メモリのアクセスログを記録し、
     前記第1管理プロセッサは、
      前記アクセスログに基づいて、前記第1メモリ内で前記第1インメモリデータベースにより特定期間内にアクセスされたデータを示すアクセス情報を生成し、
     前記第1ストレージプロセッサは、
      前記第1上位記憶デバイスと前記第1下位記憶デバイスとを用いる第1ストレージ階層を制御し、
      前記アクセス情報に基づいて、前記特定期間内に前記第1メモリへ書き込まれたデータを、前記第1上位記憶デバイスへ配置する、
    計算機システム。
    A first memory;
    A first host processor connected to the first memory;
    A first upper storage device;
    A first lower storage device having a performance lower than that of the first upper storage device;
    A first storage processor connected to the first host processor, the first upper storage device, and the first lower storage device;
    A first management processor connected to the first host processor and the first storage processor;
    With
    The first host processor is
    By executing the first in-memory database, the data of the first in-memory database is written to the first memory;
    Recording an access log of the first memory;
    The first management processor includes:
    Based on the access log, generating access information indicating data accessed in the first memory by the first in-memory database within a specific period;
    The first storage processor is
    Controlling a first storage tier using the first upper storage device and the first lower storage device;
    Based on the access information, data written to the first memory within the specific period is arranged in the first upper storage device.
    Computer system.
  2.  第2メモリと、
     前記第2メモリに接続される第2ホストプロセッサと、
     第2上位記憶デバイスと、
     前記第2上位記憶デバイスの性能より低い性能を有する第2下位記憶デバイスと、
     前記第2ホストプロセッサ、前記第2上位記憶デバイス、及び前記第2下位記憶デバイスに接続される第2ストレージプロセッサと、
    を更に備え、
     前記第2ストレージプロセッサは、
      前記第2上位記憶デバイス及び前記第2下位記憶デバイスを用いる第2ストレージ階層を制御し、
      前記アクセス情報に基づいて、前記第1メモリ内で前記特定期間内にアクセスされたデータを、前記第2上位記憶デバイスへ配置する、
    請求項1に記載の計算機システム。
    A second memory;
    A second host processor connected to the second memory;
    A second upper storage device;
    A second lower storage device having a performance lower than that of the second upper storage device;
    A second storage processor connected to the second host processor, the second upper storage device, and the second lower storage device;
    Further comprising
    The second storage processor
    Controlling a second storage tier using the second upper storage device and the second lower storage device;
    Based on the access information, data accessed within the specific period in the first memory is arranged in the second upper storage device.
    The computer system according to claim 1.
  3.  前記第1インメモリデータベースに障害が発生した場合、前記第2ホストプロセッサは、前記第2上位記憶デバイスに格納されたデータを前記第2メモリへコピーし、前記第2メモリ内のデータを用いて第2インメモリデータベースを実行する、
    請求項2に記載の計算機システム。
    When a failure occurs in the first in-memory database, the second host processor copies the data stored in the second upper storage device to the second memory and uses the data in the second memory. Execute a second in-memory database;
    The computer system according to claim 2.
  4.  前記第1ストレージプロセッサは、前記第1インメモリデータベースのデータのうち、前記第1上位記憶デバイスへ配置されるデータ以外のデータを前記第1下位記憶デバイスへ配置する、
    請求項3に記載の計算機システム。
    The first storage processor arranges data in the first in-memory database other than data arranged in the first upper storage device in the first lower storage device;
    The computer system according to claim 3.
  5.  前記第2ストレージプロセッサは、前記第1インメモリデータベースのデータのうち、前記第2上位記憶デバイスへ配置されるデータ以外のデータを前記第2下位記憶デバイスへ配置する、
    請求項4に記載の計算機システム。
    The second storage processor arranges data in the first in-memory database other than data arranged in the second upper storage device in the second lower storage device;
    The computer system according to claim 4.
  6.  前記第1ホストプロセッサは、前記特定期間内に前記第1メモリへ書き込まれたデータを前記第1ストレージ階層へ書き込むバックアップを定期的に行い、
     前記特定期間は、互いに連続する二つのバックアップの間の期間である、
    請求項5に記載の計算機システム。
    The first host processor periodically performs backup to write data written to the first memory within the specific period to the first storage tier,
    The specific period is a period between two consecutive backups.
    The computer system according to claim 5.
  7.  前記第1ホストプロセッサは、前記第1インメモリデータベースの複数のインスタンスを実行し、インスタンス毎に前記第1メモリへ書き込まれたデータを前記第1ストレージ階層へ書き込むバックアップを定期的に行い、
     前記第1ストレージプロセッサは、次のバックアップのインスタンスのデータを他のインスタンスよりも優先して前記第1上位記憶デバイスへ配置する、
    請求項6に記載の計算機システム。
    The first host processor executes a plurality of instances of the first in-memory database, periodically performs backup to write data written to the first memory for each instance to the first storage tier,
    The first storage processor places the data of the next backup instance in the first upper storage device in preference to other instances.
    The computer system according to claim 6.
  8.  前記第1ストレージプロセッサは、
      前記複数のインスタンスの中から対象インスタンスを選択し、
      前記アクセス情報に基づいて、前記対象インスタンスによる前記第1上位記憶デバイスの使用可能容量を算出し、
      前記対象インスタンスのバックアップの対象データのサイズを算出し、
      前記対象インスタンスが次にバックアップされるインスタンスであり、且つ前記使用可能容量が前記対象データのサイズよりも小さい場合、前記第1上位記憶デバイスに格納されているデータのうち、前記対象インスタンス以外のインスタンスのデータを前記第1下位記憶デバイスへ配置することで、前記使用可能容量を増加させる、
    請求項7に記載の計算機システム。
    The first storage processor is
    Select a target instance from the plurality of instances,
    Based on the access information, the usable capacity of the first upper storage device by the target instance is calculated,
    Calculate the size of the target data for backup of the target instance,
    When the target instance is the next instance to be backed up and the usable capacity is smaller than the size of the target data, the instances other than the target instance among the data stored in the first upper storage device To increase the usable capacity by placing the data in the first lower storage device,
    The computer system according to claim 7.
  9.  前記第2ストレージプロセッサは、
      前記アクセス情報に基づいて、前記第1メモリ内で前記特定期間内にアクセスされた複数のデータの優先度を決定し、
      前記第2上位記憶デバイスの容量が、前記複数のデータのサイズよりも小さい場合、前記複数のデータのうち高い優先度を有するデータを優先して、前記第2上位記憶デバイスへ配置する、
    請求項8に記載の計算機システム。
    The second storage processor
    Based on the access information, the priority of a plurality of data accessed within the specific period in the first memory is determined,
    When the capacity of the second upper storage device is smaller than the size of the plurality of data, the data having a higher priority among the plurality of data is preferentially arranged in the second upper storage device;
    The computer system according to claim 8.
  10.  前記アクセス情報は、インスタンス毎に予め設定されたSLA(service level agreement)を含み、
     前記第2ストレージプロセッサは、前記複数のデータのうち、前記SLAに基づいて各インスタンスのデータの優先度を決定する、
    請求項9に記載の計算機システム。
    The access information includes SLA (service level agreement) set in advance for each instance,
    The second storage processor determines data priority of each instance based on the SLA among the plurality of data.
    The computer system according to claim 9.
  11.  前記第1ホストプロセッサは、前記複数のデータの夫々のアクセス頻度を、前記アクセス情報に含め、
     前記第2ストレージプロセッサは、前記アクセス頻度に基づいて各データの優先度を決定する、
    請求項10に記載の計算機システム。
    The first host processor includes the access frequency of each of the plurality of data in the access information,
    The second storage processor determines the priority of each data based on the access frequency;
    The computer system according to claim 10.
  12.   第1インメモリデータベースを実行することで、前記第1インメモリデータベースのデータを第1メモリへ書き込み、
      前記第1メモリのアクセスログを記録し、
      前記アクセスログに基づいて、前記第1メモリ内で前記第1インメモリデータベースにより特定期間内にアクセスされたデータを示すアクセス情報を生成し、
      第1上位記憶デバイスと、前記第1上位記憶デバイスの性能より低い性能を有する第1下位記憶デバイスとを用いる第1ストレージ階層を制御し、
      前記アクセス情報に基づいて、前記特定期間内に前記第1メモリへ書き込まれたデータを、前記第1上位記憶デバイスへ配置する、
    ことを備える、
    データ格納方法。
    By executing the first in-memory database, the data of the first in-memory database is written to the first memory;
    Recording an access log of the first memory;
    Based on the access log, generating access information indicating data accessed in the first memory by the first in-memory database within a specific period;
    Controlling a first storage tier using a first upper storage device and a first lower storage device having a performance lower than that of the first upper storage device;
    Based on the access information, data written to the first memory within the specific period is arranged in the first upper storage device.
    To be prepared,
    Data storage method.
PCT/JP2016/078912 2016-09-29 2016-09-29 Computer system and computer system control method WO2018061158A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/078912 WO2018061158A1 (en) 2016-09-29 2016-09-29 Computer system and computer system control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/078912 WO2018061158A1 (en) 2016-09-29 2016-09-29 Computer system and computer system control method

Publications (1)

Publication Number Publication Date
WO2018061158A1 true WO2018061158A1 (en) 2018-04-05

Family

ID=61759417

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/078912 WO2018061158A1 (en) 2016-09-29 2016-09-29 Computer system and computer system control method

Country Status (1)

Country Link
WO (1) WO2018061158A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004199497A (en) * 2002-12-19 2004-07-15 Hitachi Ltd Method and device for processing database, its processing program, and method and system for disaster recovery
JP2006301891A (en) * 2005-04-20 2006-11-02 Hitachi Ltd Disaster recovery method, disaster recovery system, remote copy method, and storage system
JP2010044571A (en) * 2008-08-12 2010-02-25 Ntt Data Wave Corp Database device, data management method and program therefore
JP2010134522A (en) * 2008-12-02 2010-06-17 Hitachi Ltd Method, program and device for management of database
JP2014127015A (en) * 2012-12-26 2014-07-07 Toshiba Corp Information processor, distributed database system, and backup method
WO2014136172A1 (en) * 2013-03-04 2014-09-12 株式会社東芝 Database device, program, and data processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004199497A (en) * 2002-12-19 2004-07-15 Hitachi Ltd Method and device for processing database, its processing program, and method and system for disaster recovery
JP2006301891A (en) * 2005-04-20 2006-11-02 Hitachi Ltd Disaster recovery method, disaster recovery system, remote copy method, and storage system
JP2010044571A (en) * 2008-08-12 2010-02-25 Ntt Data Wave Corp Database device, data management method and program therefore
JP2010134522A (en) * 2008-12-02 2010-06-17 Hitachi Ltd Method, program and device for management of database
JP2014127015A (en) * 2012-12-26 2014-07-07 Toshiba Corp Information processor, distributed database system, and backup method
WO2014136172A1 (en) * 2013-03-04 2014-09-12 株式会社東芝 Database device, program, and data processing method

Similar Documents

Publication Publication Date Title
US8566550B2 (en) Application and tier configuration management in dynamic page reallocation storage system
JP5748932B2 (en) Computer system and method for supporting analysis of asynchronous remote replication
US8850152B2 (en) Method of data migration and information storage system
US9323682B1 (en) Non-intrusive automated storage tiering using information of front end storage activities
US8402214B2 (en) Dynamic page reallocation storage system management
US10298715B2 (en) Distributed processing system, task processing method, and storage medium
US20120278668A1 (en) Runtime dynamic performance skew elimination
US20080059602A1 (en) Load balancing method for data I/O paths between groups in which multi-path management is employed
JP4609848B2 (en) Load balancing computer system, route setting program and method thereof
US10225158B1 (en) Policy based system management
US20150236974A1 (en) Computer system and load balancing method
US10002025B2 (en) Computer system and load leveling program
JP2007316725A (en) Storage area management method and management computer
JP2009122873A (en) Apparatus for managing remote copying between storage systems
US20220066786A1 (en) Pre-scanned data for optimized boot
US10754368B1 (en) Method and system for load balancing backup resources
WO2016103471A1 (en) Computer system and administration program
US10019182B2 (en) Management system and management method of computer system
US20180052715A1 (en) Computer system including server storage system
US9513839B2 (en) Management system and management method for computer system comprising remote copy system for performing asynchronous remote copy
JP6758479B2 (en) Methods and distributed storage systems for aggregating statistics
WO2013140412A1 (en) A method and system for distributed computing of jobs
US9870152B2 (en) Management system and management method for managing data units constituting schemas of a database
US20140058717A1 (en) Simulation system for simulating i/o performance of volume and simulation method
WO2018061158A1 (en) Computer system and computer system control method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16917710

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16917710

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP