CN103873323A - Method for diagnosing performance problems of application system in database mode of client server - Google Patents
Method for diagnosing performance problems of application system in database mode of client server Download PDFInfo
- Publication number
- CN103873323A CN103873323A CN201410093186.XA CN201410093186A CN103873323A CN 103873323 A CN103873323 A CN 103873323A CN 201410093186 A CN201410093186 A CN 201410093186A CN 103873323 A CN103873323 A CN 103873323A
- Authority
- CN
- China
- Prior art keywords
- performance
- data
- server
- client
- counter
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method for diagnosing performance problems of an application system in the database mode of a client server, and belongs to the technical field of the client server. The method comprises performance data statistics and performance diagnosis analysis, wherein a performance data statistics method is a basic method for providing the performance data statistics; the basic method provided for the performance data statistics is invoked respectively for a client program, a server program and a database data-fetching part to feed back performance data; a performance diagnosis analysis method is to comparatively analyze the performance data with a problematic performance environment and performance reference data so as to determine problem points at which performance problems exist; the performance reference data are such performance data established in an environment without the problematic performance environment through the performance data statistics. Compared with the prior art, the method for diagnosing provided by the invention can enable the operation situation where the performance problems occur to the system to be reflected truly and completely; moreover, the problem points of the performance problems can be fast positioned by comparatively analyzing the reference data which are already established.
Description
Technical field
The present invention relates to client-server technical field, specifically a kind of application system performance problem diagnosis method under client-server database schema.
Background technology
Client-server technology is a kind of application program technology based on the Internet (Internet).In client, can make full use of the local resource of client machine, for user provides abundant user-interaction experience.At server, can provide powerful data to calculate and data storage capacities.Client-server technology adopts network service (Web Service) the technical transmission data based on HTTP and XML, can be based on internet access.Under the framework of this complexity, often there is performance issue miscellaneous in application system.Performance issue needs technical staff's client, server, database every aspect to analyze one by one, and lacks relevant performance data support after occurring, performance issue diagnostic analysis process is all very consuming time.
Summary of the invention
Technical assignment of the present invention is for above-mentioned the deficiencies in the prior art, and the method for the application system performance problem diagnosis under a kind of client-server database schema is provided.
Technical assignment of the present invention is realized in the following manner: a kind of application system performance problem diagnosis method under client-server database schema, is characterized in comprising performance data statistics and performance diagnogtics analysis:
The method of described performance data statistics is to provide the basic skills of performance data statistics, and in client-side program, server program, the database peek part basic skills feedback performance data that invocation performance data statistics provides respectively;
The method of described performance diagnogtics analysis is to have the performance data of performance issue environment and performance reference data to be analyzed, determine the problem points that has performance issue, described performance reference data are that performance data is added up the performance data of setting up in the environment without performance issue.
Performance data statistics is receiving after database feedback, not only can be for the performance issue of diagnostic analysis system, and can real-time feedback go out the performance situation of system operation.
The basic skills of described performance data statistics is: the Standard Interface of performance data feedback is provided, collects performance diagnogtics analyze needed necessary data by the interface of specification.
When client-side program feedback performance data, client-side program provides the Web request performance counter of client-side program logical process performance counter, Data Serialization performance counter, data unserializing performance counter, user end to server request msg.
Client-side program provides each infrastructure component that the Web request performance counter of client-side program logical process performance counter, Data Serialization performance counter, data unserializing performance counter, user end to server request msg is client-side program to realize the Standard Interface of performance data feedback, and passes through the interface feedback performance data of specification.
When server program, database peek partial feedback performance data, server and database program provide Web request performance counter, data unserializing performance counter, Data Serialization performance counter, server logic treatment performance counter, the data base logic performance counter of user end to server request msg.
It is the Standard Interface that each infrastructure component of server program and database peek program has been realized performance data feedback that server and database program provide Web request performance counter, data unserializing performance counter, Data Serialization performance counter, server logic treatment performance counter, the data base logic performance counter of user end to server request msg, and by the interface feedback performance data of specification.
By having realized the program of performance diagnogtics statistics, on the known environment that there is no performance issue, move, and collect data, the standard performance data of setting up under different hardware environment supplies performance diagnogtics analysis as performance reference data, forming property data base storehouse.
By in performance data pattern library according to corresponding hardware information find can reference performance reference data, compare with known performance data, determine the problem points of performance issue.
Compared with prior art, application system performance problem diagnosis method under client-server database schema of the present invention is in the many basic datas that can very easily get performance issue of client, server, three aspects of database, can be true, complete reflect the ruuning situation that occurs performance issue in system.In addition, by being analyzed with the reference data of closely setting up, the fast problem points of positioning performance problem, cost-saving, increase work efficiency.
Brief description of the drawings
Accompanying drawing 1 is the performance data exploded view in the embodiment of the present invention;
Accompanying drawing 2 is the performance reference data display figure in the embodiment of the present invention.
Embodiment
Application system performance problem diagnosis method under client-server database schema of the present invention is described in detail below with specific embodiment with reference to Figure of description.
Application system performance problem diagnosis method under client-server database schema of the present invention is analyzed two realizations by performance data statistics and performance diagnogtics.
One, performance data statistics
Data feedback point two parts composition of statistics service has been served, has been called in the data statistics of performance data statistics do as one likes energy.
The statistical method to present procedure operating point data that performance data has been added up service definition, is the specification to performance data feedback, and its specification is as follows.
Call the data feedback point of statistics service, generally start operation and complete operation, client data client data request by client and complete request, client data serializing and complete serializing, application server responses request and feedback request, application server Data Serialization and unserializing, database to start execution and complete execution step to form, and can expand and realize personalized performance data and add up point by calling ReportPerfData method.A secondary data request of being initiated by client be can be regarded as a Group, and Group will comprise a client data client data request and complete request, a client data serializing and complete serializing, application server responses request and feedback request, application server Data Serialization and unserializing, one or more database and start to carry out and complete to carry out and form; After each feedback point feedback performance data, can filter by clientID, according to batch, group grouping, according to begin and end sequence, show the performance situation of a client-side program in each feedback point feedback.
Two, performance diagnogtics analysis
Performance diagnogtics analysis part is also made up of two parts: set up performance reference data, find performance issue point with the analysis of performance reference Data Comparison.
Set up performance reference data, by having realized the program of performance diagnogtics statistics, on the known environment that there is no performance issue, move, and collect data, be based upon the standard performance data under different hardware environment, forming property data base storehouse.
Find performance issue point with the analysis of performance reference Data Comparison, collecting after problematic performance data, by in performance data pattern library according to corresponding hardware information find can the performance reference data of reference after, compare, determine the problem points of performance issue.
Embodiment:
Scene: so-and-so adopts client-server structure at system, adopts internet to connect the communication of Http mode between client and server.System definition a function: user management, the effect of this function is all users in maintenance system, this function poor performance in the time opening, code is taking C# as example.
Step:
1, user safeguards that each key point of code inside has all added the feedback of performance data.
Client functionality is opened:
PerfService.ReportData (" Client ", " 192.168.0.1 ", " b001 ", " g001 ", " opening function ", begin, end, new string[] { Function=user safeguards, User=Zhang San });
Client is obtained data:
PerfService.ReportData (" Client ", " 192.168.0.1 ", " b001 ", " g002 ", " obtain data: http://AppServer/.... ", begin, end, new string[] { Function=user safeguards, User=Zhang San });
Server obtains data:
PerfService.ReportData (" App ", " 192.168.0.1 ", " b001 ", " g002 ", " http://AppServer/.... ", begin, end, new string[] { Function=user safeguards, User=Zhang San });
SQL carries out and obtains data:
PerfService.ReportData (" SQL ", " 192.168.0.1 ", " b001 ", " g002 ", " Select * from Users ", begin, end, new string[] { Function=user safeguards, User=Zhang San });
Client demonstrating data:
PerfService.ReportData (" Client ", " 192.168.0.1 ", " b001 ", " g003 ", " LoadData ", begin, end, new string[] { Function=user safeguards, User=Zhang San });
Client functionality has been opened:
PerfService.ReportData (" Client ", " 192.168.0.1 ", " b001 ", " g003 ", " function has been opened ", begin, end, new string[] { Function=user safeguards, User=Zhang San });
2, by run user maintenance function, the performance data counting on displaying, as shown in Figure 1.
3, the performance reference data of safeguarding by searching user, can see normal performance data, as shown in Figure 2.
4, by with the compare of analysis of reference data, find that performance issue mainly goes out in " Http request: do " this service end method, performance diagnogtics personnel can navigate to fast problem and cause slowly because SQL carries out, and diagnostic personnel can be analyzed targetedly.
Claims (9)
1. the application system performance problem diagnosis method under client-server database schema, is characterized in that, the method comprises performance data statistics and performance diagnogtics analysis:
The method of performance data statistics is to provide the basic skills of performance data statistics, and in client-side program, server program, the database peek part basic skills feedback performance data that invocation performance data statistics provides respectively;
The method of performance diagnogtics analysis is to have the performance data of performance issue environment and performance reference data to be analyzed, determine the problem points that has performance issue, described performance reference data are that performance data is added up the performance data of setting up in the environment without performance issue.
2. the application system performance problem diagnosis method under client-server database schema according to claim 1, is characterized in that, performance data statistics is receiving after the performance data of feedback, the performance situation of real-time reponse system operation.
3. the application system performance problem diagnosis method under client-server database schema according to claim 1 and 2, is characterized in that, the basic skills of described performance data statistics is:
The Standard Interface of performance data feedback is provided, collects performance diagnogtics by the interface of specification and analyze needed necessary data.
4. the application system performance problem diagnosis method under client-server database schema according to claim 1 and 2, it is characterized in that, when client-side program feedback performance data, client-side program provides the Web request performance counter of client-side program logical process performance counter, Data Serialization performance counter, data unserializing performance counter, user end to server request msg.
5. the application system performance problem diagnosis method under client-server database schema according to claim 4, it is characterized in that, client-side program provides each infrastructure component that the Web request performance counter of client-side program logical process performance counter, Data Serialization performance counter, data unserializing performance counter, user end to server request msg is client-side program to realize the Standard Interface of performance data feedback, and passes through the interface feedback performance data of specification.
6. the application system performance problem diagnosis method under client-server database schema according to claim 1 and 2, it is characterized in that, when server program, database peek partial feedback performance data, server and database program provide Web request performance counter, data unserializing performance counter, Data Serialization performance counter, server logic treatment performance counter, the data base logic performance counter of user end to server request msg.
7. the application system performance problem diagnosis method under client-server database schema according to claim 6, it is characterized in that, it is the Standard Interface that each infrastructure component of server program and database peek program has been realized performance data feedback that server and database program provide Web request performance counter, data unserializing performance counter, Data Serialization performance counter, server logic treatment performance counter, the data base logic performance counter of user end to server request msg, and by the interface feedback performance data of specification.
8. the application system performance problem diagnosis method under client-server database schema according to claim 1 and 2, it is characterized in that, by having realized the program of performance diagnogtics statistics, on the known environment that there is no performance issue, move, and collect data, the standard performance data of setting up under different hardware environment supplies performance diagnogtics analysis as performance reference data, forming property data base storehouse.
9. the application system performance problem diagnosis method under client-server database schema according to claim 8, it is characterized in that, by in performance data pattern library according to corresponding hardware information find can reference performance reference data, compare with known performance data, determine the problem points of performance issue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410093186.XA CN103873323A (en) | 2014-03-14 | 2014-03-14 | Method for diagnosing performance problems of application system in database mode of client server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410093186.XA CN103873323A (en) | 2014-03-14 | 2014-03-14 | Method for diagnosing performance problems of application system in database mode of client server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103873323A true CN103873323A (en) | 2014-06-18 |
Family
ID=50911468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410093186.XA Pending CN103873323A (en) | 2014-03-14 | 2014-03-14 | Method for diagnosing performance problems of application system in database mode of client server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103873323A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107181607A (en) * | 2016-03-11 | 2017-09-19 | 中国移动通信集团内蒙古有限公司 | One kind is based on application system Fault Locating Method and device end to end |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316185A (en) * | 2007-06-01 | 2008-12-03 | 阿里巴巴集团控股有限公司 | Method for positioning system resource bottleneck by analysis result based on log file |
CN101635655A (en) * | 2008-07-25 | 2010-01-27 | 阿里巴巴集团控股有限公司 | Method, device and system for page performance test |
CN102004693A (en) * | 2010-11-24 | 2011-04-06 | 北京世纪高通科技有限公司 | System performance test method and device |
-
2014
- 2014-03-14 CN CN201410093186.XA patent/CN103873323A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316185A (en) * | 2007-06-01 | 2008-12-03 | 阿里巴巴集团控股有限公司 | Method for positioning system resource bottleneck by analysis result based on log file |
CN101635655A (en) * | 2008-07-25 | 2010-01-27 | 阿里巴巴集团控股有限公司 | Method, device and system for page performance test |
CN102004693A (en) * | 2010-11-24 | 2011-04-06 | 北京世纪高通科技有限公司 | System performance test method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107181607A (en) * | 2016-03-11 | 2017-09-19 | 中国移动通信集团内蒙古有限公司 | One kind is based on application system Fault Locating Method and device end to end |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10685283B2 (en) | Demand classification based pipeline system for time-series data forecasting | |
CN105760286B (en) | Application database dynamic property detection method and detection device | |
CN110245078A (en) | A kind of method for testing pressure of software, device, storage medium and server | |
US10621064B2 (en) | Proactive impact measurement of database changes on production systems | |
CN100451989C (en) | Software testing system and testing method | |
US11138058B2 (en) | Hierarchical fault determination in an application performance management system | |
CN105653398B (en) | A kind of smart allocation operating system mirror method | |
CN104572975B (en) | Real-time data processing and analyzing system | |
US20160259357A1 (en) | System and Method For Big Data Geographic Information System Discovery | |
US20160179884A1 (en) | Integrated event processing and database management | |
US11138060B2 (en) | Application performance management system with dynamic discovery and extension | |
Gao et al. | Parallel clustering of high-dimensional social media data streams | |
US11709758B2 (en) | Enhanced application performance framework | |
Pääkkönen | Feasibility analysis of AsterixDB and Spark streaming with Cassandra for stream-based processing | |
CN105740142A (en) | SSR centralized management platform pressure test management system | |
WO2019157399A1 (en) | Data pipeline for scalable analytics and management | |
CN107766207A (en) | Distributed automatic monitoring method, system, computer-readable recording medium and terminal device | |
CN104993957A (en) | Method for providing cloud Log service for distributed application using Log4j | |
KR20170053013A (en) | Data Virtualization System for Bigdata Analysis | |
CN103678425A (en) | Integrated analysis for multiple systems | |
US11153183B2 (en) | Compacted messaging for application performance management system | |
CN104461832B (en) | A kind of method and device for monitoring application server resource | |
CN103093322A (en) | System and method for impromptu analyzing business data | |
CN103873323A (en) | Method for diagnosing performance problems of application system in database mode of client server | |
US10848371B2 (en) | User interface for an application performance management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140618 |