简体   繁体   English

在amazon rds中启用批量管理员权限?

[英]Enabling bulk admin privilege in amazon rds?

I wanted to setup an RDS instance store data for reporting. 我想设置一个RDS实例存储数据用于报告。 I have scrips that run different rest calls against certain sites that require bulk admin privilege on the back end because they dump their rest call data into a csv and then do a bulk csv insert into Sql Server SE. 我有些针对某些需要后端批量管理员权限的站点运行不同的休息调用,因为他们将其余的调用数据转储到csv中,然后将大量csv插入到Sql Server SE中。 In my local environment setting up a user for my scripts to use with bulk admin privileges was easy. 在我的本地环境中,为我的脚本设置用户以使用批量管理员权限很容易。 However, I couldn't seem to figure out how to do it in RDS. 但是,我似乎无法弄清楚如何在RDS中这样做。 I opened a ticket with Amazon and they suggested writing a policy for it. 我和亚马逊开了一张票,他们建议为它写一份政策。 So I figured I would ask here if this is possible and possible alternatives? 所以我想我会问这里是否有可能和可能的替代方案? If bulk/system admin privileges are out of the question in RDS I guess I will just have to use an AWS EC2 instance with Sql Server set up on it. 如果RDS中的批量/系统管理员权限是不可能的,我想我将只需要使用在其上设置Sql Server的AWS EC2实例。

Bulk insert is not possible with RDS. RDS无法进行批量插入。 The data_file parameter of the BULK INSERT command must refer to a file accessible by the machine running SQL Server. BULK INSERT命令的data_file参数必须引用运行SQL Server的计算机可访问的文件。

Also, RDS does not support the bulkadmin server role. 此外,RDS不支持bulkadmin服务器角色。

Supported SQL Server Roles and Permissions 支持的SQL Server角色和权限

Importing and Exporting SQL Server Data 导入和导出SQL Server数据

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM