The adventure of data distribution in the last century - La aventura de la distribución de datos en el siglo pasado

avatar
(Edited)

Fuente

Wow! It is still hard to think that I have been working on systems since the last quarter of the last century. If it seems like yesterday I would say, my grandmother.

But the truth is true and back in 1997 I was hired by a company dedicated to oil exploration and exploitation of national capital, of course, it was a small company compared to the world oil giants, but it had a lot of activity in the country with a deposit moderately productive in the north of the province of Neuquén and was beginning to develop another in the north of the province of Río Negro.

As in the Triassic

My job would be to develop a system that would enable the administrative and accounting management of good drilling and also of what was called completion, which was not just finishing the work, but rather maintaining the well so that it would continue to be productive if there were lucky to find it, of course.

Practically all the wells in the Neuquén field were in production, so the most used system in that place was the so-called completion system, on the other hand, the new field plus exploratory wells that were drilled in certain places in those two provinces and also much more to the south, almost at the end of the country, they would mostly use the other system, the drilling system.

Sending data

The main drawback was not the local handling of the data although they had to put a drilling engineer on me so that I could understand the terminology and some of the tasks that I had to account for, the calculation of materials, the cost, and the inventory.

As I said, although these were not tasks that I knew in the same way as in banking or insurance systems, I was able to adapt quickly and build the system without major inconveniences. Although it was the last century, there were already development tools for Windows and SQL databases.

Fuente

The biggest challenge arose on the issue of data distribution, a well could be very close to one of the collection centers, such as those close to one of the two deposits, but it could also be hundreds or thousands of kilometers away. . As if this were not enough, the central offices were in Buenos Aires (when not) and both Neuquén and Río Negro were more than 1,000 km away. away, not to mention Río Grande or Ushuaia, which were 3,000 km away.

Who knows that DB

The selected database was Sybase, which although now it does not mean much to most of those who started working on systems in this century, at that time it was one of the most important and recommended, to the point that SQL Server, the database of data of Microsoft began its life from release 5 of Sybase, as usual, the company of the small windows, if there is a good product out there and it is not yours, you buy it. To be fair, he did not buy the company, but only acquired the rights to the code of that version and from there the designated team began a slow separation in the operating characteristics, a few years later it was difficult to recognize any functionality of the old Sybase in SQL Server.

By mail or by FTP

Going back to the topic of data distribution, Sybase already had a distributed database mechanism that could be used in two ways, send the information to a hub by packaging the changes and sending them inside emails or by putting them in plain text files that traveled via FTP. There had to be communication, although the nodes did not necessarily have to be permanently connected, each database could accumulate the information until communication was established and there send and receive the data packets and the synchronization confirmation.

Communicate by any existing method

The forms of communication were also varied and depended on the resources of the area where the wells were located, so much so that in nearby places coaxial cable or UTP5 was used, in some further away cell phones with G1 connectivity or with luck G2) yes there was a signal and adequate equipment or VSAT antennas that in those days had a transmission speed that if you paid attention you could count the bytes as they passed.

The truth is that, although with many problems were solved over time, the system worked, I couldn't believe it myself, my work team was made up of 2 people, myself and a programmer.

Paisa

The people of the company voted for the name of the system, they put it "Paisa" (for countryman) since they affectionately called each other that way.

End of story

The story did not last long, just two years after its start-up, the national oil company was acquired by one of the American giants and they had their good drilling and completion system, it was the end of "Paisa" although I had an unexpected compensation, they rehired me to migrate the data to their system, which was a very ugly DOS-based thing with green screens and at most little bars and asterisks as the only graphical components versus my beautiful color graphics, buttons, dropdowns, and PDF reports. They didn't care, their system was vastly superior in performance, even if it was ugly.

In the process of converting and dumping the data, I found out that the systems management of that company was made up of more than 200 people.



separadorleo.png


Guau! Todavía cuesta pensar en que vengo trabajando en sistemas desde el último cuarto del siglo pasado. Si parece que fue ayer, diría mi abuela.

Pero lo cierto es cierto y allá por el año 1997 me contrató una empresa dedicada a la exploración y explotación petrolera de capitales nacionales, por supuesto era una empresa pequeña comparada con los gigantes mundiales del petróleo, pero tenía bastante actividad en el país con un yacimiento medianamente productivo en el norte de la provincia de Neuquén y comenzaba a desarrollar otra en el norte de la provincia de Río Negro.

Como en el triásico

Mi trabajo consistiría en desarrollar un sistema que posibilitara el manejo administrativo y contable de la perforación de pozos y también de lo que se daba en llamar terminación que no era justamente terminar con el trabajo sino más bien mantener el pozo para que continuara siendo productivo si había tenido la suerte de encontrarlo, por supuesto.

Prácticamente todos los pozos del yacimiento de Neuquén estaban en producción así que el sistema más utilizado en ese lugar era el llamado de terminación, por otra parte, el nuevo yacimiento más pozos exploratorios que se perforaban en determinados lugares de esas dos provincias y también mucho más al sur, casi en el extremo del país utilizarían mayoritariamente el otro sistema, el de perforación.

Envío de Datos

El principal inconveniente no era el manejo local de los datos aunque tuvieron que ponerme un ingeniero de perforación para que pudiera comprender la terminología y algunas de las tareas que debía contabilizar, el cálculo de materiales, el costo y el inventario.

Como decía, si bien no eran tareas que yo conociera del mismo modo que en los sistemas bancarios o de seguros, pude amoldarme rápidamente y construir el sistema sin mayores inconvenientes. Aunque era el siglo pasado ya existían herramientas de desarrollo para Windows y bases de datos SQL.

El mayor desafío se presentó en el tema de la distribución de los datos, un pozo podía estar muy cerca de uno de los centros de recolección como por ejemplo los cercanos a alguno de los dos yacimientos, pero también podía estar a cientos o miles de kilómetros. Como si esto fuera poco, las oficinas centrales estaban en Buenos Aires (cuando no) y tanto Neuquén como Río Negro estaban a más de 1.000 km. de distancia, ni que hablar de Río Grande o Ushuaia que estaban a 3.000 km.

Quien conoce esa DB

La base de datos seleccionada era Sybase, que si bien ahora no significa mucho para la mayoría de los que comenzaron a trabajar en sistemas en este siglo, en aquel momento era de las más importantes y recomendadas, a tal punto que SQL Server, la base de datos de Microsoft comenzó su vida a partir del release 5 de Sybase, como acostumbra la empresa de las ventanitas, si hay algún buen producto por allí y no es suyo, lo compra. Para ser justos no compró la empresa, sino que solo le adquirió los derechos sobre el código de esa versión y a partir de allí el equipo designado comenzó una lenta separación en las características de funcionamiento, unos años después costaba reconocer alguna funcionalidad de la vieja Sybase en SQL Server.

Por correo o por FTP

Volviendo al tema de la distribución de datos, Sybase ya tenía un mecanismo de base de datos distribuida que podía utilizarse de dos maneras, enviar la información a un concentrador empaquetando los cambios y enviándolos dentro de correos electrónico o colocándolos en archivos de texto plano que viajaban vía FTP. Obviamente debía haber comunicación, aunque no necesariamente los nodos debían estar conectados permanentemente, cada base de datos podía acumular la información hasta que se estableciera la comunicación y allí enviar y recibir los paquetes de datos y la confirmación de la sincronización.

Las formas de comunicación también eran variadas y dependían de los recursos de la zona donde se encontraran los pozos, tal es así que en lugares cercanos se utilizaba coaxil o UTP5, en algunos más alejados teléfonos celulares con conectividad G1 o con suerte G2) si había señal y equipos adecuados o antenas VSAT que por aquellos tiempos tenían una velocidad de trasmisión que si uno prestaba atención podía ir contando los bytes a medida que pasaban.

Lo cierto es que, aunque con muchos problemas que se fueron solucionando con el paso de tiempo, el sistema funcionaba, ni yo mismo lo podía creer, mi equipo de trabajo estaba compuesto por 2 personas, yo mismo y un programador.

Paisa

La gente de la compañía votó el nombre del sistema, le pusieron “Paisa” (por paisano) ya que entre ellos se llamaban cariñosamente de esa manera.

Fin de la historia

La historia no duró mucho, apenas transcurridos dos años de su puesta en marcha, la petrolera nacional fue adquirida por uno de los gigantes americanos y ellos tenían su propio sistema de perforación y terminación de pozos, fue el fin de “Paisa” aunque tuve una compensación inesperada, me volvieron a contratar para migrar los datos a su propio sistema, que era algo muy feo, basado en DOS con pantallas verdes y a lo sumo barritas y asteriscos como únicos componentes gráficos versus mis hermosos gráficos a colores, botones, ventanas desplegables y reportes en PDF. No les importó, su sistema era enormemente superior en prestaciones, aunque fuera feo.

En el proceso de conversión y volcado de los datos me enteré que la gerencia de sistemas de esa compañía estaba compuesto por más 200 personas.





Las fotografías son de mi propiedad excepto las que menciono la fuente.
The photographs are my property except those mentioned by the source.

Héctor Gugliermo
@hosgug





0
0
0.000
1 comments