- 2020年10月国产数据库排行:GoldenDB跃升异军突起 PolarDB和GaussDB云化融合
数据和云
微软informix分布式存储microsoftcloudera
墨墨导读:2020年10月国产数据库流行度的前三位由TiDB、达梦数据库、GBase(南大通用)获得,其中TiDB以超过100分的优势领先第二位的达梦数据库。数据技术嘉年华,十周年盛大开启,点我立即报名!大会以“自研·智能·新基建——云和数据促创新生态融合新十年”为主题,相邀数据英雄,总结过往十年历程与成绩,展望未来十年趋势与目标!近60场演讲,大咖云集,李飞飞、苏光牛、林晓斌、黄东旭...,快来
- 华为云发布《云原生2.0架构白皮书》,GaussDB技术再升级
是怼怼呀11
云原生数据库
近期,在华为伙伴暨开发者大会2022,华为云CTO张宇昕发布了《云原生2.0架构白皮书》,包括云原生数据库在内,介绍了云原生2.0的关键特征、架构模式,以及优秀实践,为企业数字化升级注入了云原生2.0新动力。华为云数据库首席架构师冯柯也在会上分享了云原生数据库HTAP重大特性商用,通过极致混合负载能力和及时精准的数据分析,助力企业商业决策。华为云CTO张宇昕在会上发表云原生2.0重要演讲云原生数据
- mysql迁移到高斯DB_将数据导入高斯数据库 GaussDB
高光杰
mysql迁移到高斯DB
启动GDS非SSL模式传输数据的情况下,使用如下命令启动GDS。gds-d/input_data/-p192.168.0.90:5000-H10.10.0.1/24-l/opt/bin/gds/gds_log.txt-D使用SSL加密方式传输数据时,在确保执行了步骤4后,使用如下命令启动GDS。gds-d/input_data/-p192.168.0.90:5000-H10.10.0.1/24-l
- 【GaussDB(DWS)】数仓部署架构与物理结构分析
若兰幽竹
GaussDBDWSgaussdb
数仓架构与物理结构分析一、部署架构二、物理结构三、测试验证一、部署架构华为数据仓库服务DWS,集群版本8.1.3.x集群拓扑结构:上述拓扑结构为DWS单AZ高可靠部署架构,为减少硬件故障对系统可用性的影响,建议集群部署方案遵循如下原则:对于每组实例,其主、备部署在不同的节点上。例如:GTM的主、备分别部署在不同的节点上。DN的主、备、从备部署在不同的节点上。建议节点内存大于等于512G,每个节点部
- 华为云 GaussDB 数据库和 MySQL 数据库的区别
单车~
数据库华为云gaussdb
性能表现:GaussDB:拥有超高性能,可达到百万级QPS,性能是开源MySQL的7倍。在复杂查询场景,支持将提取列、条件过滤、聚合运算等操作向下推给存储层处理,性能相比传统架构提升数十倍1。MySQL:也能处理大量数据和高并发访问,对于一般的中小型网站开发等场景性能表现良好,但在性能上限方面相对GaussDB较低。例如,在处理大规模数据和高并发请求时,可能会面临性能瓶颈。扩展性:GaussDB:
- DBeaver 24.1.4版本发布,原生支持GaussDB!
Frank Cao
gaussdb
摘要:欢迎大家下载并体验DBeaver24.1.4版本,探索GaussDB的无限可能本文分享自华为云社区《DBeaver24.1.4版本发布,原生支持GaussDB!》,作者:GaussDB数据库。华为云GaussDB一直致力于完善生态体系的构建,为用户提供最佳的使用体验。DBeaver作为一款开源的数据库管理软件,因其广泛的数据库兼容、丰富的功能特性以及多操作系统支持,成为了众多数据库开发者的首
- 【GaussDB】分布式性能分析常用的SQL
俊男无期
gaussdb分布式sql数据库
--查看连接数selectcoorname,usename,application_name,substr(query,1,50)asquery,statefrompgxc_stat_activitywherestate='active'andusename='xxx';selectcoorname,count()frompgxc_stat_activitywhereusename='cbsprd
- 【PL/pgSQL】华为数据库GaussDB及PostgreSQL 数据库系统的过程语言
来一杯龙舌兰
数据库数据库gaussdbpostgresqlpgSQL
文章目录介绍PL/pgSQL为什么选择PL/pgSQL?基本语法和结构1.基本结构2.变量声明3.控制结构4.循环存储过程与函数1.创建存储过程2.调用存储过程3.自定义函数触发器1.创建触发器函数2.创建触发器异常处理高级语法特性示例控制结构条件语句循环异常处理游标动态SQL复合类型实际应用案例案例1:自动生成报告案例2:复杂的数据迁移案例3:业务规则验证性能优化1.使用合适的索引2.避免不必要
- OLAP和OLTP以及HTAP的区别
霸王龙的日常
数据库概念数据库数据仓库
数据处理一般可以分成两大类:OLAP和OLTP那么有没有一种情况,将OLTP和OLAP相融合,在同一个系统中同时提供这两种服务,答案是有的。即HTAP产品。在这方面,国内的数据库厂商PingCAP的TiDB就不错。还有华为的GaussDB(openGauss)也对外公布六大关键技术特性其中之一就是高度支持HTAP混合负载。什么是OLAP?联机分析处理OLAP(OnLineAnalyticalPro
- 【数据库】GaussDB
一起学架构
数据库数据库
目录一、GaussDB是什么数据库?二、GaussDB与Tidb、OcceanBase数据库的差别有哪些三、GaussDB的整体架构是怎么样的?四、GaussDB的核心技术特点是什么?五、GaussDB的适用场景有哪些?六、GaussDB在不同场景的一些最佳实践案例七、GaussDB性能优化技巧八、GaussDB使用的注意事项一、GaussDB是什么数据库?Gauss数据库是基于PostgreSQ
- GaussDB HCS 轻量化部署软件下载指引
Gauss松鼠会
GaussDB经验总结gaussdb导数SQL数据库华为
一、Support账号准备1.账号说明华为的软件服务在华为support网站发布,注册该账号后,可以申请软件、下载离线文档,查看技术案例等功能2.账号注册步骤1:点击如下官方链接华为运营商技术支持-华为步骤2:然后进入此页面,可以通过邮箱或者手机号进行注册,填好以下信息提交步骤3:提交后系统会发送激活链接到您的注册邮箱;步骤4:登录您的注册邮箱,点击激活链接;系统会激活帐号;3.账号升级步骤1:点
- 【墨天轮专访第四期】华为云GaussDB:发挥生态优势,培养应用型DBA
GaussDB数据库
GaussDB华为云数据库技术交流华为数据库mysql
导读:近期,受墨天轮平台邀请,华为云数据库业务负责人苏光牛先生接受了其策划的“国产数据库”话题专访,就一些与国产数据库相关的社会讨论度较高、网友较为关心的问题做了分享,阐释了华为云数据库的产品策略,并从数据库产品负责人的角度给出了一些更深层次的独到见解。华为云数据库业务负责人苏光牛——负责华为云数据库业务的战略制定与发展,数据库云服务产品与解决方案研发、运营、运维和交付等。—采访视频——以下为采访
- 华为云GaussDB在新零售云转型上的摸索实验
叶一一yyy
华为云gaussdb零售
新零售的“云化”阿里研究院曾经提到过一个理念:零售的本质是无时无刻不为消费者提供超出预期的“内容”。这个理念其实不难理解,想要留住消费者,靠大家都能提供的“内容”显然是行不通的。超出预期,才能吸引消费者的“消费兴趣”。想要“超出预期”,就必须充分了解消费者。随着互联网技术的不断发展,充分了解消费者的任务也交给了互联网技术,目前最常用到的方法是“通过大数据描绘出消费者的画像”。“人—货—场”是零售中
- 华为云GaussDB云原生数据库
科技云未来
华为云云原生数据库
近日,由中国信息通信研究院主办的“原生聚力,云数赋能”第四届云原生产业大会顺利召开。在这场云原生领域盛会中,华为云GaussDB(forMySQL)云原生数据库凭优越的技术创新实力和实践经验,荣获“云原生技术创新领航者-云原生技术创新案例”大奖。华为云数据库副部长庄乾锋表示,当前数据库行业迎来云原生2.0时代,企业对云数据库提出了更高性能、安全可靠、极致扩展等诸多诉求。华为云GaussDB通过整合
- 专访丨华为云GaussDB苏光牛:发挥生态优势,培养应用型DBA
华为云技术精粹
云计算华为云
*导读·*近期,受墨天轮平台邀请,华为云数据库业务负责人苏光牛先生接受了其策划的“国产数据库”话题专访,就一些与国产数据库相关的社会讨论度较高、网友较为关心的问题做了分享,阐释了华为云数据库的产品策略,并从数据库产品负责人的角度给出了一些更深层次的独到见解。人物简介华为云数据库业务负责人苏光牛负责华为云数据库业务的战略制定与发展,数据库云服务产品与解决方案研发、运营、运维和交付等。采访视频以下视频
- 新零售的升维体验,摸索华为云GaussDB如何实现数据赋能
叶一一yyy
零售华为云gaussdb
新零售商业模式商业模式通常是由客户价值、企业资源和能力、盈利方式三个方面构成。其最主要的用途是为实现客户价值最大化。商业模式通过把能使企业运行的内外各要素整合起来,从而形成一个完整的、高效率的、具有独特核心竞争力的运行系统,并通过最优实现形式满足客户需求、实现客户价值,同时促使系统达成持续赢利目标。如果想测试自己商业模式的可行性,就需要了解另一个概念——商业模式画布,英文缩写BMC。BMC的核心作
- 新零售供应链,尝试使用GaussDB链接场与货【华为云GaussDB:与数据库同行的日子】
叶一一yyy
数据库零售gaussdb
新零售供应链的关键:场与货的链接零售是整个供应链中的最后一环,也是十分关键的一环。商品的供应链是一个包含多个步骤的完整链路,从商品的设想到销售,基本上可以归纳为设计→制造→供应链→商家→消费者。如图1-1:在这个完整链路中,有很多需要关注的地方。比如,商品制造出来,正在到消费者手中,可以有不同的路径。商家可以大型的商超,也可以是地摊形式的小商贩。某天,你下班的路上,便可以随手购买一束鲜花;也可以在
- GaussDB新体验,新零售选品升级注入新思路【华为云GaussDB:与数据库同行的日子】
叶一一yyy
gaussdb零售华为云
选品思维:低频VS高频一个的商超,假设有50个左右的品类,每个品类下有2到10个不等的商品。然而如此庞大的商品,并非所有都是高频消费品。结合自身日常的消费习惯,对于高频和低频的区分并不难。一般大型家电、高端礼盒等属于低频消费品,日用百货、食品等属于高频消费品。既然我们都清楚哪些是低频消费品,哪些是高频消费品,为什么不将低频都换成高频呢?试想一下,当一个消费者进入商超想买一个电饭煲的时候,发现并没有
- gee微端服务器系统设置,gee微端服务器推荐配置
小林手
gee微端服务器系统设置
gee微端服务器推荐配置内容精选换一换GaussDB(DWS)支持SSL认证方式的连接,以加密GaussDB(DWS)客户端与数据库之间传输的数据。SSL连接方式的安全性高于普通模式,集群默认开启SSL功能允许来自客户端的SSL连接或非SSL连接,从安全性考虑,建议用户在客户端使用SSL连接方式。如果要强制使用SSL连接,需要为集群开启服务器端是否强制使用SSL连接。在集华为云帮助中心,为用户提供
- 由数据插入超长引起的问题——了解GaussDB和openGauss的字符集
Gauss松鼠会
技术交流gaussdbSQL导数oracle数据库MERGEINTO
前言故事是这样开始的。我们的小DEMO项目的数据库版本从openGauss2.1.0升级到了5.0.0版本。升级后进行功能验证的时候,测试同学发现个BUG,原来通过gs_restore导出来的数据再导入时报超长,插入失败了,如下图所示,nvarchar(10)的字段类型,无法插入10个汉字—“齐天大圣孙悟空美猴王”。一、定位过程疑问一:openGauss高版本是否没有兼容低版本?接到问题后以为是o
- 面向云服务的GaussDB全密态数据库
Gauss松鼠会
GaussDB经验总结数据库gaussdboracle华为云GaussDB同态加密安全
前言全密态数据库,顾名思义与大家所理解的流数据库、图数据库一样,就是专门处理密文数据的数据库系统。数据以加密形态存储在数据库服务器中,数据库支持对密文数据的检索与计算,而与查询任务相关的词法解析、语法解析、执行计划生成、事务ACID、数据存储都继承原有数据库能力。一、云数据库安全现状及问题伴随着云基础设施的快速增长和成熟,与之对应的云数据库服务也层出不穷。一方面,受益于云服务的便捷性传统企业加速业
- 华为认证哪个方向好学?
智汇云校乐乐老师
华为
从等级上来看,初级认证的课程是最简单的。但是从方向来看,这或许是想入行网络工程师的朋友来说是一个疑问,不知道哪个方向好学这个问题,需要从华为认证的体系说起,首先需要知道华为认证都有哪些方向。华为认证有接入、数据中心、视讯(VideoConference)、智能计算、LTE、数通、Datacom、安全、存储、传输、无线、5G、智能视觉、人工智能、鸿蒙、大数据、云、IoT、GaussDB、鲲鹏等等方向
- GaussDB查看数据库、表空间、表、schema大小以及常用的数据库元命令
MM不要山
数据库sqlmicrosoft
查看表空间的大小openGauss=#selectpg_size_pretty(pg_tablespace_size('pg_default'));pg_size_pretty----------------102MB(1row)openGauss=#selectpg_size_pretty(pg_tablespace_size('hr_data'));pg_size_pretty--------
- gauss100密码过期解决方法
长空~
数据仓库
解决方法:1.首先查看gauss100的端口1888的状态,是正常的。3.进入gauss100的bin目录下cd/Gaudb/GaussDB100/app/bin/2.切换db100用户sudb1003.查看数据库状态pythonzctl.py-tstatus4.停止:pythonzctl.py-tstop5.启动:pythonzctl.py-tstart6.使用zsql连接数据库,默认用户及密码
- openLooKeng-gaussDB多分片tpc-ds指导
mumusuibian
本文旨在介绍对openLooKeng进行多分片特性进行tpc-ds99语句性能测试的方法,使用的工具为apachejmeter,使用的数据源为gaussDB200。1.gaussDB连接使用方法指导1.1数据库连接1.以操作系统用户omm登录GaussDB200集群的任一主机2.执行“gs_om-tstatus--detail”命令查询集群各实例情况3.确认CN的端口号的方法,执行”cat/srv
- 【华为云-云驻共创】数据高速公路—数仓集群通信技术详解
IT民工金鱼哥
在华为云社区的故事华为云GaussDB
【摘要】本文讲解GaussDB(DWS)集群通信技术如何在大规模集群中承载高并发业务,如何实现高性能分布式通信系统。主要讲述客户端、CN、DN三类进程间的通信原理和流程,分为CN通信框架和DN间通信框架。数据仓库服务GaussDB(DWS)是一种基于华为云基础架构和平台的在线数据分析处理数据库,提供即开即用、可扩展且完全托管的分析型数据库服务。GaussDB(DWS)是基于华为融合数据仓库Gaus
- GaussDB到GBase 8a的迁移概述
木有法子
数据库database迁移学习数据仓库运维
GaussDB200迁移至GBase8aMPPCluster的总体流程如下图所示:DDL迁移:DDL迁移采用一次性迁移的方式进行,可以从GaussDB导出DDL脚本,按照GBase8aMPPCluster语法对导出的脚本使用脚本方式进行批量修改;数据迁移:将GaussDB数据库的表数据通过接口以规定的分隔符导出成平面文件,然后使用FTP/NFS等方式发送到GBase8aMPPCluster可以访问
- 一幅长文细学GaussDB(三)——SQL语法
ArimaMisaki
一文学懂GaussDBsql数据库javaGaussDB
文章目录3SQL语法3.1SQL语句概述SQL语句介绍SQL语句分类3.2数据类型常用数据类型非常用数据类型3.3系统函数概述数值计算函数字符处理函数时间日期函数类型转换函数系统信息函数3.4操作符概述逻辑操作符比较操作符算术操作符测试操作符其他操作符3SQL语法华为GaussDB(forMySQL)是一款华为云端高性能、高可用的关系型数据库服务,前面支持开源MySQL语法和能力。3.1SQL语句
- 【数据库】GaussDB数据类型和简单DDL概述
吃海的虾酱
运维专线数据库gaussdboraclesqlmysqldbmssql
GaussDB是一款华为公司开发的关系型数据库管理系统(RDBMS),提供了多种数据类型用于存储和处理不同类型的数据。以下是GaussDB常见的数据类型:1、GaussDB常见的数据类型1.1、数值型(NumericTypes):*整型(Integer):INT*小数型(Decimal):DECIMAL1.2、字符型(CharacterTypes):*字符串(String):CHAR、VARCHA
- 华为云GaussDB数据库:安全可靠的大管家
HardcoreGeek
要说那个数据库可靠、安全、性能好、即开即用、便捷运维、弹性伸缩,那就是华为云数据库服务了。GaussDB(foropenGauss)是华为自研,主打政企核心业务负载的金融级分布式数据库旗舰产品,具备出色的混合负载高性能、金融级高可用等商用能力。那么华为自研的GaussDB(foropenGauss)有什么功能、怎么用以及适用场景我分别介绍一下。功能特点:1、混合负载高性能与弹性扩展在交易事务处理方
- LeetCode[Math] - #66 Plus One
Cwind
javaLeetCode题解AlgorithmMath
原题链接:#66 Plus One
要求:
给定一个用数字数组表示的非负整数,如num1 = {1, 2, 3, 9}, num2 = {9, 9}等,给这个数加上1。
注意:
1. 数字的较高位存在数组的头上,即num1表示数字1239
2. 每一位(数组中的每个元素)的取值范围为0~9
难度:简单
分析:
题目比较简单,只须从数组
- JQuery中$.ajax()方法参数详解
AILIKES
JavaScriptjsonpjqueryAjaxjson
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。
type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。
timeout: 要求为Number类型的参数,设置请求超时时间(毫秒)。此设置将覆盖$.ajaxSetup()方法的全局
- JConsole & JVisualVM远程监视Webphere服务器JVM
Kai_Ge
JVisualVMJConsoleWebphere
JConsole是JDK里自带的一个工具,可以监测Java程序运行时所有对象的申请、释放等动作,将内存管理的所有信息进行统计、分析、可视化。我们可以根据这些信息判断程序是否有内存泄漏问题。
使用JConsole工具来分析WAS的JVM问题,需要进行相关的配置。
首先我们看WAS服务器端的配置.
1、登录was控制台https://10.4.119.18
- 自定义annotation
120153216
annotation
Java annotation 自定义注释@interface的用法 一、什么是注释
说起注释,得先提一提什么是元数据(metadata)。所谓元数据就是数据的数据。也就是说,元数据是描述数据的。就象数据表中的字段一样,每个字段描述了这个字段下的数据的含义。而J2SE5.0中提供的注释就是java源代码的元数据,也就是说注释是描述java源
- CentOS 5/6.X 使用 EPEL YUM源
2002wmj
centos
CentOS 6.X 安装使用EPEL YUM源1. 查看操作系统版本[root@node1 ~]# uname -a Linux node1.test.com 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@node1 ~]#
- 在SQLSERVER中查找缺失和无用的索引SQL
357029540
SQL Server
--缺失的索引
SELECT avg_total_user_cost * avg_user_impact * ( user_scans + user_seeks ) AS PossibleImprovement ,
last_user_seek ,
 
- Spring3 MVC 笔记(二) —json+rest优化
7454103
Spring3 MVC
接上次的 spring mvc 注解的一些详细信息!
其实也是一些个人的学习笔记 呵呵!
- 替换“\”的时候报错Unexpected internal error near index 1 \ ^
adminjun
java“\替换”
发现还是有些东西没有刻子脑子里,,过段时间就没什么概念了,所以贴出来...以免再忘...
在拆分字符串时遇到通过 \ 来拆分,可是用所以想通过转义 \\ 来拆分的时候会报异常
public class Main {
/*
- POJ 1035 Spell checker(哈希表)
aijuans
暴力求解--哈希表
/*
题意:输入字典,然后输入单词,判断字典中是否出现过该单词,或者是否进行删除、添加、替换操作,如果是,则输出对应的字典中的单词
要求按照输入时候的排名输出
题解:建立两个哈希表。一个存储字典和输入字典中单词的排名,一个进行最后输出的判重
*/
#include <iostream>
//#define
using namespace std;
const int HASH =
- 通过原型实现javascript Array的去重、最大值和最小值
ayaoxinchao
JavaScriptarrayprototype
用原型函数(prototype)可以定义一些很方便的自定义函数,实现各种自定义功能。本次主要是实现了Array的去重、获取最大值和最小值。
实现代码如下:
<script type="text/javascript">
Array.prototype.unique = function() {
var a = {};
var le
- UIWebView实现https双向认证请求
bewithme
UIWebViewhttpsObjective-C
什么是HTTPS双向认证我已在先前的博文 ASIHTTPRequest实现https双向认证请求
中有讲述,不理解的读者可以先复习一下。本文是用UIWebView来实现对需要客户端证书验证的服务请求,网上有些文章中有涉及到此内容,但都只言片语,没有讲完全,更没有完整的代码,让人困扰不已。但是此知
- NoSQL数据库之Redis数据库管理(Redis高级应用之事务处理、持久化操作、pub_sub、虚拟内存)
bijian1013
redis数据库NoSQL
3.事务处理
Redis对事务的支持目前不比较简单。Redis只能保证一个client发起的事务中的命令可以连续的执行,而中间不会插入其他client的命令。当一个client在一个连接中发出multi命令时,这个连接会进入一个事务上下文,该连接后续的命令不会立即执行,而是先放到一个队列中,当执行exec命令时,redis会顺序的执行队列中
- 各数据库分页sql备忘
bingyingao
oraclesql分页
ORACLE
下面这个效率很低
SELECT * FROM ( SELECT A.*, ROWNUM RN FROM (SELECT * FROM IPAY_RCD_FS_RETURN order by id desc) A ) WHERE RN <20;
下面这个效率很高
SELECT A.*, ROWNUM RN FROM (SELECT * FROM IPAY_RCD_
- 【Scala七】Scala核心一:函数
bit1129
scala
1. 如果函数体只有一行代码,则可以不用写{},比如
def print(x: Int) = println(x)
一行上的多条语句用分号隔开,则只有第一句属于方法体,例如
def printWithValue(x: Int) : String= println(x); "ABC"
上面的代码报错,因为,printWithValue的方法
- 了解GHC的factorial编译过程
bookjovi
haskell
GHC相对其他主流语言的编译器或解释器还是比较复杂的,一部分原因是haskell本身的设计就不易于实现compiler,如lazy特性,static typed,类型推导等。
关于GHC的内部实现有篇文章说的挺好,这里,文中在RTS一节中详细说了haskell的concurrent实现,里面提到了green thread,如果熟悉Go语言的话就会发现,ghc的concurrent实现和Go有点类
- Java-Collections Framework学习与总结-LinkedHashMap
BrokenDreams
LinkedHashMap
前面总结了java.util.HashMap,了解了其内部由散列表实现,每个桶内是一个单向链表。那有没有双向链表的实现呢?双向链表的实现会具备什么特性呢?来看一下HashMap的一个子类——java.util.LinkedHashMap。
- 读《研磨设计模式》-代码笔记-抽象工厂模式-Abstract Factory
bylijinnan
abstract
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
package design.pattern;
/*
* Abstract Factory Pattern
* 抽象工厂模式的目的是:
* 通过在抽象工厂里面定义一组产品接口,方便地切换“产品簇”
* 这些接口是相关或者相依赖的
- 压暗面部高光
cherishLC
PS
方法一、压暗高光&重新着色
当皮肤很油又使用闪光灯时,很容易在面部形成高光区域。
下面讲一下我今天处理高光区域的心得:
皮肤可以分为纹理和色彩两个属性。其中纹理主要由亮度通道(Lab模式的L通道)决定,色彩则由a、b通道确定。
处理思路为在保持高光区域纹理的情况下,对高光区域着色。具体步骤为:降低高光区域的整体的亮度,再进行着色。
如果想简化步骤,可以只进行着色(参看下面的步骤1
- Java VisualVM监控远程JVM
crabdave
visualvm
Java VisualVM监控远程JVM
JDK1.6开始自带的VisualVM就是不错的监控工具.
这个工具就在JAVA_HOME\bin\目录下的jvisualvm.exe, 双击这个文件就能看到界面
通过JMX连接远程机器, 需要经过下面的配置:
1. 修改远程机器JDK配置文件 (我这里远程机器是linux).
 
- Saiku去掉登录模块
daizj
saiku登录olapBI
1、修改applicationContext-saiku-webapp.xml
<security:intercept-url pattern="/rest/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<security:intercept-url pattern=&qu
- 浅析 Flex中的Focus
dsjt
htmlFlexFlash
关键字:focus、 setFocus、 IFocusManager、KeyboardEvent
焦点、设置焦点、获得焦点、键盘事件
一、无焦点的困扰——组件监听不到键盘事件
原因:只有获得焦点的组件(确切说是InteractiveObject)才能监听到键盘事件的目标阶段;键盘事件(flash.events.KeyboardEvent)参与冒泡阶段,所以焦点组件的父项(以及它爸
- Yii全局函数使用
dcj3sjt126com
yii
由于YII致力于完美的整合第三方库,它并没有定义任何全局函数。yii中的每一个应用都需要全类别和对象范围。例如,Yii::app()->user;Yii::app()->params['name'];等等。我们可以自行设定全局函数,使得代码看起来更加简洁易用。(原文地址)
我们可以保存在globals.php在protected目录下。然后,在入口脚本index.php的,我们包括在
- 设计模式之单例模式二(解决无序写入的问题)
come_for_dream
单例模式volatile乱序执行双重检验锁
在上篇文章中我们使用了双重检验锁的方式避免懒汉式单例模式下由于多线程造成的实例被多次创建的问题,但是因为由于JVM为了使得处理器内部的运算单元能充分利用,处理器可能会对输入代码进行乱序执行(Out Of Order Execute)优化,处理器会在计算之后将乱序执行的结果进行重组,保证该
- 程序员从初级到高级的蜕变
gcq511120594
框架工作PHPandroidhtml5
软件开发是一个奇怪的行业,市场远远供不应求。这是一个已经存在多年的问题,而且随着时间的流逝,愈演愈烈。
我们严重缺乏能够满足需求的人才。这个行业相当年轻。大多数软件项目是失败的。几乎所有的项目都会超出预算。我们解决问题的最佳指导方针可以归结为——“用一些通用方法去解决问题,当然这些方法常常不管用,于是,唯一能做的就是不断地尝试,逐个看看是否奏效”。
现在我们把淫浸代码时间超过3年的开发人员称为
- Reverse Linked List
hcx2013
list
Reverse a singly linked list.
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
*/
p
- Spring4.1新特性——数据库集成测试
jinnianshilongnian
spring 4.1
目录
Spring4.1新特性——综述
Spring4.1新特性——Spring核心部分及其他
Spring4.1新特性——Spring缓存框架增强
Spring4.1新特性——异步调用和事件机制的异常处理
Spring4.1新特性——数据库集成测试脚本初始化
Spring4.1新特性——Spring MVC增强
Spring4.1新特性——页面自动化测试框架Spring MVC T
- C# Ajax上传图片同时生成微缩图(附Demo)
liyonghui160com
1.Ajax无刷新上传图片,详情请阅我的这篇文章。(jquery + c# ashx)
2.C#位图处理 System.Drawing。
3.最新demo支持IE7,IE8,Fir
- Java list三种遍历方法性能比较
pda158
java
从c/c++语言转向java开发,学习java语言list遍历的三种方法,顺便测试各种遍历方法的性能,测试方法为在ArrayList中插入1千万条记录,然后遍历ArrayList,发现了一个奇怪的现象,测试代码例如以下:
package com.hisense.tiger.list;
import java.util.ArrayList;
import java.util.Iterator;
- 300个涵盖IT各方面的免费资源(上)——商业与市场篇
shoothao
seo商业与市场IT资源免费资源
A.网站模板+logo+服务器主机+发票生成
HTML5 UP:响应式的HTML5和CSS3网站模板。
Bootswatch:免费的Bootstrap主题。
Templated:收集了845个免费的CSS和HTML5网站模板。
Wordpress.org|Wordpress.com:可免费创建你的新网站。
Strikingly:关注领域中免费无限的移动优
- localStorage、sessionStorage
uule
localStorage
W3School 例子
HTML5 提供了两种在客户端存储数据的新方法:
localStorage - 没有时间限制的数据存储
sessionStorage - 针对一个 session 的数据存储
之前,这些都是由 cookie 完成的。但是 cookie 不适合大量数据的存储,因为它们由每个对服务器的请求来传递,这使得 cookie 速度很慢而且效率也不