码迷,mamicode.com
首页 > 数据库
mysql的单向复制
mysql单向复制为了提高主从服务器的健壮性,我们选择了mysql单向复制的方法,当主服务器宕机时,从服务器依旧可以接管,并且保持数据的相对完整性,而从服务器备份的时候不会干扰到主服务器的工作,可以说是一个强大的功能。原理:将主服务器内数据更新封装为二进制文件的形式..
分类:数据库   时间:2016-12-25 21:21:18    阅读次数:281
将Mssql迁移至Mysql的几种方法
1、自己写程序,本种方法相对麻烦,但处理起来相对灵活,如果需要对转换的数据进行处理,用本种方法比较合适,此方法不适合进行大数据迁移,不仅效率低,而且需要的内存比较大; 2、通过BCP导出txt或者csv格式的,然后在Mysql端导入;这种方式一次只能处理一个表,不过可以写成批处理,本方法可能会遇到编 ...
分类:数据库   时间:2016-12-25 21:11:09    阅读次数:189
数据库主键
在我们的数据库设计中,不可逃避的就是数据库表的主键,可能有很多朋友没有深入思考过,主键的设计对整个数据库的设计影响很大,因此我们不得不要重视起来。 主键的必要性 : 在有些数据库中,虽然主键不是必需的,但最好为每个表都设置一个主键,不管是单主键还是复合主键。它存在代表着表结构的完整性,表的记录必须得 ...
分类:数据库   时间:2016-12-25 21:08:48    阅读次数:301
DISPLAY_ITEM built-in in Oracle D2k Forms
DISPLAY_ITEM built-in in Oracle D2k FormsDescriptionMaintained for backward compatibility only. For new applications, you should use theSET_ITEM_INSTA... ...
分类:数据库   时间:2016-12-25 21:06:35    阅读次数:226
Find Current Job Openings For Oracle Forms & Reports
Oracle Form & Reports developer jobs are always in demand, candidates who have Oracle D2k, Oracle Forms & Reports, PLSQL set of skills can find the jo... ...
分类:数据库   时间:2016-12-25 21:06:43    阅读次数:284
Reading Csv Files with Text_io in Oracle D2k Forms
Below is the example to read and import comma delimited csv file in oracle forms with D2k_Delimited_String package. This package is available in D2kdl... ...
分类:数据库   时间:2016-12-25 21:06:26    阅读次数:192
Using Post_Query Trigger in Oracle Forms
When a query is open in the block, the Post-Query trigger fires each time Form Builder fetches a record into a block. The trigger fires once for each ... ...
分类:数据库   时间:2016-12-25 21:02:28    阅读次数:440
Writing Text File From A Tabular Block In Oracle Forms
The example given below for writing text file or CSV using Text_IO package from a tabular block in Oracle Forms. Suppose there is a tabular grid data ... ...
分类:数据库   时间:2016-12-25 21:00:01    阅读次数:233
Pre-Query trigger in Oracle D2k / Oracle Forms
Pre-Query trigger in Oracle D2k / Oracle Forms DescriptionFires during Execute Query or Count Query processing, just before Form Builder constructs an... ...
分类:数据库   时间:2016-12-25 20:57:26    阅读次数:362
Using Text_IO To Read Files in Oracle D2k
Suppose you want to read a file from D2k client and want to store its content in Oracle database. But if you will insert row by row from client to ser... ...
分类:数据库   时间:2016-12-25 20:59:57    阅读次数:296
postgreSqL的序列sequence
PostgreSQL uses sequences to generate values for serial columns and serial columns are generally what is used for "auto-incrementing" columns in Postg ...
分类:数据库   时间:2016-12-25 20:56:51    阅读次数:159
MySQL的insert语句的区别
SQL Server: MySQL: 很显然在MySQL中,插入表数据时一定要加列名。 ...
分类:数据库   时间:2016-12-25 20:54:57    阅读次数:169
“psql: could not connect to server: Connection refused” Error when connecting to remote database
问题: I am trying to connect to a postgres database installed in a remote server using the following command: psql -h host_ip -U db_username -d db_name ...
分类:数据库   时间:2016-12-25 20:50:47    阅读次数:425
Pre-Update and Pre-Insert Trigger Examples For Oracle Forms
See also: Why And When To Use Pre-Update and Pre-Insert Triggers In Oracle FormsPre-Update Fires during the Post and Commit Transactions process, befo... ...
分类:数据库   时间:2016-12-25 20:48:12    阅读次数:354
Populating Display Item Value On Query In Oracle Forms
Write Post-Query trigger for the block you want to fetch the field value for display item.ExampleBegin Select Ename into :datablock.dspname from emp w... ...
分类:数据库   时间:2016-12-25 20:44:02    阅读次数:217
mysql 多源复制
mysql5.7新特性多源复制很实用,方便对分库环境进行汇总,集中备份和数据统计分析。我的实验环境3台机器,mysql版本:5.7.1610.10.203.102从库10.10.203.93主库10.10.203.94主库操作步骤:(1)当一个从库是多源复制结构,那么master_info和relay_log_info不能用file方式来存储,..
分类:数据库   时间:2016-12-25 19:00:34    阅读次数:251
搭建FTP-----实现基于mysql验证的虚拟用户
前言:在上一篇博客中,我们已经实现了基于文件认证的ftp服务,不过此方法也存在不少问题,比如过用户数据不好管理呀,以明文存储不安全呀。不能把用户数据单独存放在其他服务器呀等等。所以此次我们把用户数据放在mysql中,然后通过pam模块去mysql中找用户数据来实现认证。主..
分类:数据库   时间:2016-12-25 19:00:34    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!