简体   繁体   English

如何从 Progress OpenEdge 数据库服务器导出数据

[英]How to export the data from Progress OpenEdge Database Server

We are working on a migration of a system, currently they use Progress OpenEdge, and we need to export the data from the production database to carry out tests and know how to do it in the best way when the migration is carried out.我们正在做一个系统的迁移,目前他们使用 Progress OpenEdge,我们需要从生产数据库中导出数据来进行测试,并且知道如何在迁移时以最佳方式进行。 We have investigated that with Data Administration Tool it is possible, but we have doubts, what is the best way to export the data?我们已经调查过使用数据管理工具是可能的,但我们有疑问,导出数据的最佳方式是什么? Can we export the data from the server in production without stopping it?我们可以在不停止生产的情况下从服务器导出数据吗? Can the information be exported from a backup?可以从备份中导出信息吗?

Any help is appreciated in advance Thank you.提前感谢任何帮助谢谢。

No, you cannot export data directly from a backup.不可以,您不能直接从备份中导出数据。 The only thing that you can do with a backup is to restore it.备份唯一能做的就是恢复它。

Yes, you can export from a live production db (or a restored backup).是的,您可以从实时生产数据库(或恢复的备份)导出。

Exporting from a shutdown or quiescent database is usually preferred because it gives you a well defined point in time for consistency.从关闭或静止的数据库中导出通常是首选,因为它为您提供了一个明确定义的时间点以保持一致性。

Exporting for migration purposes probably also involves transformation of the data.出于迁移目的而导出可能还涉及数据的转换。 Unless the new system is an exact replica of the old there are probably some fairly significant data conversions required.除非新系统是旧系统的精确复制品,否则可能需要进行一些相当重要的数据转换。 Those could be done in various ways.这些可以通过各种方式完成。 “Best” will depend on your unstated requirements. “最佳”将取决于您未说明的要求。 There is also probably a lot of data that you do not need to migrate.可能还有很多数据不需要迁移。

A few factors that you might want to consider when thinking about migrating the data:在考虑迁移数据时可能需要考虑的几个因素:

  • Do you understand the business problem?你了解业务问题吗? Or are you "just" technical help hired to move bits from point A to point B?还是您“只是”受雇将位从 A 点移动到 B 点的技术帮助?
  • What is your level of understanding of the source data model?您对源数据 model 的理解程度如何?
  • How about the target?目标呢? How well do you understand that?你对此了解多少?
  • Do you have access to OpenEdge compiler licenses?您是否有权访问 OpenEdge 编译器许可证? If you do not then you cannot filter and/or transform the data at the source.如果不这样做,则无法从源头过滤和/或转换数据。 At best you can just dump whole tables.充其量你可以转储整张桌子。
  • Has SQL access been setup for the source database?是否为源数据库设置了 SQL 访问权限? If it has then you might prefer to use some sort of ODBC based tooling to extract the data.如果有,那么您可能更喜欢使用某种基于 ODBC 的工具来提取数据。

You will have to decide what extract method is “best” or not depending on your capabilities and the requirements of the situation.您必须根据您的能力和情况的要求来决定哪种提取方法是“最好的”。 There is no one-size fits all answer for "best".对于“最佳”,没有一刀切的答案。

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

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